Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

I found something that might be a help.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-19-2002, 03:04 AM
 
cpudeals cpudeals is offline
 

Newbie
  
Join Date: Oct 2002
Posts: 1
 

Default I found something that might be a help.

I recomend downloading UltraEdit-32

Then download the Smarty Syntax Highlighting for UE-32. This will make editing & reading the tpl files alot easyer.
__________________
http://www.cpudeals.org
Reply With Quote
  #2  
Old 10-19-2002, 04:53 AM
  B00MER's Avatar 
B00MER B00MER is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Keller, TX (Cart-Lab.com)
Posts: 3,165
 

Default

Now edit smarty.php and make debug_templates.tpl just debug.tpl, vwhalla all smarty variables listed now in debug console instead of JUST templates
__________________
Cart-Lab - 100+ Social Bookmarks for X-Cart.
Reply With Quote
  #3  
Old 10-20-2002, 05:01 AM
 
syddos syddos is offline
 

eXpert
  
Join Date: Sep 2002
Location: London, England, UK
Posts: 259
 

Default

Hi,

I recommend what BOOMER has done in converting the debug_templates. I converted my debug_templates file when using v3.1.3a to show all the variables I needed, this was the first bit of customising I did, once I began to understand how xcart was put together. It help me to check that my own variables were working, and confirmed they were working in the right place.
e.g. $usertype=A,P,C, $mode=update, $login=name etc.

I'm now on to my second mod of v3.2.1, and my 3rd mod of the debug_template file. If you are doing heavy customising of Xcart, converting the debug file to show the variables is a MUST tool, it sounds like BOOMER has done a slick conversion, my file is still rough n ready, as I keep adding to it on the fly, so save yourself a lot of head scratching, and check BOOMERS debug file.

Regards,
__________________
Syddos

Nothing is impossible, We just don't know how to do it ........Yet!

Xcart 4.1.X PRO (Testing Platform: winXP Pro)
Perl 5.8.7 (win32)
WINAMP 1.6.3 (win32 server package. Includes the following)
- phpMyAdmin v2.8.03
- MySql 5.0.21
- Apache 2.0.55 (win32)
- php 5.1.4
- SQLitemanager 1.2.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:39 PM.

   

 
X-Cart forums © 2001-2020