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
You can easily display it on the event in qweb.
<div class='tags' t-foreach='event.tag_ids' t-as='one_tag'>
But to add the filter, you need to override the controller from website_event
@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
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 9/22/16, 3:58 AM|
|Seen: 122 times|
|Last updated: 9/22/16, 5:27 AM|