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

Next revision
Previous revision
Next revision Both sides next revision
ru:how_to:theme_editor [2013/09/23 08:49]
Arkady created
ru:how_to:theme_editor [2013/10/08 13:49]
Grin [Как выбрать тему]
Line 1: Line 1:
 ====== Вкладка Тема ====== ====== Вкладка Тема ======
  
-перевод+=====Как выбрать тему===== 
 + 
 +Темы, расположенные в папке //theme// системы, ​перечислены ​в раскрывающемся списке в форме **Управление темами**. Выберите в нем нужную тему и нажмите кнопку **Активировать тему**. Если с темой есть файл скриншота,​ он будет показан в панели при выборе темы в списке. 
 + 
 +{{:​ru:​how_to:​choosetheme.png|}} 
 + 
 + 
 +=====Как редактировать тему ===== 
 + 
 +GetSimple предоставляет пользователю возможность быстрого редактирования файлов установленных в системе тем. Такая возможность присутствует по умолчанию и не требует какой-либо активации. 
 + 
 +Выберите вкладку **Тема** ​ и кликните кнопку в правом меню **Редактировать тему**, затем выберите файл для редактирования. Имейте ввиду, что при редактировании файлов темы резервные копии этих файлов не создаются. Если вы допустите ошибку,​ вам придется исправлять ее самому либо загрузив на сервер резервный файл темы (если таковой имеется) взамен испорченного,​ либо поправив код. 
 + 
 + 
 +{{:​how_to:​edittheme.jpg|}} 
 + 
 +=====Как редактировать компоненты===== 
 + 
 +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. 
 + 
 +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. 
 +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|}} 
 + 
 +=====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**.  
 + 
 + 
 +==== 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 [[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. 
 + 
 +==== Пинг поисковых систем ==== 
 + 
 +По умолчанию,​ при создании карты сайта (sitemap.xml),​ система пингует несколько основных поисковиков. Эта опция может быть выключена в файле [[ru:​config:​gsconfig|gsconfig.php]],​ для этого достаточно раскомментировать строку ​ **GSDONOTPING**. 
 + 
 +Отключить автоматическое создание карты сайта (sitemap) можно с помощью включения настройки **GSNOSITEMAP** в том же файле [[ru:​config:​gsconfig|gsconfig.php]] 
  
  
Line 11: Line 56:
  
 ==== Администрирование ==== ==== Администрирование ====
-  ​ 
   *[[ru:​basics|Основные понятия и определения]]   *[[ru:​basics|Основные понятия и определения]]
   *[[ru:​how_to:​website_settings|Настройки]]   *[[ru:​how_to:​website_settings|Настройки]]
ru/how_to/theme_editor.txt · Last modified: 2013/10/09 04:41 by Arkady