Creating Gadgets
Meeds lets you enhance your pages with Gadgets, which are blocks made of custom HTML, CSS, and JavaScript.
Last updated
Meeds lets you enhance your pages with Gadgets, which are blocks made of custom HTML, CSS, and JavaScript.
Last updated
They give you full flexibility to integrate interactive elements such as animated marquees, token price widgets, third-party scripts, and dynamic user interactions. These blocks can be created, edited, and managed directly within the platform, enabling a seamless customization experience. Check this quick video intro 👇
To create a new Gadget in Meeds, follow these steps:
Open the Admin Interface.
Navigate to Development → Portlet.
Pick any category and click on the Add button.
Provide a name and a description.
Select New Portlet as the type.
Select the permissions and Save
👉 The code editor opens in a new tab
When you create or edit a Gadget, the Gadget Editor opens, which consists of three main sections:
HTML : Enter the structure of your block.
CSS : Define styles for your block.
JS: Add Javascript code for interactivity and dynamic behavior.
The panels all have syntax highlighting, line numbers for better readability and includecan expand icon that allows you to enlarge the editor for a more comfortable coding experience.
Run button : Executes the HTML, CSS, and JavaScript, allowing you to preview the result instantly.
Mobile & Desktop icon: You can switch between different views to test responsiveness.
View/Edit toggle : Allows you to see the gadget in the middle of the page, simulating its final appearance.
Save Button: Becomes active when changes are made and saves updates across all pages using the block.
💡 Once saved, the editor tab closes, and the changes are immediately applied where the block is used. If further modifications are needed, reopen the editor and manually update the content.
Gadgets can be edited in two ways:
All created gadgets can be found in Administration → Development → Portlets.
To edit an existing gadget, browse in the category or search for it in the list and select Edit Instance to open the code editor.
💡 Changes made at the admin level are reflected globally across all pages using the gadget.
Once a Gadget is added to a page, it can be edited directly from the page layout:
Enable Edit Mode
In the page tree, on the current page, click on Edit Layout
Hover over the block you want to edit, then click the Edit application
In the drawer, click the Edit icon in the header 👉 a new tab will open with the gadget loaded in the code editor
Make necessary changes and preview instantly.
Once satisfied, save your changes.
💡 Updates are applied instantly across all pages where the block is used.
This feature allows you to design and integrate custom components easily, giving you greater control over your Meeds-powered pages. Start experimenting and bring your pages to life with dynamic content!
Navigate to the page where the block is used and click Edit Navigation icon