使用Joomla,可以将模块加载到文章中,甚至加载到其他模块中,但是也可以将菜单项页面加载到模块位置吗?
例如,我有一个菜单项,显示联系人列表,换句话说,每个人都添加在Joomla后端的联系人中。
我希望将此联系人列表显示为不是实际页面,但在模块或其他文章中,是否有任何方法可以实现此目的?
答案 0 :(得分:0)
可以在Joomla中随处添加模块。根据您想要包含的位置,有不同的方法。
如果要在文章中添加模块,可以使用loadmodule占位符: {loadposition xx} //(其中xx是位置)
有关详情http://docs.joomla.org/How_do_you_put_a_module_inside_an_article%3F
,请参阅此处答案 1 :(得分:0)
Assuming that your contact list is generated within a component, you could also take a different approach by using two plug-ins:
Call the non-sef URL to the component from an article using the syntax used by Include Component. Next, call the article within a module using the Articles Placed Anywhere module.
I was looking for an answer to the same question as you, which eventually pulled me in a different direction. I know your question was posted a long time ago, but I thought I'd answer it anyway. Perhaps it's just a partial answer, but I hope it helps.