Jeri
|
Posted: 04/05/2001, 3:02 AM |
|
Hi,
Is it possible to specify which header and footer file to use on a
particular page? For example, I'd like to have two headers and footers. One
for Admins and one for Members. It would be nice to specify which ones to
use on a page.
I know that I could manually edit the page to reflect, the change but that
introduces the chance of error.
Thanks.
Jer
|
|
|
Alexey Alexapolsky
|
Posted: 04/05/2001, 10:07 AM |
|
Currently you can only use this solution :
1) Manually insert html in headers/footers of each page
2)deselect header/footer sections
and in each page's header/footer insert template variables {header}
{footer} and in one of forms call $tpl->load_file($footer_filename,
"Footerr");
--
Regards,
Alexey
CodeCharge Support
Jeri <jerirej@hotmail.com> wrote in message
news:9ahfrb$a4f$1@mail.tankhill.com...
> Hi,
>
> Is it possible to specify which header and footer file to use on a
> particular page? For example, I'd like to have two headers and footers.
One
> for Admins and one for Members. It would be nice to specify which ones to
> use on a page.
>
> I know that I could manually edit the page to reflect, the change but that
> introduces the chance of error.
>
> Thanks.
>
> Jer
>
>
|
|
|
Jeri
|
Posted: 04/05/2001, 9:47 PM |
|
"Alexey Alexapolsky" <alexa@codecharge.com> wrote in message
news:9ai8op$r6i$1@mail.tankhill.com...
> Currently you can only use this solution :
>
> 1) Manually insert html in headers/footers of each page
>
> 2)deselect header/footer sections
> and in each page's header/footer insert template variables {header}
> {footer} and in one of forms call $tpl->load_file($footer_filename,
> "Footerr");
> --
> Regards,
> Alexey
> CodeCharge Support
HI Alexey,
I thought of another solution which is what I'm using.
1. I wanted the admin area to be in a separate directory anyway so I created
two projects. 1 for hte member pages, 1 for the admin pages. That way I can
have unique headers and footers for both, and still have them called
header.php and footer.php It's working fine so far.
Jer
|
|
|
|