Forum Replies Created
-
AuthorPosts
-
ajayphpMemberHi,
normally we use class for css
and id for jquery function call or modification
and data-attribute still doubt of compatible with all browser
and you should take this in notice to make something on this in future
Regards,
ajayphpMemberThx.
ajayphpMemberHi,
I got resolve this, but there is bug
when saving field with scope = “post”then post_title is saved but then post_name which usually lowercaes without space dynamically
save for url access. (did not saved)so how can i resolve this.
– i tried with the example of update field,
but here is not mention how to get the filled value of first field to auto update second fieldpiklist('field', array( 'type' => 'select' ,'field' => 'master_field' ,'label' => 'Master field' ,'choices' => array( 'update_field' => 'Update' ,'no_update_field' => 'No update' ) ,'conditions' => array( array( 'type' => 'update' ,'value' => 'update_field' ,'field' => 'my_field' ,'update' => 'Hello World!' ) ) )); piklist('field', array( 'type' => 'text' ,'field' => 'my_field' ,'label' => 'Show/Hide Field' ,'description' => 'This field is updated by the Select field above' ));How to update the “master_field” update value to another “my_field” value
or how to get value dynamically of another field.??
ajayphpMemberHi,
Pls pls tell me tab content(fields) file location ?
and where you mention in doc about field-group
and what is difference between followings:
+++
piklist(‘field’, array(
‘type’ => ‘group’
,’label’ => ‘Address (Un-Grouped)’
,’description’ => ‘An Un-grouped field. Data is saved as individual meta and is searchable.’
,’fields’ => array(
array(+++
piklist(‘field’, array(
‘type’ => ‘group’
,’field’ => ‘address_group’
,’label’ => ‘Address (Grouped)’
,’list’ => false
,’description’ => ‘A grouped field. Data is not searchable, since it is saved in an array.’
,’fields’ => array(
array(+++
,’add_more’ => true+++
ajayphpMemberHi,
could you tell how we bind the tab click event
to trigger save data of previous tabs,also alert on select tab , leave tab or loose / save data,
better if we can save auto.or call tabs content with ajax rather http url request
ajayphpMemberHi,
code: +++++++++++
piklist(‘shared/field-api’, array(
‘location’ => __FILE__
,’type’ => ‘Workflow Tab’
));
+++++++++i saw this code in add on piklist example:
it seems calling fields file and passing variable to that file.can we put the fields declation direct here ?
or what is the way to include tab fields content file ?
with this workflow tab ?
ajayphpMemberHi,
got it have to mention “Default: true” in comment area
ajayphpMemberjust to add: how to add this link to cpt add new item menu to show first tab as these are fields
ajayphpMemberHi,
I asked how to set validation for existing wp fields title of custom post type.
ajayphpMemberHi,
Hope you have not read completely.
Okay tell me if wp auto update will not able to activate piklist after downloading and unzip
the plugin, then wp not able to redirect or display admin .then what happened as other plugins which were depend on piklist stop working
and could not load the wp admin.what should do in that case…
suggestion: what could be in the plugin checker file, if piklist class file there
and able to load class and force fully activate the core plugin.you can share you opinion on this..?
Piklist is gr8 as you are creator.
Regards,
ajayphpMemberHi,
I found the error :
https://piklist.com/user-guide/docs/piklist_pre_update_option/
please correct on the doc page, this took my lots of hours and have to make own solutions,
which is not needed if to be correct, never mind, happens ,take care next timeChange this to :
add_filter(‘piklist_pre_update_option’,’biztel_sms_send_update’,10,3);
WITH
add_filter(‘piklist_pre_update_option’,’biztel_sms_send_update’,10,4);corrected – error gone as in doc you passing 3 args, but actually 4 – so 4th $old was not passing
ajayphpMemberHi,
if there would you add piklist_save_hook, then we could get form data and create custom query there.
so , could you guide me how can i add that hook , till you add this support for adding data custom table
please suggest me for now how to achieve this ..
November 10, 2014 at 11:20 am in reply to: how to add piklist_admin_pages without post type, independent admin pages ? #2724
ajayphpMemberHi,
could you explain in detail how to save “Piklist About Page,” data to custom table,
not of any wp optionsi created as setting page, but not able to save data on submit..
one issue is form action url is always – option.php
so hope you have to add some patch for this functionality and form attribute to change param options .
ajayphpMemberHi,,
piklist_pre_update_option is filter not action hook
i tried with filter – piklist_pre_update_option
but i these are not related to wp setting its form data relate to custom table.
so here should be action hook .. with not returning data.
-
AuthorPosts