简体   繁体   English

Joomla Beez模板,神秘CSS

[英]Joomla Beez template, mystery CSS

Im looking at the Joomla Beez templates index.php file, and I come across this. 我正在查看Joomla Beez模板的index.php文件,而我碰到了这一点。

<jdoc:include type="modules" name="left" style="beezDivision" headerLevel="3" />

What is beezDivision? 什么是beezDivision? Theres no mention in the related CSS, and Ive grep -in 'beezDivision' * -R with nothing resulting other than a few lines very similar to the above one showing up (all in the templates/beez/index.php file). 在相关的CSS中没有提及,Ive grep -in'beezDivision'* -R除了上面几行与上面显示的几行非常相似以外,没有其他结果(所有内容都在templates / beez / index.php文件中)。 I imagine its used somewhere internally, but havent had luck finding out what it does. 我想象它在内部某个地方使用过,但是还没有运气找出它在做什么。 Possibly something new to me for CSS? CSS可能对我来说是新东西?

I havn't looked into how the style attribute is being used in the Beez template but the attribute value refers to the chrome style used to wrap the output generated by the module: 我没有研究Beez模板中的style属性是如何使用的,但是属性值是指用于包装模块生成的输出的chrome样式:

http://docs.joomla.org/What_is_module_chrome%3F http://docs.joomla.org/What_is_module_chrome%3F

确认jessedb的答案-/templates/beez/html/modules.php包含一个函数,用于使用适当的名称生成自定义模块样式。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM