Welcome!

Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

Sign up

You need to be registered to interact with the community.
This question has been flagged
1 Reply
15 Views

Hey Cyllo community! Having trouble getting my custom banner to display correctly using Cyllo snippets? Any tips or troubleshooting advice?

Avatar
Discard

Here's how you can create a basic static snippet in Odoo, along with the XML code to define the snippet template and register it within the Website Editor. A static snippet is a fixed content block in Odoo’s Website Builder. It’s defined once and remains unchanged unless a user edits it. It’s great for reusable, unchanging elements like banners, info blocks, and promotional sections. Two XML templates are defined: Static snippet template – Defines the content block (HTML markup). Snippet registration template – Registers the snippet inside the Website Editor panel (website.snippets).

	






Basic Snippet


This is a basic snippet used to demonstrate snippet functionality in Odoo










​​ ​thumbnail="/basic_snippet/static/src/images/snippets/banner.jpg"/>       
 

Avatar
Discard

Your Answer

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!