multiple selection dropdown using CSContentUtils

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
evo
New Member
New Member
Posts: 6
Joined: Thu Jul 14, 2011 8:10 am

multiple selection dropdown using CSContentUtils

Post by evo »

Hi,

I am using the SimpleTagging module and when I edit the page, I would like to select the tags from a drop down menu.

So I have installed CGContentUtils and made a dropdown block like so:

Code: Select all

{content_module module='CGContentUtils' block='Tags' name='Tags' label='Tags'}
In the template for the page where I want to use it I changed:

Code: Select all

<!-- {content block="Tags" wysiwyg="false" oneline="true"} -->
To:

Code: Select all

<!-- {content_module module='CGContentUtils' block='Tags' name='Tags' label='Tags'} -->
So far so good, it works (see picture), and when I select tags for pages, I also get the related ones (as per the SimpleTagging module), but I can only select 1 tag.

The HTML that is generated looks like:

Code: Select all

 <select class="cms_dropdown" name="Tags"><option value="USSR">USSR</option><option value="europe">europe</option><op ...
I don't have a clue where the class cms_dropdown is defined (and if I should even be changing it). I have tried to find a way to enable the multiple attribute in <select ...>, but no luck yet.
Anyone have an idea on how I can somehow enable multiple selections?

Thanks,

Edwin
Attachments
Screenshot.png
uniqu3

Re: multiple selection dropdown using CSContentUtils

Post by uniqu3 »

AdvancedContent Module has Multiselect option built in, better then hacking a module.
Or you could use checkbox instead of select.
evo
New Member
New Member
Posts: 6
Joined: Thu Jul 14, 2011 8:10 am

Re: multiple selection dropdown using CSContentUtils

Post by evo »

Thank you, that works - and no coding required (I like those solutions best).
Post Reply

Return to “Modules/Add-Ons”