Can the category dependent header/footer fields contain an include of an html file or must they actually contain the HTML code for the custom header/footer?
Sep 6, 2003, 10:56 AM
Veteran / Moderator (18436 posts)
Sep 6, 2003, 10:56 AM
Post #2 of 4
Views: 1862
I believe that its only HTML that is supported with this field. In category.html, you could use this to determine which file is included;
<%if ID == 1234%>
<%include this_file.html%>
<%elsif ID = 12345%>
<%include this_file2.html%>
<%elsif ... etc%>
...
<%endif%>
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
<%if ID == 1234%>
<%include this_file.html%>
<%elsif ID = 12345%>
<%include this_file2.html%>
<%elsif ... etc%>
...
<%endif%>
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Sep 6, 2003, 9:27 PM
User (74 posts)
Sep 6, 2003, 9:27 PM
Post #4 of 4
Views: 1843
Well I deleted the last post 'cause I thought I read your post wrong.... I don't think I did though...
Anyway,
whatever file you want to include, place that under admin/headers and in the Header column of the Category table just put the file name.
Regards,
Clueless
Anyway,
whatever file you want to include, place that under admin/headers and in the Header column of the Category table just put the file name.
Regards,
Clueless