This topic is locked

Calling Headers and Footers 4.1

10/31/2006 10:24:51 PM
ASPRunnerPro General questions
lefty author

In the last version 4.0 ; we were able to include our header / footer in the include file using the template editor . My project has multiple headers for specific pages which I use to call header1 , header2 etc. Where is the program now calling the header and footers from as I need to include different headers / footers for different pages? Where can I change this without changing or having to code the whole project after a build. version 4.1

Alexey admin 11/1/2006

John,
click Header yellow box in Visual Editor then switch to HTML mode.

You'll see this code highlighted:

{include_if_exists file="include/header.asp"}



Replace header.asp with your filename.

lefty author 11/1/2006

John,

click Header yellow box in Visual Editor then switch to HTML mode.

You'll see this code highlighted:
Replace header.asp with your filename.



I re-named the header and footer files for the pages I wanted on the WYSIWYG editor in HTML mode . After build the project still calls the main header ( called Header and Footer ) file instead of other headers ex. header2 , header3. I included these file in the include folder . It seems it is calling the main header anyway from somewhere else?

lefty author 11/1/2006



I re-named the header and footer files for the pages I wanted on the WYSIWYG editor in HTML mode . After build the project still calls the main header ( called Header and Footer ) file instead of other headers ex. header2 , header3. I included these file in the include folder . It seems it is calling the main header anyway from somewhere else?



I want to add also ; That after I changed the html ; I lost all the page formatting in the project . Font color , background color etc....

Sergey Kornilov admin 11/1/2006

John,
something is wrong here.
If you like me to take a look zip and send the whole project directory to support@xlinesoft.com along with some comments.