SiteTypePizza
, which allows someone who either owns their own pizza restaurant or is making a website for a pizza company, to have their very own pizza website running in moments. Developers can then customize the public website, and otherwise, content management is already setup.SiteTypePizza
are simply an example. Whatever you name as your site type will take the place of that reference in the below docs.Adaptcms SiteTypePizza
- however, if you do not include the prefix SiteType
, it will be prepended automatically anyways.{vendor}/{package}
namespace for a field, define a name for the field, can require the field value to be provided, and can pass in meta-information as seen in an example below:FieldImage
has an option to support either a single or multiple images above, so providing a meta
key with key/value of mode => single
would create the field so a single image can be uploaded to the provided module, or in this case, configuration for the site type.Location
module so the owner can enter in their different store locations to show on the website:Location
, with a title field (ex. Downtown Atlanta), address (of the store), and notes (ex. store hours or parking info).About Us
page to talk about the history and mission of the pizza chain, a contact page with information on how to get in contact, a catering page with information on how to get pizza catered to you, and so on.About Us
page:src/SiteType/SiteTypePizza.php
file:false
by default, but switching to true will copy the layout in your site type path ui/layouts/layout.vue
to the Site
package folder where the public layout resides.ui/ActivateSiteType.vue
within your Site Type's folder.