| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Labels do not display on an new form | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hello,
I have a created a new module that collects some follow-up information from a Customer after a purchase. The module works fine, except for form labels. Two examples: 1. {$lng.lbl_Customer} a standard string distributed with X-Cart does not display (note: languages.topic="Labels") 2. {$lng.txt_modify_sp_profile} a new string I created in Languages works fine (note: languages.topic="Text") I am guessing that I failed to initialize something regarding the languages table. If I change the Topic of the "my" string from "Text" to "Labels", it no longer displays. No errors thrown or logged. Any suggestions on further reading would be helpful and appreciated. Thanks.
__________________
Version 4.1.9 |
|||||||
#2
|
|||||||
|
|||||||
![]() First, make sure you use the exact text...customer and Customer are not the same. Next, make sure you refresh your browser and clear your template cache from the Summary/Tools area.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() My bad typo in the example - $lng.lbl_Customer. It is actually $lng.lbl_customer.
No misspellings in the actual code. Cleared template cache using the Summary/Tools/Clear templates cache operation No better results. So I backed up the templates_c folder (just in case) and deleted the contents. Voila! all the labels are displayed. Now to check that I broke nothing else... heeh! Thanks for the pointer. Much appreciated.
__________________
Version 4.1.9 |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|