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.
- This topic has 3 replies, 2 voices, and was last updated 11 years, 2 months ago by
Steven Zahm.
-
AuthorPosts
-
05/27/2015 at 4:37 am #335758
Gill Greene
GuestI have added the contact extension with CMap template but the only way to go to the contact page is by clicking the name of the entry. There is a shortcode for str_contact=’Contact’ but this does not show up at all. How can I get the contact form to show up in the list view or at least for there to be a link to the single entry page where the contact form is.
05/27/2015 at 10:47 am #335780Steven Zahm
Keymaster@ Gill
The
str_contactshortcode option is only to customize the label of the contact first and last name. That field is available when adding an organization entry type. I guess the short answer would have been that shortcode option is not a feature of the Contact form.Currently the only way to access the contact form is by way of the entry profile page. That said, with a bit of code, it can be enabled in the results list too.
Install the Code Snippets plugin.
Add a new snippet with the following code:
add_filter( 'cn_content_blocks-list', array( 'CN_Contact', 'settingsOption') ); add_action( 'wp_enqueue_scripts', 'cn_contact_enqueue_scripts', 12 ); function cn_contact_enqueue_scripts() { if ( ! get_query_var( 'cn-entry-slug' ) ) { wp_enqueue_style( 'cnct-public' ); wp_enqueue_script( 'cnct-public' ); } }Save and activate the snippet.
Go to the Connections : Settings admin page and click the Display tab.
Enable the Email Entry option under the Results List Content Blocks.
Now the Contact form will be shown on the results list.
But, for it to actually function, I need to release an update to Contact that contains a couple minor tweaks. I’ll try to release it this week.
Hope that helps!
05/28/2015 at 4:43 am #335836Gill Greene
GuestThank you, that’s great! Please let me know when you have made the update.
05/28/2015 at 8:32 am #335886Steven Zahm
Keymaster@ Gill
I actually released it yesterday.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
