You are here: start » edit_template

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

edit_template [2012/10/05 15:00]
Christoph M. Becker moved
edit_template [2018/10/26 15:33]
Line 1: Line 1:
-====== Editing the Template ====== 
  
-[[start|⇐ back]] 
- 
-The template.htm and the stylesheet.css can be edited online, when writing permissions are set. 
- 
-However it is much more practical to edit these files offline with a text editor or preferably source code editor with syntax highlighting,​ uploading the files via ftp after editing. 
- 
-The editing possibility in CMSimple_XH is without syntax highlighting and in versions before 1.5 saving deletes occasionally blank lines and indentations,​ making the code a bit unsightly. 
- 
-<​html>​ 
-<p class="​dw_hint">​ 
-Edit template.htm and stylesheet.css only,<br /> 
-when you know exactly what you are doing!</​p>​ 
-</​html>​ 
- 
-Technically the template file is a PHP file, but you can see it as (X)HTML file with additional elements, the so called [[manuals:​developers_manual:​system_core:​template_tags|template tags]]. Not all of them are used in every template, so if you're missing one of them, e.g. languagemenu() just insert it where you want the result to show up. 
- 
-===== Online Editing of template.htm ===== 
- 
-Go in CMSimple Administration to: 
- 
-Settings => Edit template 
- 
-Here you can edit template.htm. 
- 
-[[#top|⇑ top]] 
- 
-===== Online Editing of stylesheet.css ===== 
- 
-Go in CMSimple-Administration to: 
- 
-Settings => Edit stylesheet 
- 
-Here you can edit stylesheet.css. 
- 
-[[#top|⇑ top]] 
- 
-===== Suitable Offline Editors ===== 
- 
-The files template.htm,​ stylesheet.css as well as all program files can be edited offline with text or source code editors. 
- 
-<​html>​ 
-<p class="​dw_hint">​ 
-Please do not use text processing programs (like Word etc.) for editing template.htm,​ stylesheet.css or program files!</​p>​ 
-</​html>​ 
- 
-Different commercial and freeware source code editors are available on the internet. Popular and useful freeware editors with source code highlighting are [[http://​www.pspad.com/​de/​|PSPad]] and [[http://​notepad-plus-plus.org/​|notepad++]]. 
- 
----- 
- 
-[[start|⇐ back]] ​  ​[[#​top|⇑ top]] 
 
You are here: start » edit_template
Except where otherwise noted, content on this wiki is licensed under the following license: GNU Free Documentation License 1.3
Valid XHTML 1.0 Valid CSS Driven by DokuWiki