I have created a Divi themed website. I have been able to do the majority of the work with toolset. However, I am finding it difficult to create a login process with Divi and Toolset. I did follow the process in your documentation and loaded layouts and went through the process of creating a login form. The output created three login forms for some reason see screenshot.
I am aware that the layouts plugin doesn't play well with Divi so have deactivated it. Is there any way I can add the login form when the user is a logged out and then when they log in it the page outputs the my account information which I have been able to configure OK.
Any help or advice is much appreciated.
The website is a draft website I am building for a customer - url is hidden link
Is there any way I can add the login form when the user is a logged out and then when they log in it the page outputs the my account information which I have been able to configure OK.
Hello, yes in general you will follow a similar process but instead of creating new Layouts you will create new Content Templates. You will still use Toolset Access to display your login form to non-logged-in Users.
For example, let's say you create the My Account page. Instead of designing the page with Layouts, you can design the page with the Block Editor, or use the Classic Editor to design it with shortcodes and HTML. In the page, you should insert the content you want your logged-in Users to see, like links to other areas of the site, or Views of their own content.
Then go to Toolset > Content Templates and create a new Content Template. Do not assign this Content Template to any specific content. You can design this Content Template and insert the login form shortcode.
Now in Toolset Access, create a post group for logged-out Users (Guests) and click the Pencil icon next to "Guest" in the Post Group controls (see the instructions and screenshots here: https://toolset.com/documentation/user-guides/building-the-my-account-page/#hiding-the-my-account-page-from-visitors). Choose your login form Content Template to display the login form to all logged-out Users instead of the My Account page content.
Let me know if you have questions about that and I'll try to offer more guidance.
Hi Christian,
Thank you for coming back to me. I was able to resolve the login issue with your guidance. I do however have another question which I hope you may be able to assist me with.
I have completed the steps to allow users to edit their posts and have now got a page that outputs the form to edit specific details from the custom posts I have developed. The issue is it outputs the form in both the header and the footer areas as well as the main content area. Below is a link to one of the customer posts that has a link to it to edit it. if you click that link you will see what I mean.
hidden link
Can you please advise me on why this is happening and it is not outputting in just the main content area.
I have also had to turn off the required options for all the custom fields so I can edit what is shown in the edit customer post form. This opens up the main form to abuse and misuse. I could see no other way of doing this even when I deleted the HTML form it just didn't output with just the fields I was after.
Any advice on why this is happening would be helpful.
I'm not able to see the problem, maybe I need to be logged in as the author User? Could you provide login credentials for me?
Okay I have split the Divi header and footer issue into a separate ticket so we can follow up in more detail.