典型的なテンプレートのディレクトリ構造

From Joomla! Documentation

Revision as of 10:42, 27 April 2019 by Yui (talk | contribs) (Created page with "Joomla!の典型的なテンプレートは、以下のディレクトリを含んでいます: *css - すべての.cssファイル *html - コア出力とモジュールク...")

Joomla!の典型的なテンプレートは、以下のディレクトリを含んでいます:

  • css - すべての.cssファイル
  • html - コア出力とモジュールクロム用のテンプレートの上書きファイル
  • images - テンプレートで使用するすべての画像
  • language - テンプレートで使用する追加言語ファイル

Depending on the complexity and design of the template is may also contain:

  • javascript - contains supporting JavaScript used by the template for added functionality

Example structure with files

Typical path of a template is <root>/public_html/domain-name/template/<name of your template> which will contain the following directories and files based on your template.

/css
/html
/images
/javascript
/language
component.php
error.php
favicon.ico
index.php
templateDetails.xml
template_preview.png
template_thumbnail.png