admin管理员组文章数量:1289831
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="">Odoo</a>,
the #1
<a href="">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??
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./page/website-builder">Odoo</a>,
the #1
<a href="http://www.odoo./page/e-merce">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??
Share Improve this question edited Dec 9, 2014 at 10:04 Chris Coleman asked Dec 9, 2014 at 6:11 Chris ColemanChris Coleman 4961 gold badge5 silver badges9 bronze badges 06 Answers
Reset to default 2I've determined how to solve this issue.
- 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.
- Go to Settings > Technical > User Interface > Views.
- In the search box, next to "(filter icon) Active", type "Footer Copyright", and hit enter to search.
- There will be one search result. (View name: Footer Copyright. View type: QWeb view.) Click to open it.
- Click Edit.
- Comment out lines 6-7 of the code as follows:
<!-- Powered by <a class="label label-danger" href="http://www.odoo./page/website-builder">Odoo</a>, the #1 <a href="http://www.odoo./page/e-merce">Open Source eCommerce</a>. -->
- Click Save.
- 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./blog/entry/how-to-remove-the-powered-by-odoo-1-open-source-emerce-footer-from-front-end-of-odoo-8.html
It's remended to use modules to make updates in odoo.
You can create new module or try existed modules, e.g. website_debranding:
<template id="layout_footer_copyright" inherit_id="website.layout_footer_copyright">
<xpath expr="//div[@t-ignore='true']" position="replace">
</xpath>
</template>
See this guide: http://odoo.guide/debranding-odoo-backend/
There is a module to override all of that, which is the preferred way.
Check the master branch here https://superuser./a/808851/71031
- Active developer mode.
- Enable technical features.
- Go to
Settings > Technical > User Interface > Views
. - In the search box, next to
(filter icon) Active
, typesecondary
, and hit enter to search. - Choose
web.menu_secondary
. Click to open it. Now find this tag and ment it like.
<!--div class="oe_footer"> Powered by <a href="http://www.openerp." target="_blank"><span>Odoo</span></a> </div-->
Hope this will solve your problem.
It work for me in odoo13
<odoo>
<data >
<template id="layout_footer_copyright" inherit_id="website.layout">
<xpath expr="//div[hasclass('o_footer_copyright')]" position="replace">
</xpath>
</template>
</data>
</odoo> ```
You can remove it directly from the source code (or modify to anything you want. Take a look at the file openerp/addons/website/views/website_templates.xml
本文标签:
版权声明:本文标题:javascript - How to remove the Powered by Odoo #1 Open Source eCommerce footer from front end of Odoo 8? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741407389a2377029.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论