Actions

Chunk

Chrome ya Moduli

From Joomla! Documentation

This page is a translated version of the page Chunk:Module chrome and the translation is 100% complete.

Chrome ya moduli inawaruhusu wachoraji wa templeti kuwa na kiwango maalum cha uwezo kwa namna ya pato kutoka kwa moduli litakaloonyeshwa katika templeti zao. Kwa kimsingi, inatoka kwa sehemu ndogo ya HTML iliotayari. Sehemu hii ilioingizwa kabla, baada au mzunguko wa pato kutoka kwa kila moduli, na itaweza kurembeshwa kwa kutumia CSS. Moduli ya chrome inatumika mara nyingi kwa kutoa mizunguko ya mipaka ya moduli, hasa na vipembe vya duara, lakini itaweza kutumika kwa vitu tofauti.

Module chrome is determined by using the 'style' attribute in the statement calling the module. For example, the following statement may be used in the index.php file of the currently assigned as main template to insert the Modules in the 'user1' position and apply the 'custom' Module chrome:

<jdoc:include type="modules" name="user1" style="custom" />

It can be seen that the same Module chrome is applied to every Module in that position - in other words, if you want to have two Modules in a column, but want them to have different Module chrome, then they would need to be set up as two different 'positions' (e.g. 'user1' and 'user2').

Paketi ya kawaida ya Joomla! 1.5+ ni pamoja na mitindo sita ya difoti ya chrome ya moduli. Kwa vyovyote, nirahisi sana kubadilisha kwa mfumo ya templeti hii inamaanisha kuwa hakuna mipaka kwa mitindo hii - Ni rahisi sana kutengeza mitindo mipya mingi unayotaka!

Languages

Other languages:
català • ‎English • ‎español • ‎français • ‎Bahasa Indonesia • ‎日本語 • ‎Nederlands • ‎русский • ‎Kiswahili