| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Simple Template System? | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I have used OsCommerce in the past and loved how the Simple Template System could be installed and allow easy configurations for complex designs. Basically, you generate the template file, and when you want to include something such as the member login, you put a tag in the template for member login.
After reviewing the code for X-Cart, it seems to require quite a bit of heavy modifications to modify the default template. Anyone have suggestions?
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
#2
|
|||||||
|
|||||||
![]() It is just a different system is all, and takes some getting used to.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() I have done quite a bit of skins for PHP software, it seems like this is about the most complicated template editing I have done. Heck, I have been able to rewrite an entire script that now validates xhtml/css with no probs at all.
Dunno, hope it catches on soon, I am starting to miss OsC a bit ![]()
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Smarty could be nice and simply or complicated - x-cart however uses advanced smarty tags that many advanced coders have to think hard about - definitely not simple. Once you get the hang of it though, it's extremely powerful.
|
|||||||||
#5
|
|||||||
|
|||||||
![]() How long does it usually take to grasp? I can usually read PHP files, but these smarty tags are a bit confusing. I was wondering for the longest time what ne and eq meant, finally figured it out though lol
![]()
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
#6
|
|||||||||
|
|||||||||
![]() Hi,
If you are good at logical and know the procedure hos this should be done then learning becomes easy... For instance, if you know how the basic procedure would work for adding numbers, then it does't matter what development tool you use. The basic procedure should remain same for all languages. Simply, for adding 2 values, you need just 2 numbers. This is the basic procedure for this and using addtion operator you are going to add. But, the addition operator may vary from language to language. that' it. First, try to be strong in basic things and try to apply in a problem and you will easily learn the programming language automatically. I use to learn in this way and succeeds.
__________________
Dongan MercuryMinds Technologies Professional X-Cart Design, X-Cart Development, X-Cart Customization Services www.mercuryminds.com Follow us at Facebook / Twitter |
|||||||||
#7
|
|||||||||
|
|||||||||
![]() Learn the basic statements, and learn how to use a {section}, and you should be ok. You can always use the manual at http://smarty.php.net for reference.
|
|||||||||
#8
|
|||||||
|
|||||||
![]() I am a newb but when i first started, i would find an area that seemed to be what i wanted to edit and i would type TEST, save it and view it on the web
![]()
__________________
http://www.VitaManCafe.com There is Nothing \"General\" about our Nutrition Center! X-Cart version 3.5.1 | Operation System Linux http://www.exercisewisdom.com X-Cart Gold Version 4.0.1 | Operation System Linux |
|||||||
#9
|
|||||||
|
|||||||
![]() Well I think the hardest part is that X-Cart doesn't come with a guide to their syntax. For example, product.sku is incorrect, and it is productid instead, however in the language file, it is sku, instead of productid- which I bet throws some people off.
I can correctly assume that a list of variables are not included anywhere? Let's say I want to display the memeber login, there isn't a page I can go to, and search for the member login display code, or to display a sub category list, etc.
__________________
Product: X-Cart Gold Current version: 4.0.14 Additional Mods: X-Affiliate |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Code is actually product.productcode for SKU, product.productid is for the product id in the database.
You can use phpmyadmin and view the database tables to get codes. If you want to edit the login/logout boxes, they are skin1/auth.tpl and skin1/authbox.tpl There is also a webmaster mode in the admin, that will give you a list of templates that are loaded with each page so you can know where to edit what. |
|||||||||
|
|||
X-Cart forums © 2001-2020
|