From c394d81b7bd38a5885d02b38e614c3d31f3d486b Mon Sep 17 00:00:00 2001 From: atutor Date: Fri, 8 Mar 2013 16:51:08 +0000 Subject: [PATCH] add in default values for customized theme column --- documentation/developer/themes.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/developer/themes.html b/documentation/developer/themes.html index 7d8cdbe38..97339de20 100644 --- a/documentation/developer/themes.html +++ b/documentation/developer/themes.html @@ -186,7 +186,7 @@

Creating a Theme

`last_updated` (The last date the theme was modified, use "NOW()") `extra_info` (A description of the theme etc. ) `status` (theme's enable status, 0:disabled, 1:enabled, 2:set as default theme) -`customized` (Set if the theme has been uploaded into a multisite subsite) +`customized` (Set if the theme has been uploaded into a multisite subsite 0:disabled, 1:enabled )

Below is an example of the SQL used to create an entry in the themes table for a new theme. You can also use a tool like phpMyAdmin to add a new entry to the "themes" table. Be sure to adjust the "AT_" prefix if you are using the SQL statement, to match the prefix you are using in your ATutor installation. Be careful when setting the value for the status field. If you set the status to "set as default" ( 2 ) and your theme is broken, you may find you can no longer access ATutor.