User Tools

Site Tools


how_to:theme_editor

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
how_to:theme_editor [2013/04/08 23:01]
Timbow
how_to:theme_editor [2018/06/11 17:50] (current)
datiswous [Troubleshooting] -small typo
Line 3: Line 3:
 =====Choose Theme===== =====Choose Theme=====
  
-**Entry Needed Here**+Themes present in the //Theme// folder will show in the drop-down list. Select a theme and click the **Activate Theme** button. If the theme folder includes a screenshot it will be displayed as a preview when the theme is selected.
  
 +{{:​how_to:​choosetheme.jpg|}}
 =====Edit Theme ===== =====Edit Theme =====
  
 GetSimple provides you a simple way to quickly edit any theme you currently have installed on your system. It does NOT have to be enabled to be able to edit it. GetSimple provides you a simple way to quickly edit any theme you currently have installed on your system. It does NOT have to be enabled to be able to edit it.
  
-Simply goto **Theme -> Edit Theme** and choose the file you want to edit. Be warned that there are no backups taken before or after these edits. ​If you make a mistake, ​you will need to fix it yourself ​by either downloading ​the theme again (if it's available) or attempting to fix it thru code. +Simply goto **Theme -> Edit Theme** and choose the theme you want to edit. The drop down list will display all the editable files, including templates and partial template .inc.php files, .css files, .js files, .txt files and any functions.php file. Be warned that there are no backups taken before or after these edits and there is no //undo// functionYou can make a backup of the file you wish to edit by the [[how_to:backup_pages#​website_archives|Site Archive]] function, by ftp or by Copy & Paste of the file contents.
- +
-{{:how_to:theme-edit.png|}}+
  
 +{{:​how_to:​edittheme.jpg|}}
 =====Edit Components===== =====Edit Components=====
  
-**Entry Needed Here**+Components are separately saved pieces of text or code which can be inserted into page templates. Typically they might be used for the following:​ 
 +  ​Simple text as an easily editable tagline, slogan or seasonal message. 
 +  ​Links to images (outside of the main content) so that they are easily changed without editing the template 
 +  ​Secondary blocks of html content for instance a sidebar, a footer section or an aside. 
 +  ​Containing php tags to call plugin functions, for instance to insert an email form or a thumbnail gallery. 
 +  * To alter the <​head>​ section of a page or template, for instance to control the robots text or to add or alter an internal stylesheet.
  
-=====View Sitemap=====+You can put components inside of other components. You can have [[:​components-depending-on-the_page|different components for different pages]]. Components can be saved as empty, blank components.
  
-**This Needs Updating**+GetSimple components are created, edited and saved here. 
 +Saved components are shown in the sidebar so that you can jump to the component you want to edit. The php **get_component** tag for each component is shown for easy copy and paste.
  
 +{{:​how_to:​editcomp.jpg|}}
 +=====View Sitemap=====
  
-**ALERT**: Starting with GetSimple ​version 3.1, sitemaps will be generated automatically every time either a page or site-setting is changed. You will be able to view the sitemap via **Theme -> View Sitemap**. ​From this screen you will also be able to regenerate your sitemap. +GetSimple ​has a built in sitemap generatorAn xml sitemap is generated automatically, saved as //​sitemap.xml//​ in the root of your site and updated ​every time either a page or site-setting is changed. You can view and refresh ​the sitemap via **Theme -> View Sitemap**. ​
- +
-GetSimple has a built in sitemap generator. If you want to create one, or refresh the one you already have, navigate to **Theme -> Generate Sitemap** +
-{{:​sitemap.png|}}+
  
  
 ==== Troubleshooting ==== ==== Troubleshooting ====
-if you are having trouble creating your first sitemap, ensure that your server has the correct permissions (try CHMODing the root installation folder to either ''​0755''​ or ''​0777''​). If that doesn'​t work, create a blank file within the root of your instllation ​(next to [[config:​gsconfig|gsconfig.php]]) with the filename of ''​sitemap.xml''​. CHMOD that file to ''​0777'',​ then go back and try to regenerate the sitemap using the menu link shown above.+if you are having trouble creating your first sitemap, ensure that your server has the correct permissions (try CHMODing the root installation folder to either ''​0755''​ or ''​0777''​). If that doesn'​t work, create a blank file within the root of your installation ​(next to [[config:​gsconfig|gsconfig.php]]) with the filename of ''​sitemap.xml''​. CHMOD that file to ''​0777'',​ then go back and try to regenerate the sitemap using the menu link shown above.
  
 ==== Advanced ==== ==== Advanced ====
 By default, when you create a sitemap, the system pings all the major search engines. You can turn this off within [[config:​gsconfig|gsconfig.php]] file by enabling the constant **GSDONOTPING** By default, when you create a sitemap, the system pings all the major search engines. You can turn this off within [[config:​gsconfig|gsconfig.php]] file by enabling the constant **GSDONOTPING**
  
 +You can disable sitemap generation in [[config:​gsconfig|gsconfig.php]] with **GSNOSITEMAP**
 ======Links====== ======Links======
 Back to the GetSimple Wiki [[:​start|Contents Page]] Back to the GetSimple Wiki [[:​start|Contents Page]]
Line 46: Line 52:
   *[[how_to:​backup_pages|Backups Tab]]   *[[how_to:​backup_pages|Backups Tab]]
   *[[how_to:​plugin_manager|Plugins Tab]]   *[[how_to:​plugin_manager|Plugins Tab]]
- 
- 
  
how_to/theme_editor.1365462080.txt.gz · Last modified: 2013/04/19 14:56 (external edit)