Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.5, do_shortcode, shortcode, template
- This topic has 1 reply, 2 voices, and was last updated 11 years, 8 months ago by
Steven Zahm.
-
AuthorPosts
-
12/11/2014 at 9:17 pm #312721
Casey
GuestI’m currently trying to update from 7.1.6 to 8.1.5 but for the life of me I can’t figure out how to update some code on our site’s page template.
The code in question looks like:$getvalecho=connectionsAlphaEntryList1( array(‘first_name’ => $letter,’order_by’ =>’first_name|SORT_ACS’,’template_name’ =>’display_ profile’) );
–and–
connectionsAlphaEntryList( array(‘first_name’ => $REQUEST[‘char’],’order_by’ =>’first_name|SORT_ACS’,’template_name’ =>’display profile’) );
but neither function seems to exist anymore. Is there an equivalent function, has this been completely removed, or is this a premium template that doesn’t get upgraded along with the plugin?
12/12/2014 at 10:03 am #312733Steven Zahm
Keymaster@ Casey
The
connectionsAlphaEntryList()function never existed in Connections, but judging from the array arguments that is was just a wrapper forconnectionsList()function. Right now, the equivalent iscnShortcode_Connections::shortcode(). This is just transitional thought and will likely break/not exist in a future update.You’re probably better off using the core WP function do_shortcode() for now. Using
do_shortcode()you would have a call that looks something like (untested):echo do_shortcode( [connections first_name=' . $letter . ' order_by='first_name|SORT_ACS' 'template'='profile'] );The
display_profilewas also never a template that existed for Connections. So maybe it was custom created or you meantprofile, which does come with Connections. In the example above I used theprofiletemplate.Hope that helps!
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
