Renames the custompages php files in order to avoid overwrites

See #7471
1.9.x
Julio Montoya 10 years ago
parent 462f855062
commit 7f55f83751
  1. 13
      custompages/README
  2. 27
      custompages/README.md
  3. 0
      custompages/first_login-dist.php
  4. 0
      custompages/index-logged-dist.php
  5. 0
      custompages/index-unlogged-dist.php
  6. 0
      custompages/loggedout-dist.php
  7. 0
      custompages/lostpassword-dist.php
  8. 0
      custompages/registration-dist.php
  9. 0
      custompages/registration-feedback-dist.php

@ -1,13 +0,0 @@
CustomPages looks for alternatives in this directory, and displays them if present. The user-provided custom pages must exactly be named as such :
- index-logged.php for the general landing page before login
- index-unlogged.php for the general landing page when already logged-in
- registration.php for the registration form
- registration-feedback.php for the registration success feedback
- lostpassword.php for the password recovery form
- lostpassword-feedback.php for the password recovery feedback page
Important note :
Enable the use_custom_pages setting
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 :

@ -0,0 +1,27 @@
Custom pages
=============
CustomPages looks for alternatives in this directory, and displays them if present.
The user-provided custom pages must exactly be named as such :
- index-logged.php for the general landing page before login
- index-unlogged.php for the general landing page when already logged-in
- registration.php for the registration form
- registration-feedback.php for the registration success feedback
- lostpassword.php for the password recovery form
### Installation
- Enable the use_custom_pages setting
- Create your own modifications based in the files with the suffix "-dist.php"
### Important notes
- Do not replace the images in the images/ directory.
Instead, create new images, as the current ones will be overwritten
by each Chamilo upgrade.
If you pull this feature from a repo, not through an upgrade or install process,
you have to execute the following SQL statements in the main database or
this option won't appear in the admin interface :
Loading…
Cancel
Save