Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
1434 Vues

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
Ignorer
Auteur

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

Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
0
janv. 25
920
3
mars 25
3430
0
oct. 24
1272
0
juin 24
1303
1
mai 25
3923