![]() |
Labels do not display on an new form
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. |
Re: Labels do not display on an new form
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.
|
Re: Labels do not display on an new form
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. |
All times are GMT -8. The time now is 12:41 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.