This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
playground:playground [2013/11/18 15:57] Timbow |
playground:playground [2014/04/19 15:54] datiswous [setlocale] |
||
---|---|---|---|
Line 18: | Line 18: | ||
* The screenshot for the themes comes from a file called screenshot.png within your theme's /images/ folder. There is no other way to get a screenshot of your theme attached to your Extend listing. Make sure this file is included in your ZIP file. | * The screenshot for the themes comes from a file called screenshot.png within your theme's /images/ folder. There is no other way to get a screenshot of your theme attached to your Extend listing. Make sure this file is included in your ZIP file. | ||
* We have an [[http://get-simple.info/wiki/plugins:extend_api|API]] so developers can pull data from our database on their plugins, themes or language files. | * We have an [[http://get-simple.info/wiki/plugins:extend_api|API]] so developers can pull data from our database on their plugins, themes or language files. | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====== Advanced Configuration: gsconfig.php ====== | ||
+ | |||
+ | The file ''[[http://code.google.com/p/get-simple-cms/source/browse/trunk/temp.gsconfig.php|gsconfig.php]]'' is located in the root of your GetSimple installation. You can further configure your site by enabling/changing some of these constants. | ||
+ | |||
+ | |||
+ | ===GSEDITORLANG=== | ||
+ | sets the WYSIWYG editor language (default en) | ||
+ | <code># WYSIWYG editor language (default en) | ||
+ | #define('GSEDITORLANG', 'en');</code> | ||
+ | |||
+ | ====GSEDITOROPTIONS==== | ||
+ | allows you to set additional WYSIWYG Editor Options | ||
+ | <code># WYSIWYG Editor Options | ||
+ | #define('GSEDITOROPTIONS', '');</code> | ||
+ | |||
+ | ====GSUSECUSTOMSALT==== | ||
+ | turns off auto-generation of SALT and use a custom value. Used for cookies & upload security. | ||
+ | <code># Turn off auto-generation of SALT and use a custom value. Used for cookies & upload security. | ||
+ | #define('GSUSECUSTOMSALT', 'your_new_salt_value_here');</code> | ||
+ | |||
+ | ====GSFROMEMAIL==== | ||
+ | allows you to specify the from email address on any outgoing emails that get generated by your GS install | ||
+ | <code># Set email from address | ||
+ | #define('GSFROMEMAIL', 'noreply@get-simple.info');</code> | ||
+ | |||
+ | ===Tutorials, Tips and How-tos=== | ||
+ | *[[themes:tutorial|Theme Creation Tutorial]] | ||
+ | *[[:security|Extra Security for GetSimple]] | ||
+ | *[[how_to:accessibility|Accessibility Features]] | ||
+ | *[[:components-depending-on-the_page|Components Depending On The Page]] | ||
+ | *[[:page-content-blocks-depending-on-the_page|page content blocks Depending On The Page]] | ||
+ | *[[:SEO for GetSimple]] | ||
+ | *[[:Using Extend]] | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | ====setlocale==== | ||
+ | is a PHP function that you can specify here. This should allow you to set your server's locale | ||
+ | <code># Set PHP locale | ||
+ | # http://php.net/manual/en/function.setlocale.php | ||
+ | #setlocale(LC_ALL, 'en_US');</code> | ||
+ | |||
+ | |||
+ | **__Since 3.2:__** | ||
+ | |||
+ | **GSNOVERCHECK** - Disable persistant header version checking | ||
+ | |||
+ | **GSTIMEZONE** - Timezone string for server default timezone | ||
+ | |||
+ | **GSNOSITEMAP** - Disable sitemap generation | ||
+ | |||
+ | **GSSTYLE** - Set an alternative style, eg. GSSTYLEWIDE | ||
+ | |||
+ | **GSDEBUGINSTALL** - Debugging, Prevent removal of install files for debugging installs | ||
+ | |||
+ | **GSSUPPRESSERRORS** - reproduce previous GS behavior ragarding php error supression | ||
+ | |||
+ | **GSAUTOMETAD** - (since 3.2.2) Enable automatically generated excerpt for meta description (if empty) | ||
+ | |||
+ | **__Obsolete Settings:__** | ||
+ | |||
+ | **GSPAGER** turns on paging on certain pages such as "All Pages" | ||
+ | <code># Turn on paging for long lists of pages | ||
+ | #define('GSPAGER', TRUE);</code> | ||
+ | |||
+ | **GSSTORAGE** was never used, there are no other storage structures | ||
+ | <code># Data saving method. Default is XML | ||
+ | #define('GSSTORAGE', 'xml');</code> | ||
+ | |||
+ | **GSCOOKIEISSITEWIDE** if set to TRUE, it allows the frontend of your site to know if you are logged in or not. [deprecated as of 3.1] | ||
+ | <code># Make login cookie available sitewide. | ||
+ | #define('GSCOOKIEISSITEWIDE', TRUE);</code> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ |