@slorenz
it does NOT like having a comma in there! It tries to interpret this as two entries.
Have you tried HTML entity?
Read the first technical note on this page to give you an idea of other situations one would want to use HTML entities. Could be a similar fix in your situation?
Hth’s, M
Hi,
Can you put the , in the “Smith, J.” input?
For example:
“Smith, J.”
… Will output as this via HTML: “Smith, J.”
Alternatively, you could just change the separator via the extension’s options. Instead of using a comma to separate the items, use a pipe “|” character?
You could even use a little PHP to turn the pipes back to commas, if that is your goal.
Or, use PHP to convert the commas, in your list of names, into , before using this plugin:
<?php
function fix_comma($str) { return str_replace(",", ",", $str); }
$name = fix_comma("Smith, J.");
echo $name; // Should output "Smith, J."
?>
Hth’s! 😊
Cheers, Micky
Thanks for this great extension 😊
Having a slight issue: I’ve uploaded the extension; once Enabled EE returns an error:
Error Unable to load the following language file: /lang.multi_drop_down_list.php
Now, I cannot access my CP or anything on the ‘system’. Can’t even Disable the Extension.
Any thoughts on how to resolve this?
Cheers !!
Anyone know what the field type is for multiselect? I’m making a user blog submission template ( http://expressionengine.com/docs/modules/weblog/entry_form.html ), and of course it’s got areas for things like pulldown and such. I’ve tried multiselect, but it’s not happening. Works fine from the control panel’s publish area. Anyway know?
Thanks!
-Daniel
This could have changed, but the multiselect option was an extension, not native to Expression Engine. Which means you’ll need to custom code the form for it. It’s pretty easy to do; just use the ee form code to create the form first. Once the form renders with all the field data you need, do a view source code. Copy what you need and place that on the template that was priorly using the EE entry form. Then modify using basic html.
I am getting about 115 SQL queries when not even calling on this extension, is there any reason this might be happening. Here is the SQL.
SELECT f.field_id, f.field_name, f.field_pre_populate, f.field_pre_blog_id, f.field_pre_field_id FROM exp_weblog_fields AS f, exp_weblogs AS w WHERE w.weblog_id=13 AND f.group_id=w.field_group AND f.field_type='multiselect'
UPDATE: I got this issue resolved and was not related.
There may be a problem with this extension for the latest builds of EE. I’m getting the following error:
Warning: Typography::require_once() [typography.require-once]: Unable to access ./admin/plugins/pi..php in /var/www/vhosts/projects.somewebsite.org/httpdocs/admin/core/core.typography.php on line 475 Warning: Typography::require_once(./admin/plugins/pi..php) [typography.require-once]: failed to open stream: No such file or directory in /var/www/vhosts/projects.somewebsite.org/httpdocs/admin/core/core.typography.php on line 475 Fatal error: Typography::require_once() [function.require]: Failed opening required ‘./admin/plugins/pi..php’ (include_path=’.:’) in /var/www/vhosts/projects.somewebsite.org/httpdocs/admin/core/core.typography.php on line 475
It isn’t able to find the proper plugin, but I think it’s because your multi dropdown fields are not adding “none” or something other than “NULL” to the field_ft_X column for the field in exp_weblog_data. Or perhaps it should be putting “multiselect” in there?
I’m going to try to week through the extension and see if I can confirm this issue. Anyone else experiencing this?
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.