Jump to content

Use different header for custom pages


tomdchi

Recommended Posts

Is it possible to tell a custom page to use a different header template other than header.tpl? Say I have custom.php that uses custom.tpl and I want it to use header2.tpl for the header-can that be done?

Or if I have to use header.tpl with all custom pages is it possible to use {if $loggedin} with more than one {else}.

Currently on my main page I have header.tpl display a custom menu on the left side for people not logged in and for people logged in it shows the normal whmcs nav links. I have a custom page that I do not want it to show anything on the left side. Is there a way to tell header.tpl that if the page I am displaying is the custom page in question then don't display any thing on the left side?

Edited by tomdchi
s
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated