İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
1423 Görünümler

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. "

Avatar
Vazgeç
Üretici

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

En İyi Yanı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.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Oca 25
920
3
Mar 25
3423
0
Eki 24
1270
0
Haz 24
1300
1
May 25
3922