README 1.1 KB

12345678910111213
  1. CustomPages looks for alternatives in this directory, and displays them if present. The user-provided custom pages must exactly be named as such :
  2. - index-logged.php for the general landing page before login
  3. - index-unlogged.php for the general landing page when already logged-in
  4. - registration.php for the registration form
  5. - registration-feedback.php for the registration success feedback
  6. - lostpassword.php for the password recovery form
  7. - lostpassword-feedback.php for the password recovery feedback page
  8. Important note :
  9. If you pull this feature from a repo, not through an upgrade or install process, you have to exectute the following SQL statements in the main database or this option won't appear in the admin interface :
  10. INSERT INTO settings_options (variable, value, display_text) VALUES ('use_custom_pages', 'true', 'Yes'), ('use_custom_pages', 'false', 'No');
  11. INSERT INTO settings_current (variable, type, category, selected_value, title, comment, scope) VALUES ('use_custom_pages','radio','Platform','false','UseCustomPages','UseCustomPagesComment', 'platform');