【发布时间】:2014-12-21 02:50:25
【问题描述】:
我是 Joomla 的新手,使用 3.3.6 版和默认的 protostar 模板(基于引导程序)。我正在使用Sourcerer plugin 将 PHP 代码插入我的文章中。
现在我想访问模板颜色来设置表格边框的样式。在index.php 里面我可以使用$this->params->get('templateColor')。但是,在文章内部没有定义对象上下文。我看过variables and objects that are defined in sourcerer。到目前为止没有成功。
或者是否有另一种(更好的)在编辑器中动态使用模板颜色的方法?
【问题讨论】:
标签: php css twitter-bootstrap joomla