List Manager Forum

customized class disappeared after update

User moon_1262 2015-10-06 11:15:09

Hi,


I just updated ListManager from 2.1.5 to 2.2.0 and my added classes are not added anymore :

For example, my field 'Nom du service' has a Css class ' nomService' that I use to style the lmcardcontentblock div within my result page.

It used to give that html:

div class="lmcardcontentblock nomService"


But now, the added class is nowhere to be seen :

div class="lmcardcontentblock"


I checked the corresponding fields in backoffice and they still have the class names.

I fear I have to revert to the previous version or to re-add my records.
Please, if you got another solution.

thanks,
regards
--
Pascal

Edited by moon_1262 - 06.10.2015 11:16

Edited by moon_1262 - 06.10.2015 11:16

User moon_1262 2015-10-06 12:11:25

OK. I realized this problem appeared already in previous version and that I resolved it by modifying your code ( cf. https://www.moonsoft.es/en/help/5-lm-support/2962-re-css-class-not-visible-in-card-view). I guess I will just merge my previous modification with the new version.

But please do add classes to card view.

Thanks,
regards
--
Pascal

Moonsoft support 2015-10-07 09:41:44

Hi,
yes, in fact we didn't added this as a bug so your tweak was not included in new releases, but we have added it now so it will appear for next update. The solution would be the same, adding the styleclass


'+largecontentclassblock+' '+header.styleclass+'" '+cursorlarge+'

to the card_content_block at listmanager.js


Thanks, regards

...
Support/development

Perfect for small code changes or to correct any bug at your site

Buy now!
...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!