Forum Replies Created
-
AuthorPosts
-
jmayhakMemberSolved! I was using 0.9.4.25. 0.9.5u solved the problem.
jmayhakMemberI noticed that the above code works in a meta-box for a post but does not work for settings. Could there be a bug when using conditions in a grouped field in the settings area?
On line 140 of /parts/js/piklist.js is where everything is hidden (I can see the form but all the inputs are marked hidden). It’s like the toggle functionality is getting triggered on page load.
This is the function process_fields of the class PiklistFields
jmayhakMembergot it.
Doesn’t seem to be working with the 0.9.5m version either.
jmayhakMemberwhoops. I was experimenting with the scope property. If I remove it the same things happens.
September 8, 2014 at 2:26 pm in reply to: Code update in order to remove warning for settings pages #2391
jmayhakMemberThat works for me. Thanks!
September 5, 2014 at 9:05 am in reply to: Do admin page setting changes require manage_options permission? #2377
jmayhakMemberGot it working. Thanks for the help!
September 4, 2014 at 2:24 pm in reply to: Do admin page setting changes require manage_options permission? #2370
jmayhakMemberRight, so the current capability of “manage_scda” is a permission the user has but is still unable to save. If I add the permission “manage_options” to the user, said user can now save without altering the capability setting in Piklist.
If I change the capability to “read”, the user can still not save.
It seems that “manage_options” is a required permission for the user to have to save. The capability setting does not affect whether or not a permission is checked, it seems.
jmayhakMemberIt’s just that one
jmayhakMemberI think the visual editor turned it into a “
jmayhakMemberIt’s actually two of the ‘ character.
jmayhakMember<?php
/*
Title: Employee Information
Post Type: employee
*/piklist(‘field’, array(
‘type’ => ‘text’,
‘field’ => ‘_scda_email’,
‘label’ => ‘Email’,
‘description’ => ”,
‘columns’ => 12,
‘attributes’ => array(
‘class’ => ‘text’
)
)); -
AuthorPosts