Installing Extensions
Install themes, plugins, and widgets directly from the Marketplace with one click (free) or with a license key (premium).
TL;DR
Free items: click "Install" on the Marketplace page — done. Premium items: click "Install", enter your license key, click "Validate & Install". Extensions are downloaded from pubvana.net and extracted to the correct directory automatically.
Details
Installing Free Extensions
- Go to Admin → Marketplace and find the extension you want.
- Click the Install button on the extension's card.
MarketplaceService::installFree()downloads the zip from thedownload_urlprovided by the Marketplace API.- The zip is extracted to the correct directory:
- Themes →
themes/extension-slug/ - Widgets →
widgets/extension-slug/ - Plugins →
plugins/extension-slug/
- Themes →
- A record is inserted into
marketplace_itemswith the slug, type, and installed version. - The extension is immediately available:
- Themes appear in Admin → Themes.
- Widgets appear in Admin → Widgets.
- Plugins appear in Admin → Plugins after running Discover (or on the next page load).
Installing Premium Extensions
- Go to Admin → Marketplace and find the premium extension.
- Click the Install button. A modal dialog appears prompting for a license key.
- Enter your license key (received after purchase from pubvana.net).
- Click Validate & Install.
MarketplaceService::installLicensed()sends the key and slug tohttps://pubvana.net/api/license/validate.- If valid, the API returns a
download_url. Installation then proceeds identically to a free install. - The license key is stored in the
marketplace_licensestable alongside the product slug and registered domain.
If validation fails (invalid key, wrong domain, or expired subscription), an error message is shown and the extension is not installed.
Extension Vetting
All extensions in the Marketplace catalogue go through Pubvana's vetting process. During install, the installer checks with pubvana.net whether the extension is on the approved list. If an extension is not approved (e.g., it was later found to have security issues), a warning banner is displayed on the extension card and during install. You can still install unvetted extensions, but the warning remains visible.
Directory Permissions
For installation to work, the following directories must be writable by the web server:
themes/— for theme installswidgets/— for widget installsplugins/— for plugin installs
If a directory is not writable, the install will fail with a permissions error message.