Skip Navigation

[Resolved] page template for on-the-fly cred edit forms

This support ticket is created 7 years, 9 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 3 replies, has 2 voices.

Last updated by Beda 7 years, 9 months ago.

Assisted by: Beda.

Author
Posts
#414624

When my front-end user clicks on the EDIT link from a post - they are taken to an "on the fly" page with the CRED Edit form - ready for editing.

On my site - when this happens - the page where the Edit form appears is set up to have a right sidebar. But I don't want a right side-bar - I want it to be a full-size page.

Where do I change the setting for what page format the Edit form link will link to?

(I am using DIVI theme)

Thanks.

Elise

#414770

I understand you use the CRED Edit LINK, correct?
So, that means after you click on "Edit", the system will simply add the CRED form to your current Post style with which you do show your actual Post.

If you do not want a Sidebar in the Form, but you want it in the Post itself, you have this option:

1. Create another Page with no sidebar
2. Insert the CRED Edit FORM, not the link, to it
3. Link to that Form, from your post, but not with the CRED ShortCode.
Instead, you create the Link manually by adjusting it's Post ID:

link-to-your-page/?cred-edit-form=[wpv-post-id]

4. This above Link is inserted to your POST which you want to edit and it will link to the page with the Post Edit Form, passing the Post ID in the URL

#414841

Hmm. I tried your option.

I created a page:
hidden link

I inserted the Edit form (didn't even realize I could do that by using the "Advanced Options" when inserting a Cred form) - so the call on that page says:
[cred_form form='285' form_name='Answer Edit Form']

In the view where I am calling the CRED form - I placed this link:
<a href="hidden link;">  <u><b>Take Test</b></u></a>

When I click the link from the front end, the page URL reads:
hidden link

So that all seems right - and yet the page is blank - no form displayed at all.

Can you see what I'm doing wrong?

(By the way - I wouldn't mind if the standard post format had no sidebar for the whole site - but I can't figure out how to set that)

Thanks!

Elise

#414967

Do you use Access Plugin?
If so please head to Access Control > CRED Forms > your_form/user and enable the Read/Edit capabilities.

I might have made an error though.

Please try this trick:

1. In any page body where you want your CRED Form insert:

[cred_form form='62' form_name='Posts' post='[wpv-search-term param='id']']

- Change of course the CRED Form ID, form_name
- Change the param="id" in the wpv-search-term to whatever you want.

2. In your View, build a Link to that above Page as the following:

<a href="<em><u>hidden link</u></em>">Link Text here</a>

3. If you click this link, now you should be lead to:

<em><u>hidden link</u></em>

This should now show the CRED Form, with content from the proper Post.

If you want to change your Template you need to edit your Theme.
Or, you can use Layouts and integrate it to your Theme, then, style your templates on your own.

DIVI is already integrated with Layouts:
https://toolset.com/documentation/user-guides/toolset-divi-integration/

If you have struggle with this, please open a new Thread with the Topic.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.