User Tools

Site Tools


edit_landing_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
edit_landing_page [2018/01/25 15:44]
lucy [Naming Convention]
edit_landing_page [2018/01/25 15:46] (current)
lucy [Naming Convention]
Line 118: Line 118:
  
   * **index.html** - The first page that the user sees after clicking on the link in the email message. Usually it contains a login form (but you can use it for any other form as well: LUCY simply checks if there is a form based POST request, independent from the from variable names). All other pages are forbidden until the user enters login details on this page. The login form should use a POST method and either point to the same page (have an empty action attribute) or have an action set to "?​login"​ (<FORM action="?​login"​ method="​post">​). If you want to validate logins and passwords using [[regular_expressions_in_login_fields|regular expressions]] ("​Login Regexp"​ and "​Password Regexp"​ fields in Scenario Settings), please set the name of the login field to "​Login"​ and the name of the password field to "​Password"​. ​   * **index.html** - The first page that the user sees after clicking on the link in the email message. Usually it contains a login form (but you can use it for any other form as well: LUCY simply checks if there is a form based POST request, independent from the from variable names). All other pages are forbidden until the user enters login details on this page. The login form should use a POST method and either point to the same page (have an empty action attribute) or have an action set to "?​login"​ (<FORM action="?​login"​ method="​post">​). If you want to validate logins and passwords using [[regular_expressions_in_login_fields|regular expressions]] ("​Login Regexp"​ and "​Password Regexp"​ fields in Scenario Settings), please set the name of the login field to "​Login"​ and the name of the password field to "​Password"​. ​
-  * **account.html** - The page that the user sees after entering valid login and password values (or any other forma based data). If you are missing the account.html page, you will see the [[not_found_pages_404|standard 404 error page]] in LUCY, which also can be customized. If you want to redirect the user directly to some other page than the account.html (e.g. the awareness site), please check out [[redirecting_users|this chapter]].+  * **account.html** - The page that the user sees after entering valid login and password values (or any other forma based data submitted on the index page). Please note, that all submitted data on the index page is recorded in LUCY and [[monitor_a_campaign_statistics|visible in the statistics]]. If you are missing the account.html page, you will see the [[not_found_pages_404|standard 404 error page]] in LUCY, which also can be customized. If you want to redirect the user directly to some other page than the account.html (e.g. the awareness site), please check out [[redirecting_users|this chapter]].
  
 For other pages you can choose any other name. This applies to web based templates. On file based templates, LUCY does not expect a second page. Therefore, you only have 1 index page. If you still need multiple pages, you need to solve this with JavaScript. Please check out the template "​Encrypted Mail (Download Only)" as an example for a file based template with multiple pages. For other pages you can choose any other name. This applies to web based templates. On file based templates, LUCY does not expect a second page. Therefore, you only have 1 index page. If you still need multiple pages, you need to solve this with JavaScript. Please check out the template "​Encrypted Mail (Download Only)" as an example for a file based template with multiple pages.
edit_landing_page.txt ยท Last modified: 2018/01/25 15:46 by lucy