Jump to content

Custom Headers


Jako

Recommended Posts

Is there a way to have a unique header depending on the page the user is on?

 

For example, knowledgebase.php shows one thing, while cart.php shows another?

 

All of these encrypted files include the header.tpl file. So I don't know if it's even possible to have two unique headers when everything else is encrypted.

Link to comment
Share on other sites

  • 2 weeks later...

Hmmm....where would I put this statement?

{if $pagetitle == 'Page Title'} {/if}

 

In the title?

In the header?

Or below the header somewhere?

 

Where is it pulling the existing info from?

{$companyname} - {$pagetitle}

 

Thanks!

Link to comment
Share on other sites

I dunno where to put the code they mentioned above.

 

The code I spoke of is already by default in the php file of each page that you make. The default code is in the header file.

 

The coresponding $LANG.filename the the tpl or php file matches the same filename in the language file.

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