【发布时间】:2013-03-10 08:58:20
【问题描述】:
我正在使用 JHTML::_('behavior.modal');从链接启动组件
<a href="/index.php?option=com_contact&view=contact&id=1&tmpl=component"
class="modal" title="contact us" rel="{handler: 'iframe', size: {x: 680, y: 370}}">
Contact example</a>
它显示联系页面以及其他项目,如菜单和其他模块。 有没有办法避免它并只显示 com_contact 页面?我读到可以使用 &tmpl=component 但它不起作用。我正在使用 J2.5
编辑:如果我查看视图模板源代码,我看到 tmpl 变量已被删除....为什么?
【问题讨论】: