| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Creating new skin | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() This is not documented anywhere or I was not able to find it. When creating new skin it is mandatory to create
/css/altskin.css even if the file is empty. XC is coded so if this file does not exists $AltSkinDir and $AltImagesDir variables have no value and are not assigned to smarty. What altskin.css has to do with these 2 variable is beyond me ![]() if (@file_exists($alt_skin_dir . XC_DS . 'css' . XC_DS . 'altskin.css')) { or if you want to be forced to create an emtpy file for no reason at all just create altskin.css in your new skin css directory - which means you have to have css directory as well even if you don't need it....
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#2
|
|||||||
|
|||||||
![]() An alternative is to add this to the top of your new skin/whatever/customer/home.tpl
Quote:
__________________
xcartmods.co.uk |
|||||||
#3
|
|||||||||
|
|||||||||
![]() Yes but you shouldn't since the code is the script already.... it just doesn't work properly....
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|||
X-Cart forums © 2001-2020
|