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

Editing tpl files

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-22-2003, 11:49 PM
 
lplayer lplayer is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 8
 

Default Editing tpl files

To edit a tpl file I extract the contents from the Edit template window and paste this into Textpad. After editing in Textpad I then past back into the Edit template window and Save.

Textpad has html and psp4 'awareness' and is able to handle .psp and html files. Does anyone else use this tool to help indent and highlight the .tpl files.

Should I be doing this?

Is there a better way?

(I also use UltraEdit (ideal for a bit of hexcode) but prefer Textpads addon syntax ability)
Reply With Quote
  #2  
Old 04-23-2003, 02:55 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

I just tend to edit the original local files and ftp them all when sorted - much quicker than the admin area.

Use UE to do it all...UE is cool
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 04-23-2003, 06:12 AM
 
machnhed1 machnhed1 is offline
 

eXpert
  
Join Date: Feb 2003
Location: Illinois
Posts: 274
 

Default

I turn on webmaster mode copy the file into Dreamweaver and then paste it back into the webmaster "edit file" page. Works well for me.
__________________
Following the signature guidelines : xcart pro 3.5.8 - [RedHat]
Reply With Quote
  #4  
Old 04-23-2003, 01:21 PM
 
lplayer lplayer is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 8
 

Default UE is cool

Yes, Ulta Edit is powerful (and cool) and I was surpised to find that no one has yet created a Smarty template *.tpl syntax file for it. Well at least I cant find one. I use the PHP4 checker all the time. I would image it would be a combination of the php/html checker and a bit more.

(For those to yet discover UltraEdit visit www.ultraedit.com)
Reply With Quote
  #5  
Old 04-23-2003, 01:44 PM
 
lplayer lplayer is offline
 

Newbie
  
Join Date: Apr 2003
Posts: 8
 

Default UltrEdit

I stand correct, as I just found an older Boomer post point to such a syntax file. (search UltraEdit)
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 10:09 PM.

   

 
X-Cart forums © 2001-2020