User Tools

Site Tools


ru: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
Next revision Both sides next revision
ru:how_to:theme_editor [2013/09/30 05:04]
Arkady [Troubleshooting]
ru:how_to:theme_editor [2013/10/08 06:25]
Arkady [Как выбрать тему]
Line 1: Line 1:
 ====== Вкладка Тема ====== ====== Вкладка Тема ======
  
-=====Choose Theme=====+=====Как выбрать тему=====
  
-Themes present in the //Theme// folder will show in the drop-down listSelect a theme and click the **Activate Theme** buttonIf the theme folder includes a screenshot it will be displayed as a preview when the theme is selected.+Темы, расположенные в папке ​//theme// системы,​ перечислены в раскрывающемся списке в форме **Управление темами**Выберите в нем нужную тему и нажмите кнопку ​**Активировать тему**. Если с темой есть файл скриншота,​ он будет показан в панели при выборе темы в списке.
  
 {{:​how_to:​choosetheme.jpg|}} {{:​how_to:​choosetheme.jpg|}}
  
-=====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 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// function. You 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.+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// function. You can make a backup of the file you wish to edit by the [[ru:how_to:​backup_pages#​website_archives|Site Archive]] function, by ftp or by Copy & Paste of the file contents.
  
 {{:​how_to:​edittheme.jpg|}} {{:​how_to:​edittheme.jpg|}}
  
-=====Edit Components=====+=====Как редактировать компоненты=====
  
 Components are separately saved pieces of text or code which can be inserted into page templates. Typically they might be used for the following: Components are separately saved pieces of text or code which can be inserted into page templates. Typically they might be used for the following:
Line 24: Line 24:
   * 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.   * 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.
  
-You can put components inside of other components. You can have [[:​components-depending-on-the_page|different components for different pages]].+You can put components inside of other components. You can have [[ru:​components-depending-on-the_page|different components for different pages]].
  
 GetSimple components are created, edited and saved here. GetSimple components are created, edited and saved here.
Line 31: Line 31:
 {{:​how_to:​editcomp.jpg|}} {{:​how_to:​editcomp.jpg|}}
  
-=====View Sitemap=====+=====Sitemap ​(карта сайта)=====
  
 GetSimple has a built in sitemap generator. An 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. An 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**. ​
Line 39: Line 39:
 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 [[ru:​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 instllation (next to [[ru:​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 ​==== +==== Пинг поисковых систем ​==== 
-By defaultwhen you create a sitemap, ​the system pings all the major search enginesYou can turn this off within ​[[ru:​config:​gsconfig|gsconfig.php]] ​file by enabling the constant ​**GSDONOTPING**+ 
 +По умолчаниюпри создании карты сайта (sitemap.xml)система пингует несколько основных поисковиковЭта опция может быть выключена в файле ​[[ru:​config:​gsconfig|gsconfig.php]], для этого достаточно раскомментировать строку  ​**GSDONOTPING**
 + 
 +Отключить автоматическое создание карты сайта (sitemap) можно с помощью включения настройки **GSNOSITEMAP** в том же файле [[ru:​config:​gsconfig|gsconfig.php]]
  
-You can disable sitemap generation in [[ru:​config:​gsconfig|gsconfig.php]] with **GSNOSITEMAP** 
  
  
ru/how_to/theme_editor.txt · Last modified: 2013/10/09 04:41 by Arkady