如何更改PHPBB论坛的页眉和页脚?

发布于 2024-10-08 22:58:34 字数 34 浏览 0 评论 0原文

任何人都可以帮我更改 phpbb 论坛的页脚和页眉吗?

can any one help me to change the footer and header of the phpbb forum..

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

夏有森光若流苏 2024-10-15 22:58:34

对于 PHPBB 版本 3.0.x,页眉现在位于“/styles/[stylename]/template/overall_header.html”,页脚位于“/styles/[stylename]/template/overall_footer.html”。

皮特

For PHPBB version 3.0.x the header is now at "/styles/[stylename]/template/overall_header.html" and the footer is at "/styles/[stylename]/template/overall_footer.html".

Pete

夜光 2024-10-15 22:58:34

您需要相应地找到 /templates/name-of-style-you-use/overall_header.tpl 和 /templates/name-of-style-you-use/overall_footer.tpl 。您可以轻松编辑它们。

You need to find /templates/name-of-style-you-use/overall_header.tpl and /templates/name-of-style-you-use/overall_footer.tpl accordingly. You can edit them easily.

神回复 2024-10-15 22:58:34

您也可以将以下几行添加到您的 styles//template/ajax.js 文件中:


var copy = $('.copyright').html();
var link = copy.split("
").pop();
$('.copyright').html(链接);

或者删除页脚中的所有内容(包括 acp 链接)。 javascript 文件中再次出现一个衬垫解决方案:

$('.copyright').css('display','none');

问候,Melroy

Well you can also just add the following lines to your styles/<theme>/template/ajax.js file:


var copy = $('.copyright').html();
var link = copy.split("<br>").pop();
$('.copyright').html(link);

Or to remove everything from the footer (incl. the acp link). One liner solution in you javascript file again:

$('.copyright').css('display','none');

Regards, Melroy

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文