Actions

Difference between revisions of "Module chrome/sw"

From Joomla! Documentation

 
Line 2: Line 2:
 
{{Chunk:Module chrome/sw|Chrome ya Moduli}}
 
{{Chunk:Module chrome/sw|Chrome ya Moduli}}
  
'''Angalia pia:''' [[S:MyLanguage/Standard Module Chromes|Chrome za Kawaida za Moduli]]
+
'''Angalia pia:''' [[S:MyLanguage/Standard Module Chromes|Chrome za kawaida za moduli]]
  
 
<noinclude>
 
<noinclude>

Latest revision as of 04:36, 12 April 2014

Other languages:
català • ‎English • ‎español • ‎français • ‎Bahasa Indonesia • ‎日本語 • ‎Nederlands • ‎Kiswahili

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!


Angalia pia: Chrome za kawaida za moduli