Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1445 Tampilan

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
Buang
Penulis

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

Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jan 25
930
3
Mar 25
3437
0
Okt 24
1274
0
Jun 24
1305
1
Mei 25
3924