![]() |
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?
|
Re: Site was Compiled on accident by Co-worker
So this isn't Shawn anymore?
|
Re: Site was Compiled on accident by Co-worker
nope he has been moved to a lesser role.
|
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?
|
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
|
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.
|
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.
|
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 |
Re: Site was Compiled on accident by Co-worker
it was set to true
|
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.
|
All times are GMT -8. The time now is 12:01 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.