Skip to Content
Menú
This question has been flagged
1 Respondre
1424 Vistes

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
Descartar
Autor

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

Best Answer

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
Descartar
Related Posts Respostes Vistes Activitat
0
de gen. 25
920
3
de març 25
3428
0
d’oct. 24
1272
0
de juny 24
1302
1
de maig 25
3923