[英]Joomla category blog in a module
I'm trying to take the mainbody display of the home page (featured articles category blog) and display it on some other page as a module. 我试图以主页(特色文章类别博客)的主体显示并将其作为模块显示在其他页面上。
I'm using Joomla 2.5.18
and the latest Gantry framework
with a Rockettheme Kirigami template
. 我正在使用
Joomla 2.5.18
和带有Rockettheme Kirigami template
的最新Gantry framework
。
I have installed the Sourcerer plugin so I can add PHP code to modules, and now I'm trying to find the PHP code for displaying the frontpage mainbody as I think this could be the way. 我已经安装了Sourcerer插件,因此可以将PHP代码添加到模块中,现在,我试图找到用于显示首页标题的PHP代码,因为我认为这可能是这样。
How do I do this? 我该怎么做呢? how can i display the fronted
PHP
code? 如何显示前端的
PHP
代码?
So, again, I'm trying to display this on demand: a category blog with a list of featured articles. 因此,我再次尝试按需显示此内容:类别博客,其中包含特色文章列表。 In a module, so I can use it anywhere.
在模块中,因此我可以在任何地方使用它。
Your mainbody display of the home page must be populated by an article or modules. 主页的主要显示必须由文章或模块填充。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.