Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [yogi] Attachment Plugin

Quote Reply
Re: [yogi] Attachment Plugin In reply to
I have just uploaded a new version of the Attachment plugin (version 1.1.1).

The plugin now allows you to add custom fields to the Attachment tables, e.g. a more detailed description or whatever your heart desires.

When you add a field, you have to add the field to two tables, namely to TempAttachment and to LinkAttachment. You have to obey the following naming conventions: call the field in the TempAttachment table 'tempatt_xxxxx', where 'xxxxx' is your choice. Then, in the LinkAttachment table, you have to call the field 'linkatt_xxxxx', with 'xxxxx' the same as in the TempAttachment table.

You can then add a new input field in the "include_attachment_form.html" template. The name of the input field should be 'xxxxx', i.e. as above.

Note: the custum fields will not show up in the admin area yet. I have to rewrite some of the admin code for more flexibility (too many things are hardcoded at the moment). I'll keep you informed.

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Subject Author Views Date
Thread Attachment Plugin yogi 21026 Oct 10, 2002, 1:37 AM
Thread Re: [yogi] Attachment Plugin
ryel01 20356 Oct 14, 2002, 1:07 AM
Thread Re: [ryel01] Attachment Plugin
yogi 20288 Oct 14, 2002, 1:10 AM
Thread Re: [yogi] Attachment Plugin
AuctionGuy 20261 Oct 18, 2002, 9:18 PM
Thread Re: [AuctionGuy] Attachment Plugin
yogi 20347 Oct 20, 2002, 1:56 AM
Thread Re: [yogi] Attachment Plugin
AuctionGuy 20193 Oct 20, 2002, 11:25 AM
Post Re: [AuctionGuy] Attachment Plugin
yogi 20071 Oct 20, 2002, 11:36 PM
Post Re: [AuctionGuy] Attachment Plugin
yogi 19970 Oct 30, 2002, 2:32 AM
Thread Re: [AuctionGuy] Attachment Plugin
gatman 19655 Jan 31, 2003, 6:03 AM
Thread Re: [gatman] Attachment Plugin
estjohn 19717 Jan 31, 2003, 8:37 PM
Post Re: [estjohn] Attachment Plugin
estjohn 19675 Feb 2, 2003, 11:47 PM
Thread Re: [gatman] Attachment Plugin
yogi 19721 Feb 3, 2003, 1:01 AM
Thread Re: [yogi] Attachment Plugin
gatman 19558 Feb 3, 2003, 8:04 AM
Thread Re: [gatman] Attachment Plugin
yogi 19681 Feb 3, 2003, 8:34 AM
Thread Re: [yogi] Attachment Plugin
Evoir 19593 Feb 14, 2003, 12:52 PM
Thread Re: [Evoir] Attachment Plugin
yogi 19580 Feb 14, 2003, 12:56 PM
Thread Re: [yogi] Attachment Plugin
Evoir 14057 Feb 14, 2003, 1:03 PM
Thread Re: [Evoir] Attachment Plugin
yogi 14174 Feb 14, 2003, 1:05 PM
Post Re: [yogi] Attachment Plugin
Evoir 13983 Feb 18, 2003, 1:44 PM
Post Re: [yogi] Attachment Plugin
Evoir 14022 Feb 18, 2003, 1:52 PM
Post Re: [yogi] Attachment Plugin
Evoir 13983 Feb 18, 2003, 2:14 PM
Thread Re: [yogi] Attachment Plugin
Evoir 14034 Feb 26, 2003, 11:32 PM
Thread Re: [Evoir] Attachment Plugin
yogi 14156 Feb 27, 2003, 12:44 AM
Thread Re: [yogi] Attachment Plugin
Evoir 13972 Feb 27, 2003, 9:55 AM
Thread Re: [Evoir] Attachment Plugin
yogi 14046 Feb 27, 2003, 10:21 AM
Post Re: [yogi] Attachment Plugin
Evoir 13946 Feb 27, 2003, 10:55 AM
Post Re: [yogi] Attachment Plugin
Evoir 13867 Apr 16, 2003, 4:51 PM
Post Re: [yogi] Attachment Plugin
Evoir 13826 Apr 24, 2003, 12:56 AM
Thread Re: [ryel01] Attachment Plugin
yogi 20153 Oct 30, 2002, 6:58 AM
Thread Re: [yogi] Attachment Plugin
Mark2 20085 Oct 30, 2002, 9:32 AM
Thread Re: [Mark2] Attachment Plugin
yogi 20056 Oct 30, 2002, 12:12 PM
Thread Re: [yogi] Attachment Plugin
yogi 20008 Nov 6, 2002, 5:55 AM
Thread Re: [yogi] Attachment Plugin
BLOOD 19833 Jan 21, 2003, 9:44 AM
Thread Re: [BLOOD] Attachment Plugin
yogi 19900 Jan 21, 2003, 2:19 PM
Thread Re: [yogi] Attachment Plugin
SSmeredith 19752 Jan 25, 2003, 10:25 AM
Thread Re: [SSmeredith] Attachment Plugin
yogi 19817 Jan 25, 2003, 1:29 PM
Post Re: [yogi] Attachment Plugin
SSmeredith 19730 Jan 27, 2003, 4:50 PM
Thread Re: [yogi] Attachment Plugin
sangiro 13929 Apr 3, 2003, 10:18 PM
Thread Re: [sangiro] Attachment Plugin
yogi 13943 Apr 3, 2003, 11:43 PM
Post Re: [yogi] Attachment Plugin
sangiro 13904 Apr 4, 2003, 5:56 PM
Thread Re: [yogi] Attachment Plugin
Franco 13566 Aug 23, 2003, 9:18 AM
Thread Re: [Franco] Attachment Plugin
yogi 13640 Sep 7, 2003, 12:14 AM
Thread Re: [yogi] Attachment Plugin
romanslon 13700 Sep 15, 2003, 7:21 AM
Thread Re: [romanslon] Attachment Plugin
SandraR 13531 Jul 27, 2004, 5:43 PM
Thread Re: [SandraR] Attachment Plugin
SandraR 13493 Jul 29, 2004, 12:54 PM
Post Re: [SandraR] Attachment Plugin
pugdog 9829 Aug 2, 2004, 9:00 AM
Thread Re: [sangiro] Attachment Plugin
Clint 13741 May 4, 2003, 11:57 PM
Thread Re: [Clint] Attachment Plugin
SSmeredith 13762 Jun 12, 2003, 12:40 PM
Post Re: [SSmeredith] Attachment Plugin
Clint 13696 Jun 13, 2003, 1:59 AM
Post Re: [yogi] Attachment Plugin
hannahmackenzie 13887 Apr 15, 2003, 9:31 AM
Post Re: [yogi] Attachment Plugin
Clint 13802 Apr 25, 2003, 9:48 PM
Thread Re: [yogi] Attachment Plugin
mick31 9885 Jan 10, 2005, 12:45 AM
Thread Re: [mick31] Attachment Plugin
SandraR 9758 Jun 8, 2005, 7:19 PM
Thread Re: [SandraR] Attachment Plugin
SandraR 9638 Feb 14, 2006, 2:19 PM
Thread Re: [SandraR] Attachment Plugin
pugdog 9623 Feb 17, 2006, 12:42 AM
Post Re: [pugdog] Attachment Plugin
mick31 9567 Feb 17, 2006, 2:47 AM
Thread Re: [pugdog] Attachment Plugin
SandraR 9668 Feb 17, 2006, 12:42 PM
Thread Re: [SandraR] Attachment Plugin
pugdog 9576 Feb 19, 2006, 8:33 PM
Post Re: [pugdog] Attachment Plugin
SandraR 9530 Feb 20, 2006, 8:13 AM
Thread Re: [SandraR] Attachment Plugin
Evoir 9449 Jul 6, 2006, 5:24 PM
Thread Re: [Evoir] Attachment Plugin
SandraR 9465 Jul 6, 2006, 6:14 PM
Thread Re: [SandraR] Attachment Plugin
Evoir 9451 Jul 6, 2006, 8:23 PM
Thread Re: [Evoir] Attachment Plugin
SandraR 9464 Jul 6, 2006, 8:33 PM
Post Re: [SandraR] Attachment Plugin
SandraR 9358 Jul 6, 2006, 8:46 PM
Post Re: [yogi] Attachment Plugin
MJ_ 9287 Apr 26, 2007, 2:37 AM