Jump to content

Customizing Header & Footer???


ahills

Recommended Posts

I am following a book (Getting & Managing your first 1000 clients in webhosting) and seem to get lost during instructions for Customizing Header & Footer.

 

I am not familiar with editing these type of files so do not know exactly where to put these codes or what exactly to put. I have been able to open the file for editing - but not sure where to go from there.

Instructions I'm trying to follow are:

 

Open up your header.tpl file and add these simple php codes into your header.tpl file.

{php}

if($currpage == 'cart.php' or $currpage == 'creditcard.php'){

$this->assign('ordermode', 'yes');

{/php}

Then you can simply use this guide to remove all the WHMCS links from your header/footer during the signup process.

{if $ordermode == 'yes'}

<!—DISPLAY YOUR ORDER MODE HEADER/FOOTER, REMOVE ALL LINKS AND MENUS FROM WHMCS

{else}

<!—DISPLAY WHMCS DEFAULT HEADER/FOOTER 

{/if}

 

Thanks for any help!

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