العربية * * Deutsch * * sc * * Español * * Français * * Italiano * * Nederlands * * Polski * * Português do Brasil * * 中文 * *
Operation Manual Index
You can obtain a full list of a modules templates by selecting its list link. The list is broken into two parts: The first part lists the page templates and the second lists the individual block templates (note that block templates are also accessible via the System Module->Blocks menu->Edit)
Figure 2.15. The different templates for a single module
Here you have the option to delete an individual template, save it to disk (download), upload a new version of a template (using the browse button to select the appropriate file), or to edit it. Selecting the edit link will present you with the actual template code, which you may then modify directly:
http://xoops-end-user.com/xoops03/xdocman/img/en/xd-001/template_overview.png
Figure 2.16. Editing a template
http://xoops-end-user.com/xoops03/xdocman/img/en/xd-001/template_edit.png
The preview button will allow you to see the effect of changes in a new window without committing the changes (this is most useful for block templates, previews of page templates may be blank or show arcane fields of variable names). The submit button will save any changes you have made to the template.
While editing templates you must enable a preference that automatically updates module template .html files if there are newer files under the themes/your theme/templates directory for the current theme (System Module->Preferences->General Settings->Update module template .html files from themes/your theme/templates directory? -> Yes). This should be turned off once the site goes public.
If you accidentally mess up a template dont forget that you can retrieve a good copy from the default template set. If you are working with non-standard templates it may be a good idea to save a copy to disk before you start modifying them.

![[Main Page]](/modules/mediawiki/images/mediawiki.png)





