after more trouble shooting I think I have it,
You guys made this soooooo much more difficult, adding at least 3 more steps to this process, IF you are going to change things may I suggest simplifying things. You did the exact same thing to maps, you added more steps and created huge issues and your documentation over all just plain sucks. It is soooo frustrating. some of us are business owners not website designers and developers we don't have time to continuously relearn how to create or NOW fix content using your plugin.
I now have 4 more images of how the ONE edit form for networking has broke the images on the bottom of the edit the post form's page. seriously these things have absolutely NOTHING to do with the editing form that is above it. now they are broken. you completely compounded this entire issue all because someone decided to make your process more complicated. Just UGH
here is the link to the edit post form page - take a look at the entire page notice an issue?
hidden link
it really just isn't okay. it really isn't
refer to https://toolset.com/forums/topic/cannot-add-the-cred-edit-link-to-anything/#post-617071
I see what you're describing, when the CRED edit form Content Template is applied to this page, the posts shown in the Sidebar Ads View and the posts shown in the Referrer Grid View also include edit forms. I ran some tests locally and I can reproduce this issue reliably in a similar scenario. The following shortcode used in a View's loop output will be replaced with a CRED form when a CRED form Content Template is applied to the current post via a URL parameter:
[wpv-post-body view_template="None"]
I apologize for the inconvenience this is causing. As a temporary fix, I can apply conditionals around the Content Templates inside the Sidebar Ads and Referrer Grid Views, which will prevent the additional CRED forms from being displayed, but will hide the post content of each result in the sidebar and referrer grid. Here is the code I will use in the Sidebar View:
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' )"]<center>[wpv-post-body view_template="None"]</center><br>[/wpv-conditional]
Here is the code I will use in the Referrer Grid View:
[wpv-item index=1]
<tr>
<td>
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' )"]<center>[wpv-post-body view_template="None"]</center>[/wpv-conditional]
</td>
[wpv-item index=other]
<td>
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' )"]<center>[wpv-post-body view_template="None"]</center>[/wpv-conditional]
</td>
[wpv-item index=5]
<td>
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' )"]<center>[wpv-post-body view_template="None"]</center>[/wpv-conditional]
</td>
</tr>
Please let me know if you would like me to go ahead and make that temporary adjustment. I have passed this diagnosis along to my 2nd tier support team. I will let them know what's going on, and I will update you when I have some additional information to share.
Christian,
THANK YOU.
Okay - I have to admit I you overwhelmed me and I am not sure exactly what you are doing but you by all means can do what you need to, to fix it.
Here is my next question and concern. I literally have 15 more forms I want to create like this, I am assuming they will all do the same thing.
It looks to me, unless I am misunderstanding, like the content you are adding will prevent this from happening to additional forms I need to create. Is that correct?
If I am incorrect, let me know. I can try to reverse engineer what you do otherwise I just need to confirm where you go.
Thank you so very much for looking for a solution, not just tossing documentation at me.
Thank you
Lori
by all means can do what you need to, to fix it.
Done for now, the temporary fix is in place. The sidebar and referrer views look fairly empty now, while we standby for some feedback from the team.
It looks to me, unless I am misunderstanding, like the content you are adding will prevent this from happening to additional forms I need to create. Is that correct?
It depends on where the additional forms are shown on the site. In the current example, the CRED edit form is shown on a page that contains two other Views (sidebar and referrer grid). The fix is actually placed in those 2 other Views, not in the CRED form. So I can't say for sure the fix will work for the additional forms. If those additional forms are shown on pages that include different Views, the fix will not work there. I can go in and add similar conditionals to those other Views, though, it will take me a few minutes tops. Let me know if that's the case, and where I can see the problems appearing on your site once you add the new forms.
Christian,
Thank you again, I left this open only cuz I am not sure if I need you more or not.
I am assuming no, because the rest of the forms will also be on posts that have the same content.
I still have to finish them, due to this issue and not knowing if I had to alter thing or not I held off on the rest.
Thank you again so very much I appreciate it.
Lori
Christian,
I apologize, I just reviewed the page with the networking event edit form and it is still doing the same thing on my end.
thanks
Lori
Can you tell me where to find that form on the front-end (what URL)? I will take a look as soon as I can.
This is the page where I have the working post list: hidden link
if you click on edit post in the far right box you go to : hidden link this is what I am looking at.
here is the link to the view for this particular issue.
Thank you again
Lori
Okay I edited both Views:
hidden link
hidden link
I modified the conditionals to work with this Content Template ID as well:
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' ) AND ( '[wpv-search-term param='content-template-id']' ne '62945' )"]
If you find this issue popping up on other pages, find the Content Template ID in the page URL and insert it in this template:
AND ( '[wpv-search-term param='content-template-id']' ne '12345' )
Replace 12345 with the ID of the Content Template from the URL, then paste the template code just before the last double quote mark:
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' ) AND ( '[wpv-search-term param='content-template-id']' ne '62945' ) AND ( '[wpv-search-term param='content-template-id']' ne '12345' ) "]
I'll be glad to do that for you if you tell me which pages have the problem.
Hi Christian,
Thank you so much, Okay i lost the images, see the image below, and all the thank you for your referral images are gone. BUT this is way better than having all the other forms. If it is still being evaluated by others I can hold off on any further fixed till then. I just wanted you to know that the images have left.
Thank you so very much
Yes the missing images are, unfortunately, a side effect of the temporary solution. I will keep you posted as we work towards a more long-term resolution.
Perfect, thank you so very much!!
Hi, we have published an erratum post about this issue, including a patch file. Please apply the patch as described there, and then you can try to remove the conditionals added as a temporary solution. Let me know if the problem is not resolved. The permanent fix will be included in the next stable release of Views.
I appreciate that this is fixed. Unfortunately I don't know where to find the patch, nor do I know how to remove the conditionals added for the temporary fix. What I do know is that the site is broken in the chrome browser at this moment, which is probably another issue.
Unfortunately I don't know where to find the patch
Please find the erratum post and patch file here: https://toolset.com/errata/content-templates-in-cred-edit-link-target-replaced/
nor do I know how to remove the conditionals added for the temporary fix
I added conditionals to the View in this post:
https://toolset.com/forums/topic/here-is-the-link-to-the-edit-post-form-page-take-a-look-at-the-entire-page-notice-an-issue/#post-617218
The conditionals look like this:
[wpv-conditional if="( '[wpv-search-term param='content-template-id']' ne '62933' )"]<center>[wpv-post-body view_template="None"]</center>[/wpv-conditional]
Remove the wpv-conditional tags around the "center" tags and you are left with the original code:
<center>[wpv-post-body view_template="None"]</center>
Edit both of these Views the same way to remove the wpv-conditional tags:
hidden link
hidden link
Then in this post I gave you instructions to make similar changes in other Views:
https://toolset.com/forums/topic/here-is-the-link-to-the-edit-post-form-page-take-a-look-at-the-entire-page-notice-an-issue/#post-618070
If you made changes in other Views, you should edit those Views now and remove the wpv-conditional tags.