Joomla Geliştirici Kılavuzu/Gelişmiş Tema Oluşturma

Vikikitap, özgür kütüphane



This chapter includes some more advanced features such as hiding template columns and designing templates for the Administrator.

Hiding Modules Sometimes it is desirable to hide certain module areas if there are no modules assigned to that region. You can hide these areas by using the mosCountModules function.

<?php if (mosCountModules( 'right' )) { ?>

<?php mosLoadModules( 'right' ); ?>

<?php } ?>

If the mosCountModules function returns a value greater than 1, the table cell will be displayed. If there are no modules defined for the "right" position for this particular page, then the cell will not be displayed. This is a good technique for increasing the horizontal screen width on certain pages.

Using Class Suffixes


Yönetici Şablonları[değiştir]

Fonksiyon Referansı[değiştir]

Şablon Standartları[değiştir]