| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Help ! Dont understand how to change design | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Oups ... dont understant nothing !
When I try to get the html code, I get insted a bizarre code, named "Smarty". How do I manage it ? with Dreamweaver ? Is there anytghing special to manage this code ? Help , and thanks !!!
__________________
<Gregg> [X-Cart 4.0] |
|||||||
#2
|
|||||||
|
|||||||
![]() Hi gregg
X-cart pages are made up of lots of small chunks of html which you will find under "Edit templates" in X-cart admin. For instance, the template file head.tpl controls what appears at the top of the page, and skin1.css is the css file for the whole site. Personally I edit code directly in the template editor, I believe you can edit templates in Dreamweaver but make sure it doesn't interfere with the code or you might stop your store working. Using a text editor is usually the best bet. |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks !
So you must choose in the .tpl file the html and let the Smarty code as it is ? It is very complicated don't you think ? And you have to change EVERY page of the site when you want to implement a new design ?
__________________
<Gregg> [X-Cart 4.0] |
|||||||
#4
|
|||||||||
|
|||||||||
![]() Greg,
you can see what smarty is all about at http://smarty.php.net also check the forum faq , xcart faq and xcart manual for lots of tips on how to get started
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. ![]() ![]() |
|||||||||
#5
|
|||||||
|
|||||||
![]() Listen I would like the ability to edit these X-cart things but I am NOT a code person.. I am a Macromedia see what you get and redesign it person.
So is this possible with X-Cart.. I mean is there something out there that will let us idiots edit the way it looks? Jay
__________________
X-Cart Gold 4.0 |
|||||||
#6
|
|||||||
|
|||||||
![]() Sorry Jay, you really need to know how HTML works in order to edit the templates. Dreamweaver and other WYSIWYG editors don't understand Smarty.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#7
|
|||||||
|
|||||||
![]() You can also copy the code from the .tpl file to a page in dreamweaver and edit the way you want, compare the smarty codes (see if they haven't changed) and copy/paste into the .tpl file
You see the result in Dreamweaver (quite) and the coding is still ok. good luck!
__________________
Trying to get a good shop! |
|||||||
#8
|
|||||||
|
|||||||
![]() When I import to Dreamweaver I get the 2 codes : Smarty AND html ... what a mess !
__________________
<Gregg> [X-Cart 4.0] |
|||||||
#9
|
|||||||
|
|||||||
![]() Yea, if you are going to edit the templates in Dreamweaver, you really need to at least understand the concept of Smarty so that you don't break the {if}{else} type conditions as well as the rest of the Smarty tags. It isn't as tough as you might think...after a while it'll be second nature to you
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#10
|
|||||||||
|
|||||||||
![]() UltraEdit is a better tool than DW. It has markup and highlighting for smarty tags.
|
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|