| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Explanation of home.php skin1, skin1_ori, shemes, templates | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have come to the conclusion that im confused.
Can someone explain to me in easy to understand terms why all these exists and how it affects the store: im on 4 0 18 on the inside the xcart folder i have 1. xcart/home.php - this file has if...include statements. has no html structure. Whats this for? What does it control? =============================== 2. then inside cart folder again theres xcart/custmer/home.php this file has only header("Location: ../home.php".(!empty($QUERY_STRING) ? "?".$QUERY_STRING : "")); ?> Whats this for? What does it control? ================================= 3. then i have xcart/skin1_original in here i have a bunch of folders, many tpls, etc. ================================= 4. then i have xcart/schemes/ in schemes theres, folders, colors, digbats, templates in templates, there 2 column , 3, small_shop Whats schemes and there stuff for? if we have skin1 folder ==================================== 5. then theres skin1 how does xcart know to use skin1 or skin1_orig is it the config.php file that tells it what to use?
__________________
X-Cart 4.0.18 DBest |
|||||||
#2
|
|||||||
|
|||||||
![]() 1. You will benefit if you discover "webmaster mode". It's well documented. Webmaster mode will put your entire site into a mode with a pop-up "debugging console" which, if you drag your cursor over the elements, will highlight the template on-screen -- so it's very easy to determine what lives where and who is nested within it's buddies...
You are working too hard... go into webmaster mode, click on "Open customer area in a new window" - and you will hit yourself for not reading about this sooner... All your questions will have OBVIOUS ansers once you view the template structure in webmaster mode. Additionally, you can't go wrong with balinor's Template Editing Guide Quote:
Leave /schemes and skin1_oig alone... The default skin is skin1 -- you don't have to use skin1 -- if you replace the skin, you can point xcart to any skin of your choosing, but for simplicity, you are best replacing skin1 directory with your new skin. GET DEEP with webamster mode and report back. The templates will tell you who lives where... once you are over that hurdle, you get to learn Smarty, but that's an entirely new thread... hint: This will help you decifer smarty
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
![]() AWSOME! man that makes understanding it so much easier. i've used websmaster mode but never saw the frontend with indicating where i was pointing.
Thanks, and yeah balinors tutorial is good. I've seen it before but is faster and better to visualize it now with webmaster. check my the thread about the "html in extra fields" , i think is related to what we wanted with the extra tabs "ingredients".
__________________
X-Cart 4.0.18 DBest |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|