Download the PHP package t3g/pagetemplates without Composer
On this page you can find all versions of the php package t3g/pagetemplates. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download t3g/pagetemplates
More information about t3g/pagetemplates
Files in t3g/pagetemplates
Package pagetemplates
Short Description Create pages from predefined templates
License GPL-2.0+
Informations about the package pagetemplates
Page Templates for TYPO3
This extension provides the possibility to provide and easily use boilerplates for page creation.
Simple mode
The simple mode is enabled by default and can be disabled by the integrator within the extension manager. With this switch the Page Template module will be disabled and a new option in the click menu is enabled. Also she must provide the UID of the storage folder of the page template. An editor now can create pages with content elements within this storage folder.
- Enable simple mode in Extension Manager > pagetemplates
- Add storage PID of your template folder in Extension Manager
YAML mode
Provides yaml based templates for TYPO3 pages. Allows an editor to select a page template for creating a new page. Allows editing of page and content properties on creation. After disabling the simple mode in the extension manager, a new module will be displayed.
Page TSConfig:
| Page TSConfig | Default | Description |
|---|---|---|
| mod.web_PagetemplatesTxPagetemplates.storagePath | Path to the directory containing the YAML configuration files (EXT: syntax is supported) |
YAML:
Folder structure:
- Templates.yaml
- Structure
- example1.yaml
- example2.yaml
Main Templates.yaml file contains the configuration for the available templates:
The keys are the template identifiers (the file name for the configuration of a single template). Name, previewImage and description are used for displaying a preview of the chosen template.
A single template configuration looks like this:
Be aware that you can only configure tables that are stored directly on the page and have a pid field.
Usage in YAML mode
- Click on the module in the main module menu
- Choose a parent page
- Choose a template
- Fill template variables
- Click "Save new page"
Usage in Simple mode
- Choose a page in page tree and open the context menu
- Choose "Create page from template"
All versions of pagetemplates with dependencies
typo3/cms-backend Version ^9.5 || ^10.4
typo3/cms-extbase Version ^9.5 || ^10.4
typo3fluid/fluid Version ^2.3