[POSSIBLE in v3.0.10-RC2g+] Show value AND text of select multiple

More
8 years 3 months ago - 8 years 3 months ago #59634 by nowid50
Hello,

I have a field select multiple and I would like the display to be like this :
Code:
<span class="value" id="__VALUEn__">__TEXTn__</span>

However using the __value__ tag in the render parameters shows the first value of the select...

Is there an easy way to do this ?

Thanks in advance.
Last edit: 8 years 3 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #59646 by ggppdk
Hello

yes there is an easy way but you will need latest build:
github.com/FLEXIcontent/flexicontent-cck/releases

after you install
copy
plugins/flexicontent_fields/selectmultiple/tmpl/value_default.php
as
plugins/flexicontent_fields/selectmultiple/tmpl/value_MYcustomphp

then in field configuration select to use your custom layout, and of course edit the PHP file


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
The following user(s) said Thank You: nowid50

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #59680 by nowid50
Thank you for the quick feedback, I edited the layout as you told and it works nicely now. :D

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.437 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline