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

查看:155
本文介绍了如何在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.

希望这会有所帮助,否则请更详细地说明您希望最终结果是编辑head标签.

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天全站免登陆