| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Site was Compiled on accident by Co-worker | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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 |
|||||||
#2
|
|||||||
|
|||||||
![]() So this isn't Shawn anymore?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() nope he has been moved to a lesser role.
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#4
|
|||||||
|
|||||||
![]() 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
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() 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 |
|||||||
#6
|
|||||||
|
|||||||
![]() 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 |
|||||||
#7
|
|||||||
|
|||||||
![]() 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 |
|||||||
#8
|
|||||||
|
|||||||
![]() 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 |
|||||||
#9
|
|||||||
|
|||||||
![]() it was set to true
__________________
Tool Experts X-Cart DB Version: 5.4.1.49 Windows |
|||||||
#10
|
|||||||||
|
|||||||||
![]() 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.
|
|||||||||
|
|||
X-Cart forums © 2001-2020
|