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

Re: [SWDevil.Com] Help Urgent

Quote Reply
Re: [SWDevil.Com] Help Urgent In reply to
In short, yes.

Since version 1, the links template parser and other config modules, have been using cascaded inheretance (for lack of a better term).

The earliest version was if you added in a category footer/header those footers/headers would be used on that category, and any category below them.

This was expanded to include all fields (if I'm not mistaken), so that category specific data could be passed down and inhereted. This included meta tags, and all the other stuff. This portion of links has changed greatly through the various versions from 1.x to 2.x

Also, the templates use a .tplinfo file to point to where the parser should look if it can't find the requested file. So, in the local directory, the .tplinfo file would be:

{
inheritance => '../default'
}

This is a bit different, in that you can explicitly force the templates to load from a different area if you need to, or expand the search path to include files in other areas. I'm not sure if the field can be more than one other directory, but sometimes that is enough to do what you want, if you want to do fancy things.

Back to the issue:

So, if you create a field "banner code" every sub category would inheret the banner code from the category above, unless a banner code was specifically set in that subcategory.

If you create a Show_Title, the "Show_Title" will appear in all pages below the category that has it.

At least that is how it _should_ work ;)


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread Help Urgent churik 3924 Dec 2, 2004, 10:15 AM
Thread Re: [churik] Help Urgent
VishalT 3866 Dec 2, 2004, 4:28 PM
Thread Re: [NeedScripts.Com] Help Urgent
churik 3850 Dec 2, 2004, 9:52 PM
Thread Re: [churik] Help Urgent
Andy 3868 Dec 2, 2004, 11:37 PM
Thread Re: [Andy] Help Urgent
churik 3845 Dec 3, 2004, 9:21 AM
Thread Re: [churik] Help Urgent
churik 3833 Dec 8, 2004, 12:14 PM
Thread Re: [churik] Help Urgent
pugdog 3829 Dec 8, 2004, 3:51 PM
Thread Re: [pugdog] Help Urgent
VishalT 3803 Dec 9, 2004, 10:44 AM
Post Re: [SWDevil.Com] Help Urgent
pugdog 3788 Dec 9, 2004, 11:12 AM