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

top of templates

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-26-2011, 12:20 PM
 
makenoiz makenoiz is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 35
 

Default top of templates

What does the stuff at the top of the .tpl files mean. eg:


Code:
{* $Id: c_topHeader.tpl,v 1.4.2.2 2010/09/29 07:24:11 igoryan Exp $ vim: set ts=2 sw=2 sts=2 et: *}

Thanks
__________________
X-Cart version 4.4.3
Reply With Quote
  #2  
Old 06-26-2011, 12:35 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: top of templates

Check Vi (Vim) editor settings. For example - http://www.lagmonster.org/docs/vi2.html
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 06-26-2011, 12:48 PM
 
makenoiz makenoiz is offline
 

Advanced Member
  
Join Date: Jun 2011
Posts: 35
 

Default Re: top of templates

Its not an error. Its was shows at the top of the files when I open them to edit.
__________________
X-Cart version 4.4.3
Reply With Quote
  #4  
Old 06-26-2011, 12:56 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: top of templates

I didn't say it's an error. These are settings for vi editor. They have no effect on how the templates render
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 06-26-2011, 03:44 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: top of templates

These are comments in the file presumably used internally by QT for configuration management and version control of the files. When you have large numbers of people all working on many different files at the same time, you have to manage the versions that are part of the various builds of the software that are in development and also released. You can also use the version information if you have not changed the file, and it should match the internal version by QT. If you modify the file, the version information only tells you the version from which you started.

---
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote

The following user thanks gb2world for this useful post:
qualiteam (07-05-2011)
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 09:49 AM.

   

 
X-Cart forums © 2001-2020