|
Re: category and header.tmpl [message #31965 is a reply to message #31964] |
Sun, 28 May 2006 15:35 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The simplest way to do it would be to include a small PHP file inside the header, the job of the file would be to determine the category being viewed at this time. This can be done by looking @ the category id, forum id, message id or topic id being currently viewed.
FUDforum Core Developer
|
|
|
|
Re: Re : category and header.tmpl [message #31972 is a reply to message #31966] |
Mon, 29 May 2006 00:58 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
cat_id variable is not always available, you need to check for values passed via GET/POST and use them to identify the desired category.
FUDforum Core Developer
|
|
|
|
|
|
|