WordPress.org

Ready to get started?Download WordPress

Forums

Connections Business Directory
[resolved] Template code no longer working in latest version of Connections (6 posts)

  1. Mindshare Studios, Inc.
    Member
    Posted 3 years ago #

    Hi there - any ideas why this PHP code which worked fine in version 0.7.0.4 no longer works in version 0.7.1.3?

    $directory_query = array();
    $directory_query['template_name'] = 'montand-vcard';
    // extract the last name from the post title and search the connections db for it
    $directory_query['last_name'] = substr(strrchr(trim(the_title('','',false)), ' '), 1);
    $search_result = connectionsEntryList($directory_query);
    echo $search_result;
  2. shazahm1
    Member
    Plugin Author

    Posted 3 years ago #

    I know what the desired result is and it appears that should continue to work... but what is the result now? Nothing, an error message, what?

  3. Mindshare Studios, Inc.
    Member
    Posted 3 years ago #

    It simply outputs "No Results"

  4. shazahm1
    Member
    Plugin Author

    Posted 3 years ago #

    Well, that at least is a good sign. Can you create a test page and manually set the shortcode attributes to see what is returned?

  5. Mindshare Studios, Inc.
    Member
    Posted 3 years ago #

    Hi Steven - I would love to help you troubleshoot this but I don't have the time right now. I just installed the older version again for now. Once things settle down a bit I'll setup a non-live testing site and try the latest version again.

  6. Mindshare Studios, Inc.
    Member
    Posted 2 years ago #

    Just a follow up - this issue seems to have been resolved in the latest version 0.7.1.6

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic