I'm trying to replace the different social media links on the social media widget but it reaches a 404 page. I've already updated the social medias links in the parameters but there is no option to change that in the footer.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
Hi Frederic
Odoo is using this method in stabdard
@http.route(['/website/social/<string:social>'], type='http', auth="public", website=True, sitemap=False)
def social(self, social, **kwargs):
url = getattr(request.website, 'social_%s' % social, False)
if not url:
raise werkzeug.exceptions.NotFound()
return request.redirect(url, local=False)
means if you would like to override the links in the footer, it's better to do it in the xml view [settings -> technicla -> views] search for footer of you corresponding website and change there
But you can also stay in standard as odoo will compite /webiste/social/[the social stream] and will call the method above which will call the setting done in your company, means the socil inks you done for your company
So just change the social links in res.company (settings-> users & companies -> companies) and leave the footer links as they are in standrad
hope this helps
warm regard
Daniel
Bello, same story here. In the header or footer i replaced social network links and saved but it didnt change URL of icons and still getting 404... any advice?
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 9 19
|
2889 | ||
|
0
thg 6 25
|
141 | ||
|
1
thg 5 25
|
439 | ||
|
2
thg 4 25
|
575 | ||
|
0
thg 4 25
|
537 |