Forums

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

  1. mindshare
    Member
    Posted 1 year 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. Steven Zahm
    Member
    Posted 1 year 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
    Member
    Posted 1 year ago #

    It simply outputs "No Results"

  4. Steven Zahm
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 7 months 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