简体   繁体   English

操纵 <head></head> Joomla中的部分

[英]Manipulating <head> </head> section in Joomla

I need help with updating the section in Joomla interface. 我需要有关更新Joomla界面中的部分的帮助。 I am trying to add additional elements and snippets of JQuery into the <head></head> . 我试图将其他元素和JQuery片段添加到<head></head> Where do i access this within Joomla? 我在Joomla中可以从哪里访问?

on another note - i can't directly the source or find a manipulate HTML button/source button. 另一个说明-我无法直接找到源代码或找不到操作HTML按钮/源代码按钮。 Is this something i need to add? 这是我需要添加的东西吗?

To add scripts & CSS to the head , I think what you're asking is described at Adding JavaScript and CSS to the page , specifically in the section titled Inserting inline scripts from within a PHP file . 要在顶部添加脚本和CSS,我想您要问的内容在“ 向页面添加JavaScript和CSS”中进行了介绍 ,特别是在标题为“ 从PHP文件中插入内联脚本 ”的部分中。

To your secondary question, I don't quite understand what you're asking. 对于您的第二个问题,我不太了解您的要求。

In addition to what GDP said, depending on your specific needs you may want to use one of the multiple available 3rd party plugins instead. 除了GDP所说的以外,根据您的特定需求,您可能希望使用多个可用的第三方插件之一。 You an find a handful of them at the JED: 您可以在JED中找到其中一些:

http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/head-code http://extensions.joomla.org/extensions/core-enhancements/coding-a-scripts-integration/head-code

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM