Skip Navigation

[Closed] edit link not being ouput in loop item

This support ticket is created 3 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.

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 3 years, 11 months ago.

Author
Posts
#1950551

Tell us what you are trying to do?
I have two views
the first has (in the loop item)
[types field="email"][/types]
[types field="range"][/types] m
[toolset-edit-post-link content_template_slug="create pilot template"] EDIT Profile[/toolset-edit-post-link]<br />
which does not output past the "m", it seems to have suddenly stopped outputting the link and text
-- can you please advise what could have made it suddenly stop outputting the link

the second view has
[types field="email"][/types]
[types field="range"][/types] miles
VIEW Profile<br />
which works fine, though I'm not sure what determines what form should be used
(currently its "create pilot template")
-- can you please advise what determines which template is selected

#1951995

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

The edit post link will only display for users who have rights to edit the post.

Check with an administrator user if it is working.

Are you using the Access plugin? You may need to go to Toolset > Access Control > Toolset Forms to control which roles are able to use the edit form.

I'm not sure I follow what you mean by the question about which template is selected.

To clarify, Content Templates are typically assigned to a post type, so that posts of that type use the template to display their content.

When using Edit Forms, for them to work correctly it is required that the form itself is inserted into a Content Template, but this would be a template created purely to act as a container for the form, and not assigned to any post type.

Then when you insert the edit post link you choose the content template you created to host the form. (You would ordinarily insert the edit link into a template assigned to the post type, so that it will edit the current post, or in the output of a View displaying posts of that type.)

The topic ‘[Closed] edit link not being ouput in loop item’ is closed to new replies.