Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1439 Lượt xem

How do I disable the Share block on the events pages? Can't find the setting to do this - "

Share

Find out what people see and say about this event, and join the conversation." and then it shows a number of icons of social media platforms. "

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks Andry, I'll give it a try on our test server ;-) although I prefer not messing around with the code

Câu trả lời hay nhất

Hi Fritz,

By right you should be able to remove it through edit website.

But, if you can't remove it. 

Here are few steps you can follow:

  1. Open you "Source Inspection" or press F12 if you are in chrome. Follow the screenshot below for the steps
  2. You will get the class name, that's the important part. In my case it's "o_wevent_sidebar_block"
  3. Now, activate your developer mode. If you don't know how: https://www.odoo.com/documentation/18.0/applications/general/developer_mode.html
  4. Go to Settings > Technical > User Interface > Views
  5. Search for "o_wevent_sidebar_block" in the search bar and select "View Architecture"
  6. You will see the record where this code is injected.
  7. Next, open the Views record, look for the XML architecture below and comments the <div> with class "o_wevent_sidebar_block" along with the nested tags inside.
  8. Save and reload your website. You should see that it's gone now.

Hope this helps. Upvote and solve if this answers your question.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 1 25
925
3
thg 3 25
3436
0
thg 10 24
1274
0
thg 6 24
1304
1
thg 5 25
3924