Gossamer Forum
Home : Products : Gossamer Links : Discussions :

include_header doesn't work as expected

Quote Reply
include_header doesn't work as expected
hi

I have used the following code to enable these 2 links to appear on the web page in the menu bar after an Editor logs on. It works :-)

<%if Links::Utils::is_editor%><li><a href="<%config.build_root_url%>/Public_Blogs/<%category_name%>/index.html">My Public Blog</a></li><%endif%>
<%if Links::Utils::is_editor%><li><a href="<%config.db_cgi_url%>/browser.cgi">My Private Folder</a></li><%endif%>

But the problem is that when the editor clicks to another page. One that also includes the include_header snippet then these 2 links do NOT appear. :-(

Is there a way I can fix this so that once the Editor has signed in then any page they go to that has the include_header snippet i.e.

<%include include_header.html%>

- then these 2 links STILL still appear in the menu bar?

Please ask if I haven't made this clear. I am a newbie so any answer has to be quite simple ;-) Thanks.

Steve
Subject Author Views Date
Thread include_header doesn't work as expected cuppa 3486 Oct 25, 2005, 10:43 PM
Thread Re: [cuppa] include_header doesn't work as expected
aus_dave 3363 Oct 25, 2005, 11:19 PM
Thread Re: [aus_dave] include_header doesn't work as expected
cuppa 3371 Oct 26, 2005, 2:12 AM
Thread Re: [cuppa] include_header doesn't work as expected
Andy 3360 Oct 26, 2005, 2:52 AM
Thread Re: [Andy] include_header doesn't work as expected
cuppa 3341 Oct 26, 2005, 6:04 AM
Post Re: [cuppa] include_header doesn't work as expected
aus_dave 3331 Oct 26, 2005, 5:25 PM