![]() |
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. |
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 :)
|
header and footer admin and customer side differentiation
Great tip! 8)
|
Quote:
what should I replace this with so I could display different things for different memberships? |
|
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.