php joomla 模板(如何?)的正确方法
大家好,
我只是想知道在 Joomla 中做模板的正确方法是什么? 如果我在页脚中有四个框(4 列),我如何在模板中自动化它们,以便可以从后端管理它们里面的内容?
到目前为止,我已经看到了自定义 html 块模块并使用了它们。但是,如果有大量这样的块并且比从模块单独管理它们不是很有趣吗?
现在假设我的网站有一个口号/标语;我希望它从后端进行管理。即使对于这样的单行,我是否也需要创建该自定义块?
也许我会走向错误的方向。有人可以指导我吗?
问候, 约翰.
Greetings all,
I just wanted to know what is the proper way to do template's in Joomla?
If i have four boxes in footer (4 columns) how can i automate them in the template so their content inside can be managed from the back-end?
So far, i have seen custom html block modules and using those. But wouldn't it be funny if there are loads of such blocks and than managing them from modules individually?
Now suppose if i have a slogan/tag line for my website; and i want it to be managed from backend.. Do i need to create that custom block even for such single line?
May be i am going to wrong direction. Can someone guide me please?
Regards,
Jhon.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Joomla 模板只是一张地图,概述了可放置模块的各个位置。这些位置围绕组件显示区域构建。您基本上可以将任何您想要的东西加载到模块位置。您可能需要从 Joomla 扩展目录下载一些模块,有很多选项。
自定义 HTML 模块适用于不会经常更改的简单内容。这对于一个永远不会改变的公司口号来说是有好处的。有多种模块可让您根据章节或类别从最新的 Joomla 文章中加载内容。有登录表单、股票价格、RSS 提要、天气以及各种内容的模块。
A Joomla template is simply a map the outlines the various positions that available to put modules in. These positions are built around the component display area. You can load basically anything you want in to a module position. You will probably need to download some modules from the Joomla Extension Directory, there are tons of options.
The Custom HTML module is appropriate for simple content that is not going to change very often. This would be good for a company tag line that doesn't ever change. There are various modules that would allow you to load content from the latest Joomla articles based on section or category. There are modules for login forms, stock prices, RSS feeds, weather, all kinds of stuff.