Skip Navigation

[Resolved] Add an editing link to a view/page

This support ticket is created 4 years, 11 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Tagged: 

This topic contains 20 replies, has 2 voices.

Last updated by nicolaS-3 4 years, 11 months ago.

Assisted by: Shane.

Author
Posts
#1408621

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nicola,

It sounds like your website will have users who own their particular store.

What you can do is add the view list to the account page and set the view to list only that users stores and that view will also have the edit link.

There is also a way to just add your edit form to your page and to just hard link to it and pass the store id in a link.

Take a look at this example below.


[cred_form form="edit-car" post="[wpv-search-term param='id']"]

The above is how you will add the form to the edit page that you want.

This below is how you will construct your url to the form to pass the post ID to the form.

<a href='urltoform/?id=[wpv-post-id]'>Edit Post</a>

Please let me know if this helps.
Thanks,
Shane

#1408863

Hi Shane,
exactly right, my users (companies only) will be able to enter their own shops and promotions. The solution you describe here is exactly what I was looking for and I immediately implemented it, although when the page opens I don't see the edit form but the following message: No form specified. The link opens the right page but it seems that the ID is not passed (even though the link seems ok, see this example hidden link.
The page includes this form:
[cred_form form="edit-negozio" post="[wpv-search-term param='id']"]
Please let me know
Kind regards
Nicola

#1408949

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nicola,

I saw the issue and have resolved it.

The problem was that your code was inserted with some extra HTML tags which caused the implementation to break.

I've removed the extra HTML tags and the code is now working.

Thanks,
Shane

#1409001

Hi Shane,
thiis is great thanks, exactly what I wanted ! I'd have some other generic questions about forms, can I post them here or better create another ticket ?
Regards
Nicola

#1409003

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Nicola,

It would be best to post those questions in a separate ticket since we have resolved the original issue of this thready.

Thanks,
Shane

#1409031

My issue is resolved now. Thank you!