Development Peeps,<div><br></div><div>I'm thinking of a module called: Select Option Values<div><br></div><div>It would pull out part of CCK's text.module functionality from admin/content/node-type/<type machine name>/fields/field_<field name> and put it on its own admin page with it's own permission. The problem with the location of the setting, as it is now, is that you have to have "administer content-type" permissions in order to get there and that is something rarely given to a client, at least in my experience.</div>
<div><br></div><div>But the allowed values maintenance for a select list is something I <i>want</i> to give over to client content-editors/admins.</div><div><br></div><div>My current workaround is that I designate the body field of a particular unpublished node for that purpose and provide a link to it in a the custom admin area I typically build for site editors.</div>
<div><br></div><div>I put the following code in the "<span class="Apple-style-span" style="font-family: 'Trebuchet MS', Helvetica, Tahoma, Verdana, Arial, sans-serif; font-size: 12px; line-height: 18px; ">Advanced usage only: PHP code that returns a keyed array of allowed values.<span class="Apple-style-span" style="font-family: arial; line-height: normal; font-size: small; ">":</span></span></div>
<blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
<font face="'courier new', monospace">$node = node_load(17); // Replace "17" with node id of node containing options.</font></div></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
<font face="'courier new', monospace">$body = strip_tags(str_replace("\r\n","~",trim($node->body)));</font></div></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div>
<font face="'courier new', monospace">$arr = explode("~",$body);</font></div></span></div><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div class="im" style="color: rgb(80, 0, 80); ">
<div><font face="'courier new', monospace"><font class="Apple-style-span" color="#000000">return drupal_map_assoc($arr);</font></font></div></div></span></div></blockquote><div><font class="Apple-style-span" face="'courier new', monospace"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><span class="Apple-style-span" style="border-collapse: collapse; "><font class="Apple-style-span" face="arial, helvetica, sans-serif">That work-around is okay, but it does feel like a work-around better solved by a module.</font></span></div>
<div><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; border-collapse: collapse; "><br></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; "><font class="Apple-style-span" face="'courier new', monospace"></font></span><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; border-collapse: collapse; ">Does this exist and I didn't find it? Is it needed in your estimation?</span></div>
<div><span class="Apple-style-span" style="border-collapse: collapse;"><font class="Apple-style-span" face="arial, helvetica, sans-serif"><br></font></span></div><div><span class="Apple-style-span" style="border-collapse: collapse;"><font class="Apple-style-span" face="arial, helvetica, sans-serif">Shai</font></span></div>
</div>