| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Different table sizes for main store & admin pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
X-Cart v4 |
|||||||
#2
|
|||||||
|
|||||||
![]() {if $usertype eq "C"}width="760"{else}width="100%"{/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() thanks!
__________________
X-Cart v4 |
|||||||
|
|||
X-Cart forums © 2001-2020
|