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

variables summary

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-16-2004, 07:44 PM
 
roccons roccons is offline
 

Member
  
Join Date: Nov 2004
Posts: 16
 

Default variables summary

Is there any documentation where I can find a sort of summary of all the php variables available within the templates?
The same for the css classes.
Thanks.
__________________
x-cart 3.5.12 (Unix)
Reply With Quote
  #2  
Old 11-17-2004, 07:01 AM
  ETInteractive.com's Avatar 
ETInteractive.com ETInteractive.com is offline
 

X-Adept
  
Join Date: Dec 2002
Posts: 747
 

Default

LMFAO!!

Documentation....we dont use no Stinkin' Documentation!

sorry, too funny.

I ranted for months about documentation....v3.5 documents came about the same time as v4.
__________________
ETInteractive.com
X-Cart 3.5.x
Reply With Quote
  #3  
Old 11-17-2004, 07:05 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

A tip,

edit xcart/smarty.php

look for

Code:
$smarty->debug_tpl="file:debug_templates.tpl";

and change it

Code:
$smarty->debug_tpl="file:debug.tpl";

then switch on the debug console
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #4  
Old 11-17-2004, 07:34 AM
 
western-merc western-merc is offline
 

Advanced Member
  
Join Date: Dec 2003
Location: Tacoma, WA
Posts: 43
 

Default

Wow, that's incredibly helpful!

Thanks for the tip, Shan!

PhiLL
__________________
X-Cart Version: 4.0.17
Linux 2.4.21-37.ELsmp
Apache 1.3.34
MySQL 4.0.25-standard
PHP 4.4.1
Reply With Quote
  #5  
Old 11-17-2004, 05:56 PM
 
roccons roccons is offline
 

Member
  
Join Date: Nov 2004
Posts: 16
 

Default

Thanks!
__________________
x-cart 3.5.12 (Unix)
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 08:23 AM.

   

 
X-Cart forums © 2001-2020