A site typology will determine the types of content, services and tools available, adapted to the type of site (corporate site, blog, intranet, etc.).
The extension point org.ametys.web.repository.site.SiteTypesExtensionPoint is used to define a site typology. This is a multiple extension pointThis means that several implementations of the extension point can be active at the same time.
To date, there are 2 types of site on Ametys :
org.ametys.web.sitetype.Default: website with classic sitemap
org.ametys.plugins.blog.sitetype.Blog: "blog" type site
All types of site can be found when creating a new site:
Declaration of a new type of site
A site type is defined by:
a unique name with no spaces or special characters
a wording
a description
3 icons in sizes 16x16 pixels, 32x32 pixels and 48x48 pixels
3 icons: 16x16 pixels, 32x32 pixels and 48x48 pixels for incomplete configurations
The declaration of a site type is made in a plugin.xml file. If you need to create a new plugin, follow the instructions on the plugin Ametys page.
Here is an example of the "default" site type declaration:
Oops!
Copy to clipboard failed. Open the code and copy it manually.