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 table sizes for main store & admin pages (https://forum.x-cart.com/showthread.php?t=24019)

SugarFreeGum 08-10-2006 08:00 PM

Different table sizes for main store & admin pages
 
Ok,
i've done a fair bit of searching and have found the way to do it, however i need some help with the code.

Basically i have the table size set to 760px i want to keep it this way for the store side of things, but want it set to 100% for the admin side.

so from what i have found i need to put in an IF statement in rectangle_top.tpl. eg. If in admin section use 100% else use 760px.

Could somebody be so kind as to write this little bit of code for me?

Thanks in advance!

x-cart v4.0.14

balinor 08-11-2006 03:09 AM

{if $usertype eq "C"}width="760"{else}width="100%"{/if}

SugarFreeGum 08-14-2006 10:45 PM

thanks!


All times are GMT -8. The time now is 06:58 AM.

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