Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Multiple Category Templates

Quote Reply
Multiple Category Templates
Hi,

I read in an earlier post Alex wrote:
In Reply To:
This will be included in the next release due out today or tommorrow. Basically you can have a field called CustomTemplate in the Category table, and if it is there, then it will use the CustomTemplate specified. It will also search up the category tree to use a parent's CustomTemplate if specified.
however, I have tried to get this working without sucess. Has anyone done this and gotten it working?

Here is what I did:

Added "CustomTemplate" column to my category table. Here are the specs on that column:

15 CustomTemplate CHAR(15) No category.html CustomTemplate TEXT

Then I went into the template editor, (I'm using the default templates) and I edited the category.html just enough to notice, and saved it as category2.html. Then I went in and changed the value of CustomTemplate in one of my categories to "category2.html".

Unfortunately, the category is still built using the "category.html" template via page.cgi and nph-build.cgi.

Anyone have any ideas on what I'm doing wrong here?

Thanks,

AlexJ

Subject Author Views Date
Thread Multiple Category Templates AlexJ 1576 Mar 29, 2001, 8:16 AM
Post Re: Multiple Category Templates
AlexJ 1514 Mar 29, 2001, 8:21 AM