Odoo Help


how to show events tags on the website of the events overview to filter the events listing

joachim grubelnik
on 9/22/16, 3:58 AM 604 views

Is ist possible to show the TAGS you can use on events in the events page itself to filter the events ? 

You can define TAGS at the event but i do not see them on the website somewhere ? 


Tags as it is like in the BLOG Page where you can filter the BLOG Entries via the TAGS 



Jérémy Kersten (jke)

--Jérémy Kersten (jke)--

| 3 3 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 9/22/16, 5:27 AM

You can easily display it on the event in qweb.

<div class='tags' t-foreach='event.tag_ids' t-as='one_tag'>
    <span class='label'><t-esc='one_tag'/></span>

But to add the filter, you need to override the controller from website_event

class website_event(http.Controller):
    @http.route(['/event', '/event/page/<int:page>'], type='http', auth="public", website=True)
    def events(self, page=1, **searches):
        // and add your custom code here

thanks man will try that

joachim grubelnik
on 9/22/16, 8:09 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 9/22/16, 3:58 AM
Seen: 604 times
Last updated: 9/22/16, 5:27 AM