Joomla. Create template. Main template file
In this tutorial we will continue creating template for Joomla 3. Today we will work with main file of template – index.php
While creating theme we use twitter bootstrap 4. Code is very simple. But we must consider special joomla tag jdoc. jdoc is special construction, which output content on the page. This construction has got several key attributes:
- type – element type for output on the page, for example, module or component.
- name – name of template positions. Positions name are defined in templateDetails.xml file