Forum Replies Created

Viewing 6 replies - 16 through 21 (of 21 total)
  • Jumping in a ways back – I’m having the issue where a multi-picklist in Gravity Forms is showing up as ‘Array’ in SF.

    lshade, your modified version of the plugin did correct this (awesome!) but has subsequently nerfed all of the other drop-down (single-choice picklists) fields in the form. These now show up with blank values.

    Wondering if there’s a quick tweak to correct this!

    Another curious party here – any luck in getting this working, and if so, how?

    Thread Starter Jason

    (@jasoncamp)

    Great! As I said, it may be something that ‘normal’ users will never see, since they won’t likely stay on any single page long enough for it to manifest. However, I’d love to get it fixed just in case.

    Any info would be appreciated. Thank you and good luck!

    Thread Starter Jason

    (@jasoncamp)

    Gary, thanks. I found this minutes after posting here, but couldn’t change the question to ‘resolved.’

    Would also really like to know if this is possible. If it’s not, it definitely needs to be a feature request for the next version.

    This is a great plugin to have, but the plain vanilla form fields just don’t cut it for any of the SF integrations I work with.

    Thread Starter Jason

    (@jasoncamp)

    I think I figured it out.

    <!-- subnavigation (if children exist) -->
    <?php
    /* if the current pages has a parent, i.e. we are on a subpage */
    if ( $post->post_parent) {
    	$parent_title = get_the_title($post->post_parent);
    	$parent_link = get_permalink($post->post_parent);
    	$children = wp_list_pages("title_li=&include=".$post->post_parent."&echo=0");			// list the parent page
    	$children = wp_list_pages("depth=1&title_li=&child_of=".$post->post_parent."&echo=0");	// append the list of children pages to the same
    }																							// $children variable
    
    /* else if the current page does not have a parent, i.e. this is a top level page */
    else {
    	$parent_title = get_the_title($post->ID);
    	$children = wp_list_pages("title_li=&include=".$post->ID."&echo=0");
    	$children = wp_list_pages("depth=1&title_li=&child_of=".$post->ID."&echo=0"); // form a list of the children of the current page
    }
    
    if ($children) {
    	echo "<div style='width: 220px; background: #e8e0cb; padding: 25px; height: 100%;'>";
    	echo "<a href='" . $parent_link . "'>" . $parent_title . "</a>";
    	echo "<ul style='list-style: none; padding-left: 20px;'>";
    	echo $children; /*print list of pages*/
    	echo "</ul>";
    	echo "</div>";
    } ?>

Viewing 6 replies - 16 through 21 (of 21 total)