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

X-Cart Templates

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-12-2005, 01:02 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default X-Cart Templates

Just setting up our first x-cart site ...

i've found that all the .tpl files within the skin1 folder arent indented,
hence i find it quite difficult to to edit these ...

shouldnt x-cart sort this ?

:sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #2  
Old 10-12-2005, 01:46 AM
  shan's Avatar 
shan shan is offline
 

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

Default

would be nice
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 10-12-2005, 03:21 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default

does anyone know of any 3rd party tool that can help in the indentation of the templates ?

regards

:sK
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
  #4  
Old 10-12-2005, 03:32 AM
  shan's Avatar 
shan shan is offline
 

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

Default

dreamweaver will do 'apply source formatting' to an extent
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 10-12-2005, 04:48 AM
  kpayne's Avatar 
kpayne kpayne is offline
 

X-Adept
  
Join Date: Dec 2002
Location: Firetanksoftware.com
Posts: 469
 

Default Re: X-Cart Templates

Quote:
Originally Posted by chamberinternet
Just setting up our first x-cart site ...

i've found that all the .tpl files within the skin1 folder arent indented,
hence i find it quite difficult to to edit these ...

shouldnt x-cart sort this ?

:sK

If the .tpl files were all indented and commented properly, I'd be as giddy as a school girl on the night of the big fall dance.
__________________
X-cart Featured Products Manager from http://www.firetanksoftware.com - Put your products where you want, how you want.
Reply With Quote
  #6  
Old 10-22-2005, 11:17 PM
 
mcamp mcamp is offline
 

Newbie
  
Join Date: Oct 2005
Location: Durant, OK
Posts: 4
 

Default

Quote:
Originally Posted by chamberinternet
does anyone know of any 3rd party tool that can help in the indentation of the templates ?

I copy the contents of the template and paste it into TextPad. It sets the formatting automatically, and it is so much easier to read.
__________________
X-Cart Gold: v4.0.16
Reply With Quote
  #7  
Old 11-15-2005, 03:54 AM
  chamberinternet's Avatar 
chamberinternet chamberinternet is offline
 

X-Wizard
  
Join Date: Sep 2005
Location: Lancashire, UK
Posts: 1,470
 

Default

Quote:
Originally Posted by mcamp
Quote:
Originally Posted by chamberinternet
does anyone know of any 3rd party tool that can help in the indentation of the templates ?

I copy the contents of the template and paste it into TextPad. It sets the formatting automatically, and it is so much easier to read.

textpad doesnt set the formatting automatically - it just pastes it as the original...
__________________
Developing in 4.7.x now (Dipping into v5 - Slowly!)
Have used 4.1.x, 4.2.x, 4.4.x, 4.5.x, 4.6.x & 4.7.x
Multiple Instances of X-Cart
MySQL 5.6.37
CentOS 7.4


Chamber Internet
- Lancashire, United Kingdom
http://www.chamberelancs.co.uk
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:29 PM.

   

 
X-Cart forums © 2001-2020