hey mark,
maybe i’m missing something, but after i enabled this plugin and select it in a new custom field, i don’t see any visible “select option”. i assume it is supposed to look similar to the drop-down list? thanks. i’ve attached a grab of what i’m seeing in the cp.
-rws
I’ll look into adding this functionality. I am little hesitant because unless I can build a preference to turn off the preselection I’m sure some people would not apprecieate this.
Anyways, if you’d like to alter the file yourself, just find the following lines and make the necesary changes:
// -- Find This
$select = ($item == $field_data) ? true : false;
// -- Change to This
$select = ($item == $field_data || ($field_data == '' && $key==0)) ? true : false;
// -- Find This
$select = ($entry["entry_id"] == $field_data) ? true : false;
// -- Change to This
$select = ($entry["entry_id"] == $field_data || ($field_data == '' && $key==0)) ? true : false;
That’s off the top of my head though, so let me know if this works.
It’s still adding paragraph tags automatically so this is my EE code -
{if matting_lip == "Yes" OR matting_lip == "No"}<li>Lip?: {matting_lip}</li>{/if}
{if matting_type == "Smooth" OR matting_type == "Spiked"}<li>Type: {matting_type}</li>{/if}
and I get this -
<li>Lip?: Yes</li>
<li>Type: Spiked</li>
I’m not a PHP wizard so I wouldn’t know how to edit any of this.
Over to you Mark!!
PS. I’m using the latest version of Radio Ext and Version 1.6 Build 20070627 of EE.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.