Forum Replies Created

Viewing 15 posts - 1 through 15 (of 26 total)
  • Author
    Posts
  • in reply to: custom id for field attribute #2820
    ajayphp
    Member

    Hi,

    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,

    in reply to: submenu for custom post type #2815
    ajayphp
    Member

    Thx.

    in reply to: cpt replacing-wordpress-post- title #2803
    ajayphp
    Member

    Hi,

    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 field

      piklist('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.

    ??

    in reply to: in workflow tab values are not saving #2795
    ajayphp
    Member

    Hi,

    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

    +++

    in reply to: in workflow tab values are not saving #2791
    ajayphp
    Member

    Hi,

    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

    in reply to: in workflow tab values are not saving #2789
    ajayphp
    Member

    Hi,

    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 ?

    in reply to: workflow tab pre selected on page load #2762
    ajayphp
    Member

    Hi,

    got it have to mention “Default: true” in comment area

    in reply to: workflow tab pre selected on page load #2760
    ajayphp
    Member

    just to add: how to add this link to cpt add new item menu to show first tab as these are fields

    in reply to: how wp default cpt title field to required field #2757
    ajayphp
    Member

    Hi,

    I asked how to set validation for existing wp fields title of custom post type.

    in reply to: piklist update issue #2751
    ajayphp
    Member

    Hi,

    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,

    in reply to: how to display setting page content above the form #2736
    ajayphp
    Member

    see snapshot

    Attachments:
    You must be logged in to view attached files.
    in reply to: piklist_pre_update_option – $old array error #2732
    ajayphp
    Member

    Hi,

    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 time

    Change 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

    in reply to: piklist_pre_update_option – $old array error #2729
    ajayphp
    Member

    Hi,

    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 ..

    ajayphp
    Member

    Hi,

    could you explain in detail how to save “Piklist About Page,” data to custom table,
    not of any wp options

    i 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 .

    in reply to: how to save data of custom admin_page form #2723
    ajayphp
    Member

    Hi,,

    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.

Viewing 15 posts - 1 through 15 (of 26 total)