Forum


List Manager Support

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

Insert image choosed by the user 25.02.2015 10:56

I know that I can create an HTML field and put ad image into that field. Instead I would like to insert a field "image" that show an image based on user choice. I created an "Option list" field and put "red" on name and "red.jpg" on value (green/green.jpg, ecc.). So the user can choose "red" and insert "red.jpg" into the field. How I can show the img src="red.jpg" tag on front end view? Can you suggest me a strategy working on CSS or php?
Thank you very much in advance.
cmc

Re: Insert image choosed by the user 25.02.2015 11:15

Hi,
you can try to insert these names for the options:


Red[img src='/path/yourredimage.jpg']


Blue[img src='/path/yourblueimage.jpg']


(replace [ and ] for the right html tags, they are stripped by the forum page).

Remember always to use SINGLE QUOTES for this tweak! You can ruin your fields structure if you insert html with double quotes there. We suggest to try this trick at a new test list until you get it working.

Keep the values with plain texts like red, blue, etc.

Of course the image won't show at your input combobox, only the text. But when selected, the image will be shown at the list. It will also show the preceding text, but there you can hide it using css. Each column has a specific class:

lm_column_0
lm_column_1
lm_column_2
..etc

so you only need to add a color:#fff; to this class for ex to hide the labels.

Hope this helps, regards

Edited by MSTeam - 25.02.2015 11:16
Moonsoft Team
www.moonsoft.es

Re: Insert image choosed by the user 25.02.2015 18:38

It works for me!
To hide text I choose to assign a class to the field and put this CSS:
.fieldClass [font-size: 0px]
In this way the images are correctly alligned even if labels have different lenghts (Red, Blue, Green).
Thank you very much for support!
cmc

Re: Insert image choosed by the user 28.02.2015 11:56

After this, each time I will edit and "save" the field list, all fields disappear! Any field I try to change, also if I "save" without any change... can you help me?
Thank you.
cmc

P.S.: I also upgrade Joomla from 3.3.6 to 3.4.0. Maybe the problem is in the new version of Joomla?

Re: Insert image choosed by the user 28.02.2015 17:28

Hello,

Yes, there are some javascript changes in new Joomla that breaks List Manager. Please download latest version and upgrade component.

Regards,
Moonsoft Team
www.moonsoft.es

Re: Insert image choosed by the user 28.02.2015 20:57

I just download and upgrade to 2.1.1 but the problem is the same. As soon as I "save" the list (also without any change) all fields disappear...
Do you have any other suggestion?
Thank you very much.
cmc

Re: Insert image choosed by the user 01.03.2015 12:21

I restored 3.3.6 Joomla version, but the problem remain the same. I upgrade to 2.1.1 List Manager version, but the problem remain the same. Can you help me, please? The component is working but I cannot perform any change! Every time I "save" table, also without any change, the table disappear...
Thank you.
cmc

Re: Insert image choosed by the user 02.03.2015 08:32

Hello,

We tested List Manager 2.1.1 in Joomla 3.3.6 and 3.4 and we couldn't reproduce your issue. Please ensure that you've cleared joomla cache on each install/upgrade/downgrade. If you still have this issue, please place a ticket in helpdesk with url and credentials of your site and we'll fix the installation.

Regards,
Moonsoft Team
www.moonsoft.es

Re: Insert image choosed by the user 02.03.2015 17:37

I flushed cache on server (the site is hosted by SiteGround that manage the joomla site cache on it's cPanel...) and now it's working.
Thank you very much for your support.
cmc

Re: Insert image choosed by the user 08.03.2015 23:01

Today the problem come up again. I flush the cache but the problem is still there. I do not change anythings in joomla configuration (3.4.0 with 2.1.1 listi manager). It works for a week and now, again, as soon as I make a change in the table structure, the tabele disappear. I can give you an access to admin panel if you want (give me instructions). The web site is still under development...
Thank you for your help.
cmc

Re: Insert image choosed by the user 09.03.2015 09:37

Hi,
we can check if there is any issue when sending structure data, we need to access your backend as it doesn't happen here. Please access your customer area and enter the helpdesk system. There you can place a new ticket where you can share an access privately. Please let us know the steps to reproduce, and the change you're trying to introduce to the table so we can debug there.

Thanks, regards
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