This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
themes:tips [2013/04/19 15:04] 127.0.0.1 external edit |
themes:tips [2014/02/04 22:30] Timbow [Theme Development Tips] |
||
---|---|---|---|
Line 3: | Line 3: | ||
These are some tips to help development of themes for GetSimple | These are some tips to help development of themes for GetSimple | ||
+ | * include a file named editor.css in your theme folder and write in it basic style declarations so that the display in the CKEditor panel closely matches the web page. | ||
* There are many optional settings located in the ''/path/to/getsimple/gsconfig.php'' file. Includes CKEditor, file upload, security, language and sitemap settings. | * There are many optional settings located in the ''/path/to/getsimple/gsconfig.php'' file. Includes CKEditor, file upload, security, language and sitemap settings. | ||
* To turn on debugging, uncomment the GSDEBUG line in ''/path/to/getsimple/gsconfig.php'' to enable full PHP errors to help debug. | * To turn on debugging, uncomment the GSDEBUG line in ''/path/to/getsimple/gsconfig.php'' to enable full PHP errors to help debug. | ||
Line 11: | Line 12: | ||
* Add the code below to the top of any PHP file within your theme. This will stop any unwanted direct access to that particular file. | * Add the code below to the top of any PHP file within your theme. This will stop any unwanted direct access to that particular file. | ||
<code><?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); } ?></code> | <code><?php if(!defined('IN_GS')){ die('you cannot load this page directly.'); } ?></code> | ||
+ | |||
+ | ======Links====== | ||
+ | Back to the GetSimple Wiki [[:start|Contents Page]] | ||
+ | ====Pages in this Section==== | ||
+ | ===Themes=== | ||
+ | *[[themes:installation|Ready-Made Themes]] | ||
+ | *[[themes:creation|Theme Creation]] | ||
+ | *[[themes:template_tags|Complete Template Tags Reference]] | ||
+ | *[[theme:template_code_snippets|Template Code Snippets]] | ||
+ | *[[themes:tips|Theme Development Tips]] | ||
+ | |||
+ | ====Other Pages and Links==== |