如何在 joomla 网站中编辑标题标签 [英] how to edit header tag in joomla website

查看:19
本文介绍了如何在 joomla 网站中编辑标题标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站是在 joomla 1.5 中创建的,我想编辑我的网站页面标题标签.有没有可用的扩展.

my website is created in joomla 1.5 , i wants to edit my website pages header tags. is there any extention available.

推荐答案

我假设您的意思是您希望编辑 head 标签的内容.那就是 之间的元素.<header></header> 标记仅在 HTML5 中使用,并且很确定这不是您的意思.

I'm assuming you mean you wish to edit the content of your head tag. That is elements between . The <header></header> tag is only used in HTML5 and quite sure that's not what you meant.

至于 head 标签,您可以自己在模板中添加它,并且可以在这些标签之间添加您想要的任何内容.在大多数 CMS 中,您可以完全控制 head 标签之间出现的内容.但是,对于 Joomla,您需要添加 <jdoc:include type="head"/>.该标签的内容由 Joomla 自动填充,例如元数据(标题、描述等)

As for the head tag, you add that yourself in your template and can add any content you wish between those tags. In most CMS's you have complete control in what appears between the head tags. With Joomla you are required to add <jdoc:include type="head" /> however. The content of that tag is automatically filled by Joomla such as meta data (title, description, etc.)

您可以在控制面板站点 > 全局配置中编辑全局元数据.同样,在您创建的每篇文章上,您都可以点击侧边菜单来编辑该特定文章的元数据.

You can edit the global meta data in the control panel Site > Global Configuration. Also on each article you create you can click on the side menu to edit the meta data for that particular article.

然而,有些事情是你无法轻易改变的.例如,在 joomla 标签 <jdoc:include type="head"/> 中,它还加载了 MooTools.这意味着如果您希望在页面底部加载 Mootools,那您就不走运了.您可以手动编辑/libraries/joomla/document/html/html.php 中的标签,但是每次更新系统时,您所做的任何更改都可能被覆盖.所以你不想那样做.

However, there are some things you cannot easily change. Such as in that joomla tag <jdoc:include type="head" /> it also loads MooTools for instance. Which means if you wish to load Mootools at the foot of the page your out of luck. You could manually edit the tag in /libraries/joomla/document/html/html.php however whatever changes you make there may be overwritten every time you update the system. So you do not want to do that.

希望这会有所帮助,否则请更具体地说明您希望编辑头部标签的最终结果.

Hopefully this helps, otherwise please be more specific on what you wish your end result to be to editing your head tag.

这篇关于如何在 joomla 网站中编辑标题标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆