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

custom category headers/footers question

Quote Reply
custom category headers/footers question
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?
Quote Reply
Re: [scorpioncapital] custom category headers/footers question In reply to
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!
Post deleted by Clueless In reply to
Quote Reply
Re: [scorpioncapital] custom category headers/footers question In reply to
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