Jump to content

how to exclude headr and footer from one page?


thehost5968

Recommended Posts

how to exclude headr and footer from one page?

 

I need to pull one of my pages in to a side box on my WHMCS's (portal) index.php page but I can only get it with the header and footer or if I try using:

 

cart.php?systpl=default&carttpl=default&a=view it works but then it change the rest of the site viest / SESSION untill I close and reopen the page / site.

 

so I need some help.

Link to comment
Share on other sites

does it work in a <table width="120">code<table> (I know this is not the full code for a table) as I need it as a side box on my page?

 

this is the code I have in my templates/orderforms/default/viewcart.tpl:

 

<link rel="stylesheet" type="text/css" href="templates/orderforms/default/style.css" />
<table width="120"><tr><td>
<p align="center">
{$LANG.ordersubtotal}: <b>{$subtotal}</b><br />
{if $promotioncode}{$promotiondescription}: <b>{$discount}</b><br />{/if}
{if $taxrate}{$taxname} @ {$taxrate}%: <b>{$taxtotal}</b><br />{/if}
{if $taxrate2}{$taxname2} @ {$taxrate2}%: <b>{$taxtotal2}</b><br />{/if}
{$LANG.ordertotalduetoday}: <b>{$total}</b><br />
</p>
<p align="center">  {$LANG.invoicesdescription}»{$cartitems}<input type="button" value="{$LANG.checkout} »" onclick="window.location='cart.php?a=checkout'"/></p>
</td></tr></table>

 

and this is the url I need to uses:

 

cart.php?carttpl=default&a=view

Link to comment
Share on other sites

No. The page title is the name of the page that show on the top of your browser, for the cart it would be 'Shopping Cart"

 

{if $pagetitle == 'Shopping Cart'} {else} {/if}

 

If you wanna just have a different logo for the cart page just put that around the logo.

 

What are you trying to achieve?

Link to comment
Share on other sites

a Shopping cart summery box to show on my index.php page (whmcs's index.php) in the left side colum. I as I can not get the right info from the $_seesion() code to show what I need so this is the next best way I know how to do this?

 

Would you know the code to get the info from the $_seesion()?

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