Content-Columns/Positions - JYAML - Joomla! Templates mit Yaml

Content-Columns/Positions

Here you can the (module-) position for #col1_content, #col2_content and #col3_content in this template adds, delete and sort.

  • Type:
    • Modul-Position
    • Module
    • Component
    • Message
  • Position: / Modul-Name:
    • A module position or a single module can be selected depending on select type.

  • Style:
  • Advanced Attribute (modChrome)
    • The petition is optional and is different depending on modChrome style.

More about this can you looking up in Joomla!-Dokumentation (jdoc-statements).

Advanced Attribute for modChrome-functiona

Affected file: templates/[template]/html/modules.php

If you own styles or modChrome adds functions, we can work with attributes to the conduct of any thing to control.

In Style is already integrated yaml there is the attribute "headerLevel". Thus, the level of the HTML header in the module changed. Standard is H3. Are we, for example headerLevel = "2" to "Extended Attributes", then the module title as H2 heading.

Composition of the jdoc-statements with modCrhome-attributes

If the "Advanced Attributes" for example, typing

  • headerLevel="2" id="mymodule" otherAttrib="xyz"
outputs following jdoc-statement:
<jdoc:include type="[Type]" name="submenu" style="[modChrome Style]" headerLevel="2" id="mymodule" otherAttrib="xyz" />