[Spce-user] adding new user preferences

Andreas Granig agranig at sipwise.com
Wed Sep 7 12:49:01 EDT 2011


Hi,

On 09/07/2011 06:33 PM, Skyler wrote:
>  I am wondering, if the below insert creates a 'checkbox', how would I
> modify this to create a 'dropdown' with a few choices instead?

Drop-Downs are a special case which currently require separate handling
in the code, for example search for "block_in_mode" in
/usr/share/ngcp-www-admin/lib/admin/root/tt/subscriber_preferences.tt.
Same for radio buttons.

There are no plans yet to change this in the near future, but if someone
with some perl/catalyst knowledge can come up with a more flexible
solution which allows for adding drop-downs etc. dynamically as well,
we'll be more than happy to accept patches :)

I guess this would require a slight redesign of the
provisioning.voip_preferences table structure to be able to hold the
content of radio/dropdown elements.

Andreas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20110907/758836fc/attachment-0001.asc>


More information about the Spce-user mailing list