By: Jason
Date: 2009-09-01
Time: 18:26
|
include menu into all pages except main_1.htm
i am trying to create a conditional statement with TBS, and I am having a very difficult time.
this is my first time using this template system, so any tips is greatly appreciated.
what i want to do is include a specific file (just like include() php function) but in my .html file, and use a conditional if != statement to show the menu in ALL pages except main_1.htm.
does anyone know how to do this or can give me an example to learn from?
|
By: TomH
Date: 2009-09-01
Time: 22:01
|
Re: include menu into all pages except main_1.htm
If all pages except index.html have the menu then won't they have the same page layout? So use one layout for all those and a separate layout for the one unique index.html without menu.
Otherwise, post the code you're having trouble with so someone here can see what you're doing and offer suggestions.
|
By: Jason
Date: 2009-09-01
Time: 22:38
|
Re: include menu into all pages except main_1.htm
maybe this will help clarify.
this file called: main_1.htm hosts my header and footer the the entire site. and the contents goes here:
..header code...
<div id="inner-templates-container">
<!--[onload;file=[var.inner_template1];getbody;comm]-->
</div>
..footer code...
i have a file called inner_index.htm - this file acts as my index/default file for the site and i don't want the same header being used as on all other pages and i don't want inner_index.htm to use the header that is called in main_1.htm - the header is different for the homepage.
does this help clarify?
|
|
Posting in progress.
Please wait...
|