Joomla 更改 favicon jdoc
我有两个问题:
a) 我如何访问网站中的 Joomla 模板文件夹,以便我可以看到某些图像的放置位置并替换它。
b) 如何更改模板的网站图标?网站标题是这样的:
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /
</head>
favicon 部分位于“jdoc: include”内,我不知道如何访问它。我需要一些有关如何访问此处更改网站图标的帮助。
I have two questions:
a) How can i acess Joomla template's folder in the website so i can see where some images are placed and replace it.
b) How do i change my template's website favicon ? Website head is something like this:
<head>
<jdoc:include type="head" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" />
<link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /
</head>
The favicon part is inside the "jdoc: include", which i don't know how to acess it. I would like some help on how to acess here to change favicon.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
这两个问题的答案是查看 /templates 文件夹。该文件夹包含一系列代表系统上模板的文件夹。如果您想更改图像的存储位置,则需要更新正在使用的模板以指向新位置。
该指令内置了用于显示位于活动模板文件夹中的 favicon.ico 文件的指令。因此,您实际上不需要更改 favicon 的位置,只需将要显示的图像放入模板文件夹中并将其命名为 favicon.ico
The answer to both questions is to look in the /templates folder. That folder contains a series of folders that represent the templates on your system. If you want to change where your images are stored, you will need to update the template you are using to point to the new location.
The directive has built into it instructions to display the favicon.ico file that is located in your active template folder. So you don't really need to change the location of the favicon, just put the image you want to display in your template folder and name it favicon.ico
a) 使用 ftp-cliet 浏览您的站点文件夹。例如filezilla。
b)
内未分配任何图标。如果未明确指定,则使用默认图标。在您发布的代码后的模板中,添加以下代码并将图像
favicon.ico
上传到您的模板文件夹中。我希望这会有所帮助。
a) Use ftp-cliet to browse your site folders. For example filezilla.
b) No favicon isn't assigned inside
<jdoc:include type="head" />
. If it is not assigned explicitly, default favicon is used. In your template after code you have posted add following codeand upload image
favicon.ico
into your template folder.I hope it will be helpfull.