如何从 Odoo 8 的前端删除 Powered by Odoo #1 Open Source eCommerce 页脚? [英] How to remove the Powered by Odoo #1 Open Source eCommerce footer from front end of Odoo 8?

查看:75
本文介绍了如何从 Odoo 8 的前端删除 Powered by Odoo #1 Open Source eCommerce 页脚?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何从 Odoo 8 的公共前端删除反向链接?

位置:页面右下角,在页脚中.

HTML 代码:

本站由 <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>,#1<a href="http://www.odoo.com/page/e-commerce">开源电子商务</a>.

这些反向链接会显示给所有搜索引擎以及访问该网站的任何未登录该网站的人!!

当您登录时,Odoo 会从生成的 HTML 页面中动态删除链接.

Odoo 非常好,但是...

我们不能在所有公共网站页脚上显示其反向链接!

你如何删除它们??

解决方案

我已经确定了如何解决这个问题.

  1. 首先,以管理员身份登录后端.激活技术功能(如果尚未激活),请转至设置 > 用户 > 用户 >(您的管理员用户名,默认为管理员)> 编辑 > 可用性 > 技术功能 > 选中该框(活动),单击保存.
  2. 转到设置">技术">用户界面">视图".
  3. 在搜索框中,在(过滤器图标)活动"旁边,输入页脚版权",然后按 Enter 键进行搜索.
  4. 将有一个搜索结果.(视图名称:页脚版权.视图类型:QWeb 视图.)点击打开.
  5. 点击编辑.
  6. 注释掉代码的第 6-7 行,如下所示:<!-- Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>,#1 <a href="http://www.odoo.com/page/e-commerce">开源电子商务</a>.-->
  7. 点击保存.
  8. 刷新您的 Odoo 前端网站的浏览器视图.从您的 Odoo 网站的前端注销.您将看到以前可见的Powered by"反向链接和文本,现在已删除!有关更多信息或帮助,请参阅以下博客条目:http://www.espacenetworks.com/blog/entry/how-to-remove-the-powered-by-odoo-1-open-source-ecommerce-footer-from-front-end-of-odoo-8.html

How do you remove the backlinks from the public front end of Odoo 8?

Location: lower right corner of the page, in the footer.

HTML Code:

<div class="pull-right">
     Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>,
     the #1 
     <a href="http://www.odoo.com/page/e-commerce">Open Source eCommerce</a>.
</div>

These backlinks are shown to all search engines, and to anybody visiting the site, who is not logged in to the site!!

And when you log in, Odoo dynamically removes the links from the generated HTML page.

Odoo is very nice, but...

We cannot be displaying its back links on all public website page footers!

How do you remove them??

解决方案

I've determined how to solve this issue.

  1. First, log in to back end as administrator. Activate Technical Features, if not already activated, by going to Settings > Users > Users > (your Administrator user name, default is Administrator) > Edit > Usability > Technical Features > check the box (active), click Save.
  2. Go to Settings > Technical > User Interface > Views.
  3. In the search box, next to "(filter icon) Active", type "Footer Copyright", and hit enter to search.
  4. There will be one search result. (View name: Footer Copyright. View type: QWeb view.) Click to open it.
  5. Click Edit.
  6. Comment out lines 6-7 of the code as follows: <!-- Powered by <a class="label label-danger" href="http://www.odoo.com/page/website-builder">Odoo</a>, the #1 <a href="http://www.odoo.com/page/e-commerce">Open Source eCommerce</a>. -->
  7. Click Save.
  8. Refresh the browser view of your Odoo front end website. Log out of the front end of your Odoo website. You'll see the previously visible "Powered by" backlinks and text, is now removed! For more info or help, see the following blog entry: http://www.espacenetworks.com/blog/entry/how-to-remove-the-powered-by-odoo-1-open-source-ecommerce-footer-from-front-end-of-odoo-8.html

这篇关于如何从 Odoo 8 的前端删除 Powered by Odoo #1 Open Source eCommerce 页脚?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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