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

Site was Compiled on accident by Co-worker

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-13-2008, 05:51 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 290
 

Default Site was Compiled on accident by Co-worker

I am taking over our web development, our last person left a lot of messages on here. What I am trying to do is change some of the language variables, but the Webmaster mode is useless as somehow the templates were compiled, how can I edit the simple things like the language fields, I am sure they are embedded somewhere, is there a seperate file or do I need to edit the tpl's themselves and use an html format?
__________________
Tool Experts
X-Cart DB Version: 5.4.1.49
Windows
Reply With Quote
  #2  
Old 06-13-2008, 05:54 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Site was Compiled on accident by Co-worker

So this isn't Shawn anymore?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-13-2008, 05:57 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 290
 

Default Re: Site was Compiled on accident by Co-worker

nope he has been moved to a lesser role.
__________________
Tool Experts
X-Cart DB Version: 5.4.1.49
Windows
Reply With Quote
  #4  
Old 06-13-2008, 06:03 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Site was Compiled on accident by Co-worker

Ok, I don't envy you, as there were a lot of...ummm...'edits' that Shawn made that I'm not sure are easily undone First step is to get the templates back to functional...since I've never compiled the templates (not sure why he did that) I really don't know how to undo it. Perhaps someone else can chime in?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 06-13-2008, 06:07 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 290
 

Default Re: Site was Compiled on accident by Co-worker

All in all it doesn't look too bad it's just there are some areas such as the invoice and the other language variable areas that the text needs to look better in. He is a nice guy and dreamweaver seems to be his forte, I know just a little more and am going to take a crack, so if I ask alot of questions please don't think I am ignorant, just need to get a few things fixed
__________________
Tool Experts
X-Cart DB Version: 5.4.1.49
Windows
Reply With Quote
  #6  
Old 06-13-2008, 06:22 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Site was Compiled on accident by Co-worker

Oh definitely a nice guy, just think he was in a bit over his head, as DW doesn't work so well with Smarty and you can really botch up the {if} statements that way.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 06-13-2008, 06:29 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 290
 

Default Re: Site was Compiled on accident by Co-worker

I think all of this issue stemmed from a server move on Monday, the cart started throwing some code that even I am unsure of and we were no longer able to edit the Product images, we can edit the Thumbnails however and it seems to be controlling both pics. On top of that the webmastermode would no longer edit the language variables, and our host had told us that we are on our own, even though some issues are apparently from that move. It was noted that the compilation would make the language variables embedded in the template, and I think that was confusing because it made it sound editable that way, but without knowing how to get into the said templates or knowing where to look it made them static or has apparently done so.
__________________
Tool Experts
X-Cart DB Version: 5.4.1.49
Windows
Reply With Quote
  #8  
Old 06-13-2008, 07:03 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Site was Compiled on accident by Co-worker

Shawn may have set a smarty variable to not compile

Check file:

/Smarty-2.6.xx/Smarty.class.php

find:

var $compile_check =

if it is false, make it true
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #9  
Old 06-13-2008, 07:16 AM
 
toolexperts toolexperts is offline
 

eXpert
  
Join Date: Feb 2008
Location: Knoxville, TN
Posts: 290
 

Default Re: Site was Compiled on accident by Co-worker

it was set to true
__________________
Tool Experts
X-Cart DB Version: 5.4.1.49
Windows
Reply With Quote
  #10  
Old 06-13-2008, 07:50 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default Re: Site was Compiled on accident by Co-worker

Open your template files in the skin1 folder. Look for {$lng.X} where X is a variable name. If you don't see any entries in any of your files, then your languages were compiled into your template and you won't be able to edit them dynamically, and will instead have to edit the text in the .tpl files themselves.
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:14 PM.

   

 
X-Cart forums © 2001-2020