X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   different footer for customer and admin interface (https://forum.x-cart.com/showthread.php?t=17898)

just_me 11-11-2005 06:26 AM

different footer for customer and admin interface
 
I use affiliate banners on my shopping cart footer. It bothered me that they should show up on the admin side too.
A part from being useless, they slow down the page reloading so I searched and found that by removing the following line at the bottom of /single/home.tpl

{ include file="rectangle_bottom.tpl" }

I now see the footer with affiliate banners customer-side, while it's gone from the admin interface. Kinda radical but achieves the purpose.

balinor 11-11-2005 06:51 AM

I always edit both rectangle_top.tpl adn rectangle_bottom.tpl when I first install X-Cart to include an {if $usertype eq "C"} section so that it seperates the admin content from the customer content. That way, you can have your admin side at 100% width while your customer side is a fixed width. Would also eliminate the problem of having a custom footer show on your admin side :)

just_me 11-12-2005 05:00 PM

header and footer admin and customer side differentiation
 
Great tip! 8)

Lionel 12-13-2005 12:19 PM

Quote:

Originally Posted by balinor
I always edit both rectangle_top.tpl adn rectangle_bottom.tpl when I first install X-Cart to include an {if $usertype eq "C"}

{if $usertype eq "C"}

what should I replace this with so I could display different things for different memberships?

balinor 12-13-2005 12:22 PM

Read through this:

http://forum.x-cart.com/viewtopic.php?t=12234


All times are GMT -8. The time now is 02:11 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.