Logout button - Convert to Form

Issues related to the Login tools of WYSIWYG Web Builder.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/login_basics.html
http://www.wysiwygwebbuilder.com/login_tools.html

TIP:
A lot of information about the login tools can be found in the help/manual.
Also checkout the demo template that is include with the software.
Post Reply
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Logout button - Convert to Form

Post by Aris »

Hello!

I wish to locate on my web page (after Signup, Login... ) Logout button.

With right click on this button I see that I may convert it to Form.

1. Is this procedure necessary?
2. If YES, I must follow the same procedure as Signup form > Convert to Form > locate in a layout grid > Enable form etc?

I tried find answers in Login Template. But I cannot fint it.

Thank you.

PS: I work on WEB BUILDER 17X64
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Logout button - Convert to Form

Post by Pablo »

This is from the help:
Convert to Form
All login forms include an option to convert the predefined/fixed form to a standard form (right click on the login form to display the context menu).
This allows you to convert the static form into native Web builder objects so you can fully customize the layout and code if you like.
Note that customizing the PHP code requires knowledge of PHP. Making changes to the code without knowing what you're doing will result in undefined behavior!
Also note that the layout of the form will not be an exact copy of the original form because all input fields are now individual elements. All custom profile fields will be converted to an Editbox.
So, only if you want to modify the code then you can convert the button to a standard form.
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Logout button - Convert to Form

Post by Aris »

Thank you, Pablo.

If a user wishes to Logout or Delete Account, in which webpage I must locate these two buttons?

The first I think is the protecedt page to which she/he is directed upon successful Login. Am I correct?
User avatar
Pablo
 
Posts: 21708
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Logout button - Convert to Form

Post by Pablo »

Correct, you will to put the button on a protected pag.
The Logout or Delete Account forms do not work if the user is not logged in.
Aris
 
 
Posts: 202
Joined: Wed Aug 28, 2013 9:28 am

Re: Logout button - Convert to Form

Post by Aris »

Thank you, Pablo.
Post Reply