Module 在Joomla 1.5中,将组件视图显示到模块中

Module 在Joomla 1.5中,将组件视图显示到模块中,module,components,joomla1.5,Module,Components,Joomla1.5,我需要在模块中显示组件视图。 我开发了自己的模块,在其中我放置了一个iframe来搜索视图。 当我在url中使用默认的“format”变量(“format=html”)时,它会起作用 但这会显示整个页面,包括标题、菜单等。我已经尝试将“format=raw”添加到url中 <iframe src="index.php?option=com_componentname&view=componentview&format=raw"> 但它不起作用。我总是得到

我需要在模块中显示组件视图。 我开发了自己的模块,在其中我放置了一个iframe来搜索视图。 当我在url中使用默认的“format”变量(“format=html”)时,它会起作用


但这会显示整个页面,包括标题、菜单等。我已经尝试将“format=raw”添加到url中

<iframe src="index.php?option=com_componentname&view=componentview&format=raw">  

但它不起作用。我总是得到一张空白页

有什么建议吗?提前谢谢。

用这个-

index.php?option=com_componentname&view=componentview&tmpl=component

我还想补充一点,以完成以下回答:当使用“format=raw”时,由于Joomla 1.5中的错误,我得到了一个空白页面。以下是有关如何修复此错误的说明:
index.php?option=com_componentname&view=componentview&tmpl=component