Files
odoo_source/addons/website_blog
Guillaume (gdi) b4ce395099 [FIX] website, website_blog, website_sale: stay on the backend view
Since [the merge of the frontend into the backend] and more precisely
since [this commit], clicks on some elements makes the user switch from
the backend view to the frontend view.

Steps to reproduce (just an example):
- Go to /blog from the backend (/@/blog)
- Click on a tag (eg: adventure)

=> users are redirected to the frontend view, we do not want that. This
commit makes the user stay in the backend. For some scenarios (like the
one above), we create a fake form and submit it. The forms have a target
attribute that specifies where the form response should be displayed.
This commit set back the default value for the target attribute when a
user clicks on a blog tag, a course tag, the pager, ... so that the
response is displayed in the current context (the iframe when the user
is in the backend).

Note that [this commit] introduced the target attribute change to fix
two issues:
1. The opening of the payment gateways in the iframe.
2. The create page from a 404 page in the backend.

After [this other commit] has been merged, to prevent the first issue so
here we just remove the target attribute change except for the case of
the second issue.

[the merge of the frontend into the backend]: https://github.com/odoo/odoo/commit/31cc10b91dc7762e23b4bde9b945be0c4ce3fe3b
[this commit]: https://github.com/odoo/odoo/commit/2d44f2792dec0b2f205475a22dbedc97e9c54a64
[this other commit]: https://github.com/odoo/odoo/commit/3a32b9e1efa6277b345dc9239334680651690df7

task-3054970

closes odoo/odoo#114056

Signed-off-by: Romain Derie (rde) <rde@odoo.com>
2023-03-13 16:36:50 +01:00
..
…
…

Odoo Blogs

Write, Design, Promote and Engage with Odoo Blogs.

Express yourself with the Odoo enterprise grade blogging platform. Write beautiful blog posts, engage with visitors, translate content and moderate social streams.

Get your blog posts efficiently referenced in Google and translated in mutiple languages in just a few clicks.

Write Beautiful Blog Posts

Drag & Drop well designed 'Building Blocks' to create beautifull blog posts that perfectly integrates images, videos, call-to-actions, quotes, banners, etc.

With our unique 'edit inline' approach, you don't need to be a designer to create awsome, good-looking, content. Each blog post will look like it's designed by a professional designer.

Automated Translation by Professionals

Get your blog posts translated in multiple languages with no effort. Our translation "on demand" feature allows you to benefit from professional translators to translate all your changes automatically. ($0.05 per word) Translated versions are updated automatically once translated by professionals (around 32 hours).

Engage With Your Visitors

The integrated website live chat feature allows you to start chatting in real time with your visitors to get feedback on your recent posts or get ideas to write new posts.

Engaging with your visitors is also a great way to convert visitors into customers.

Build Visitor Loyalty

The one click follow button will allow visitors to receive your blog posts by email with no effort, without having to register. Social media icons allow visitors to share your best blog posts easily.

Google Analytics Integration

Get a clear visibility of your sales funnel. Odoo's Google Analytics trackers are configured by default to track all kinds of events related to shopping carts, call-to-actions, etc.

As Odoo marketing tools (mass mailing, campaigns, etc) are also linked with Google Analytics, you get a 360° view of your business.

SEO Optimized Blog Posts

SEO tools are ready to use, with no configuration required. Odoo suggests keywords for your titles according to Google's most searched terms, Google Analytics tracks interests of your visitors, sitemaps are created automatically for quick Google indexing, etc.

The system even creates structured content automatically to promote your products and events effectively in Google.

Designer-Friendly Themes

Themes are awesome and easy to design. You don't need to develop to create new pages, themes or building blocks. We use a clean HTML structure, a bootstrap CSS and our modularity allows you to distribute your themes easily.

The building block approach allows the website to remain clean after end-users start creating new contents.

Easy Access Rights

Not everyone requires the same access to your website. Designers manage the layout of the site, editors approve content and authors write that content. This lets you organize your publishing process according to your needs.

Other access rights are related to business objects (products, people, events, etc) and directly following Odoo's standard access rights management, so you do not have to configure things twice.