| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Why are templates shared? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi all,
I am studying the way the smarty templates are organised. Why on earth do the customer and admin site share the same template files? For me it does not make any sense! Thanks, Joep
__________________
Version info: X-cart V4.1.9 / V4.2 Development: Windows Production: Linux CompuBase |
|||||||
#2
|
|||||||
|
|||||||
![]() Nope, it doesn't
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for your quick reply!!!
Of course I can do the {if $usertype eq "C"} stuff (from your excellent page http://forum.x-cart.com/viewtopic.php?t=28546). How did you manage to create the different template pages for both front ends? Cheers, Joep
__________________
Version info: X-cart V4.1.9 / V4.2 Development: Windows Production: Linux CompuBase |
|||||||
#4
|
|||||||
|
|||||||
![]() I use the {if $usertype... for the menu and dialog boxes, but it is easier just to create a different head template (head_admin.tpl). Just duplicate your head.tpl and then open up single/home.tpl and change head.tpl to head_admin.tpl.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() Thanks, you pointed me to the right direction.
Maybe your info is outdated ![]() Joep
__________________
Version info: X-cart V4.1.9 / V4.2 Development: Windows Production: Linux CompuBase |
|||||||
#6
|
|||||||
|
|||||||
![]() Ah, yea, in 4.1 they updated a few things.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|