Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Patricia
I just visited your site in Chrome, Edge and IE11 and I see the Google Map widget in he sidebar… actually it looks like a text widget that you used a shortcode or maybe a Google Maps embed code to display a Google map.
Any way it looks like it is working which is should because there is nothing in Connections to prevent Google Maps from working.
Hope that helps!
Steven Zahm
Keymaster@ Aneela
The included default template does not include these features. You need one of the premium templates.
Hope that answers your question!
Steven Zahm
Keymaster@ Campbell
Ok, the issue… YOu have WP Super Cache installed and activated. You were not seeing your changes because WP Super Cache was displaying the old page without the change. Pro Tip: always deactivate your cache when making changes ;)
So, clear that cache and deactivate it and you will see your changes.
Hope that helps!
ps. A couple issues I did see and fixed. The folder was named
connections-templateinstead ofconnections-templates. There was also a coding error in thecard.phptemplate override file.Steven Zahm
Keymaster@ Campbell
I can not see the page, I get “Oops! That page can’t be found.” I’m guessing the page is either a draft or private.
I’m assuming the checkbox fields display fine in the admin and you can use them. Is that correct?
The issue is that you are unable to get them to display text, yes? If that is, can you please share the code that you added to the template so I can take a look?
Steven Zahm
Keymaster@ Cole
Is short, yes, the back link actually is the same as the “Back” browser button. It is actually that way to cover a couple specific use cases. So, that said. I’ve been toying with the idea of removing that event handler for quite awhile. I made a couple minor logic changes that I think covers those while removing the current browser back button behavior. The best of both worlds, I hope. This tweak will be included in the next update which I’ll release tomorrow.
If this tweak has a negative side effects that I have not accounted for, I may have to reverse this change. In that event I have added a filter that can be hooked into to change this behavior too. So, one way or another, I think this will be resolved for you.
Hope that helps!
Steven Zahm
Keymaster@ David
Great to hear that fixed it for you!
Steven Zahm
Keymaster@ Alison
re: 92? Then I’ve been getting some bad information.
It’s not necessarily the number it is the quality that matters the most. Many of these are also single purpose/do one thing type of plugin. You definitely can not add 92 any old plugin without vetting its quality. Which honestly is not something easily done.
Hope that give you a bit more info.
Steven Zahm
Keymaster@ Alison
re: I am quite embarrassed by the number
That’s nothing, I have nearly 92 on this site. All the Connections stuff + the plugins for sales and the forums make the bulk of the plugins.
re: redirect
The redirect seems fine. When submitting a new entry, the redirect goes to the own page. Now this is where the confusion might be coming from when editing and entry, yes, it will in fact refresh to the edit page and does not redirect. This can not be changed right now.
Steven Zahm
Keymaster@ Alison
Here’s a revised code snippet:
add_filter( 'cn_form_edit_entry_before', 'alison_form_before' ); function alison_form_before() { $permalink = cnURL::permalink( array( 'data' => 'url', 'type' => 'home', 'return' => true, ) ); switch ( cnQuery::getVar('cn-process') ) { case 'edit': $string = 'Cancel'; break; default: $string = 'Back to directory'; break; } echo '<a href="' . $permalink . '" style="color: black !important;">' . $string . '</a>'; }You should post the details here as a private reply. The hotmail account is my spam blackhole … I never see that email.
Steven Zahm
Keymaster@ Alison
re: When the user goes to the form I would like them to have the option to go back if they clicked to the form by error or out of curiosity. If they fill the form and change their minds I would like them to have the option to cancel and return to the previous
Maybe something like this???
add_filter( 'cn_form_edit_entry_before', 'alison_form_before' ); function alison_form_before() { $permalink = cnURL::permalink( array( 'data' => 'url', 'type' => 'home', ) ); switch ( cnQuery::getVar('cn-process') ) { case 'edit': $string = 'Cancel'; break; default: $string = 'Back to directory'; break; } echo '<a href="' . $permalink . '">' . $string . '</a>' }re: I set the redirect screen but when the user submits the from it come back to the form.
You receive the success message, but the form is not redirected? Is that correct? Can you attach a screenshot of the Redirect settings? Can I get access so I can see? A temp admin login can be added a private reply.
-
AuthorPosts
