CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 Can you select which header or footer to use on a page

Print topic Send  topic

Author Message
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



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.