【发布时间】:2012-03-21 02:52:04
【问题描述】:
我需要在模块中显示组件视图。 我开发了自己的模块,在其中放置了一个 iframe 来搜索视图。 当我在 url ("format=html") 中使用默认的 "format" 变量时,它可以工作
<iframe src="index.php?option=com_componentname&view=componentview">
但这会显示整个页面,包括标题、菜单等。我尝试将“format=raw”添加到 url
<iframe src="index.php?option=com_componentname&view=componentview&format=raw">
但它不起作用。我总是得到一个空白页
有什么建议吗?提前致谢。
【问题讨论】:
标签: module components joomla1.5