| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
admin / user layout variance - looking for code | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I am setting my admin section to a width of x and my customer section to a width of y.
considering the rectangle_top.tpl template controlls both sections I was looking for an example of code using the {if} statement that will allow for the differenciation. thanks in advance.
__________________
X-Cart version 4.0.3 |
|||||||
#2
|
|||||||
|
|||||||
![]() {if $usertype eq "C"}
display customer code {else} display admin code {/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Quote:
Thank you.
__________________
X-Cart version 4.0.3 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|