【问题标题】:Display a component view into a module, in Joomla 1.5在 Joomla 1.5 中将组件视图显示到模块中
【发布时间】: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


    【解决方案1】:

    使用这个 -

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

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2011-05-01
    • 1970-01-01
    • 1970-01-01
    • 2011-07-02
    • 2011-08-12
    • 2016-10-11
    • 2011-12-31
    • 1970-01-01
    相关资源
    最近更新 更多