Skip Navigation

[Resolved] Redirection to template layout is not working

This thread is resolved. Here is a description of the problem and solution.

Problem:
Redirection to template layout is not working

Solution:
I simply assign the layout to display with "My Account" page and now when I try to access My Account page without login it displays the login form as expected.

You can find proposed solution, in this case, with the following reply:
https://toolset.com/forums/topic/redirection-to-template-layout-is-not-working/#post-902169

Relevant Documentation:
https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/

This support ticket is created 6 years, 7 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
- 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)

This topic contains 3 replies, has 2 voices.

Last updated by phuong-phiD 6 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#894824
my account.png
login form.png
set permission.png
access logged in.png

I am following this guide https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/
Everything in the guide works fine except "Setting the login form layout to appear on the “My account” page for visitors"

When I select default error then it correctly shows "This page doesn't seem to exist."
But if I select a template layout it shows "You are logged in as ()"

Also "Preview error" doesn't work. Instead of simulating a guest account, it shows I'm logged in as admin.

#895133

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - are you sure, you have setup the post group as specified in the link:
=> https://toolset.com/documentation/user-guides/cred-training-course/part-7-building-account-page-login-form/#setting-the-login-form-layout-to-appear-on-the-my-account-page-for-visitors

If yes, I need to check on your setup whats going wrong there:
=> Please share problem URL.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).

I have set the next reply to private which means only you and I have access to it.

#902169

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Could you please check now: hidden link

I simply assign the layout to display with "My Account" page and now when I try to access My Account page without login it displays the login form as expected.

Could you please confirm.

#904555

Thank you. That solved the problem.

I didn't use the "Content Layout Editor" / Template Layout for the page. Does that mean Access only works with Layouts?