如何将模块样式标记设置为聚光灯区域-joomla template T3V3 framwork
如何为聚光灯内的模块设置样式标记 聚光灯加载模块,如下所示如何将模块样式标记设置为聚光灯区域-joomla template T3V3 framwork,joomla,joomla2.5,Joomla,Joomla2.5,如何为聚光灯内的模块设置样式标记 聚光灯加载模块,如下所示 $this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8') <jdoc:include type="modules" name="<?php $this->_p('position-5') ?>" style="rounded"/> $info = array('style'=>'r
$this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8')
<jdoc:include type="modules" name="<?php $this->_p('position-5') ?>" style="rounded"/>
$info = array('style'=>'rounded');
$this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8',$info)
我如何控制聚光灯内的模块具有圆形样式
如果模块不在聚光灯下,我们可以这样放置样式
$this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8')
<jdoc:include type="modules" name="<?php $this->_p('position-5') ?>" style="rounded"/>
$info = array('style'=>'rounded');
$this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8',$info)
有什么好主意吗?为了让它发挥作用,我做了以下几点 我在plugins/system/at3v3/t3v3base/tpls/blocks中编辑了spotlight.php文件 由此
$style = 'JAxhtml';
对此
$style = $vars['style'];
然后在我的模板中调用spotlight函数,如下所示
$this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8')
<jdoc:include type="modules" name="<?php $this->_p('position-5') ?>" style="rounded"/>
$info = array('style'=>'rounded');
$this->spotlight ('spotlight-2', 'position-5, position-6, position-7, position-8',$info)
容易解决
我希望在T3V3下一版本中看到此选项