From b6e7c7d963902cde2efbc49a42499369e0f70834 Mon Sep 17 00:00:00 2001 From: jkbockstael Date: Thu, 14 Apr 2011 16:11:37 +0200 Subject: [PATCH] CustomPages : informative text on how to enable this setting when the feature hasn't been activated through an install or upgrade. --- custompages/README | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/custompages/README b/custompages/README index 27817f4373..c5c0f159f4 100644 --- a/custompages/README +++ b/custompages/README @@ -6,3 +6,8 @@ CustomPages looks for alternatives in this directory, and displays them if prese - 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 : +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 : + INSERT INTO settings_options (variable, value, display_text) VALUES ('use_custom_pages', 'true', 'Yes'), ('use_custom_pages', 'false', 'No'); + INSERT INTO settings_current (variable, type, category, selected_value, title, comment, scope) VALUES ('use_custom_pages','radio','Platform','false','UseCustomPages','UseCustomPagesComment', 'platform');