Forum


List Manager Support

List Manager support
Forums
No se permite escribir sin estar logado. Por favor, login

Change "Y" to a symbol 19.01.2013 17:24

Hi all,

I would like to change in the table from type "Yes/No" the symbol "Y" to an image (or at least to another text). How can I do this?

Thanks for your help!

Re: Change 'Y' to a symbol 21.01.2013 09:33

Hello,
the inner value 'Y', for the checkbox is located at the language file, so you could modify it there. You could try to insert some html as the value, most probably it will work as well. But you must note if you change the value of the fields, you will have to save again all 'checked' values, because if you change the inner value, it won't match anymore with the value fields have already stored.
You should modify it changing the label from

LM_YES_VALUE="Y"

..to the value required, like

LM_YES_VALUE="Yes, selected!"

..or whatever you want to show. These are the language files.

If you are storing records from the backend

joomla\administrator\language\en-gb\en-GB.com_listmanager.ini


If you are storing from the frontend

joomla\language\en-gb\en-GB.com_listmanager.ini
joomla\language\en-gb\en-GB.mod_listmanager.ini


Hope this helps, regards
Moonsoft Team
www.moonsoft.es

Re: Change 'Y' to a symbol 21.01.2013 23:11

Thanks a lot for your reply! This helps me quite a bit!

Is it somehow possible to provide a css class based on the value? e.g. class="Y" or something similar?

Re: Change 'Y' to a symbol 22.01.2013 09:48

Hello,
not sure if get the point of the style class name. As long as you can use html code as the value of the "Y", you can set something like

(the forum is configured to strip out html code, so [] is used instead of lt and gt)

LM_YES_VALUE="[ span class='myclass' ]Yes [ / span ]"

So you can create myclass style to configure your text, or use any inline style as well.
Hope this solves your question.

Regards

Edited by MSTeam - 22.01.2013 09:50
Moonsoft Team
www.moonsoft.es
Are you satisfied with our products/services/support?
Please help us to keep improving, add a review at  joomla extensions site and  magento connect
FaLang translation system by Faboba

Lo que nuestros clientes opinan de nosotros