Results 1 to 2 of 2

Thread: Dynamic Multi level fields and acfcp and simply responsive

  1. #1
    Thread Starter
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,571
    Thanks
    103
    Thanked 205 Times in 180 Posts

    Dynamic Multi level fields and acfcp and simply responsive

    Hi,

    For those people that use Dynamic Multi level fields and acfcp and the simply responsive theme this is a little fix for getting the drop down selects working in the custom login template - (registration section) of the simply responsive theme.

    By default the dynamic drop downs work fine in the custom registration template but not the login template.

    So.

    Go here:

    plugins/dynamic-multi-level-fields/acf-bridge

    Open the file ml-acf-bridge.php in your fav text editor.

    On line 17 look for this code:

    if( is_page_template( 'tpl-registration.php' ) || is_page_template( 'tpl-profile.php' ) || in_array( $pagenow, $pagenow_arr ) ) {

    Now add the code in red to the code in line 17.

    if( is_page_template( 'tpl-registration.php' ) || is_page_template( 'tpl-login.php' ) || is_page_template( 'tpl-profile.php' ) || in_array( $pagenow, $pagenow_arr ) ) {


    Save the file and upload it back to your server.

    The dynamic drop downs will now work in both templates.

    Enjoy.

  2. #2
    talent's Avatar
    Join Date
    Jul 2011
    Location
    London UK
    Posts
    3,497
    Thanks
    75
    Thanked 553 Times in 502 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    $function ('CUSTOMIZATION'); } else { .DESIGN { display: awesome; }
    If you require any additional functionality or design customization, just ask. Afterall... anything is possible! However, I may not know how to implement your particular request, but if you don't ask, you don't get

    If you build it, they will come...


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Dynamic Multi-Level Fields incompatibility
    By acheica in forum ClassiPress General Discussion
    Replies: 12
    Last Post: November 17th, 2014, 08:16 AM
  2. [SOLVED] Dynamic Multi-Level Fields plugin & ACF
    By covoiturage in forum Advanced Custom Fields
    Replies: 2
    Last Post: May 14th, 2013, 01:51 PM