Sauter la navigation

[Résolu] Relationship Forms breaking the layout of layouts

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
Relationship Forms breaking the layout of layouts

Solution:
If you are using Layouts to add relationship forms, insert the Visual Editor cell and click the Toolset Forms button inside that cell

Relevant Documentation:
=> https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/creating-new-connections-between-related-posts/#connecting-child-posts-to-a-specific-parent

This support ticket is created Il y a 5 années et 8 mois. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par alexG-4 Il y a 5 années et 8 mois.

Assisté par: Minesh.

Auteur
Publications
#1226717

I am displaying two Cred relationship forms in Tabs within a Layout.

The first problem is that the contents of both tabs is displayed at the same time.

The second problem (which may actually be the cause of the first, it's just occurred to me..) is that when a relationship form is displayed, any contents to the right of the form wraps around and appears underneath the relationship form.

You can see this in this video
lien caché

I'm not sure what I might have done wrong in creating the forms - it's a bit of an involved process.

In each case, I created a Content Template into which the form shortcode was placed.

As an example, one of those content templates contains

[cred-relationship-form form='lists-for-affiliates-associated-with-funnels' child_item='$current']

(although it seems to work fine in may case without the "child_item" argument)

Thanks

#1226730

OK - I figured what I'm doing wrong.

Instead of insert the form via a Content Template and using a Relationship Form cell in Layouts, I should be using a Visual Editor cell, and picking the form directly via the Toolset Forms button within the Visual Editor cell.

That all works fine now!

But I'd like to understand when to use a Relationships Forms cell, and a Content Template. I find the documentation confusing, I'm afraid. I read it and went down the wrong track completely.

Thanks.

#1226955

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - I understand that its bit hard to understand when to use the content template and when to use Visual Editor cell but if you check the following Doc we clearly mentioned that with the step #4:

Edit the template created for displaying single-album pages and click the Toolset Forms button. If you are using Layouts, insert the Visual Editor cell and click the Toolset Forms button inside that cell. Insert the link to the newly created Relationship Form.

That, If you are using Layouts, insert the Visual Editor cell and click the Toolset Forms button inside that cell.

More info:
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/creating-new-connections-between-related-posts/#connecting-child-posts-to-a-specific-parent

#1227114

My issue is resolved now. Thank you!