Download the PHP package webexcess/basetypes without Composer
On this page you can find all versions of the php package webexcess/basetypes. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download webexcess/basetypes
More information about webexcess/basetypes
Files in webexcess/basetypes
Download webexcess/basetypes
More information about webexcess/basetypes
Files in webexcess/basetypes
Please rate this library. Is it a good library?
Informations about the package basetypes
WebExcess.BaseTypes
Basic NodeTypes for Neos CMS.
Installation
composer require webexcess/basetypes
Compatibility and Maintenance
Neos Version | Package Version | Maintained |
---|---|---|
3.x | 1.x | YES |
2.3 LTS | 0.x | NO |
Ready to use
Content NodeTypes
- Heading
- Paragraph
- Responsive Image (srcset)
- SVG-Image
- Button
- Responsive Iframe
- Grid (two-, three- and four-column)
Document NodeTypes
- Home
- Page
Rules:
- Each first code-line of a file contains a comment with the respective css class, e.g.
# basetype-paragraph
- Properties are always namespaced with the BaseType Name, e.g.
paragraphText
- not onlytext
Structure:
- Each NodeType is composed out of Mixin parts. For the Paragraph these are:
WebExcess.BaseTypes:Content
defines the NodeType as a Content-ElementWebExcess.BaseTypes:Paragraph.ui
makes the NodeType an needed Inspector Groups visibleWebExcess.BaseTypes:Paragraph.properties.paragraphText--inplace
enables the Property paragraphText with inplace settings
- Each Property is available in three modes:
WebExcess.BaseTypes:Paragraph.properties.paragraphText
the basic property settingsWebExcess.BaseTypes:Paragraph.properties.paragraphText--inspector
.. including the inspector settingsWebExcess.BaseTypes:Paragraph.properties.paragraphText--inplace
.. including the inplace settings
Hint:
- Import your initial content with
./flow site:import --package-key WebExcess.BaseTypes
Usage / Extending
BaseTypes is replacing and extending existing Neos NodeTypes and enables you to easily build and extend your own custom NodeTypes.
Example:
Create in your Theme Package a Teaser-NodeType which includes an image, an inplace editable heading and text..
NodeTypes.Teaser.yaml
'WebExcess.Theme:Teaser':
superTypes:
'WebExcess.BaseTypes:Content': true
'WebExcess.BaseTypes:Heading.ui': true
'WebExcess.BaseTypes:Heading.properties.headingText--inplace': true
'WebExcess.BaseTypes:Heading.properties.headingTagName--inspector': true
'WebExcess.BaseTypes:Paragraph.ui': true
'WebExcess.BaseTypes:Paragraph.properties.paragraphText--inplace': true
'WebExcess.BaseTypes:Image.ui': true
'WebExcess.BaseTypes:Image.properties.imageAsset--inspector': true
'WebExcess.BaseTypes:Button.properties.buttonUrl--inspector': true
'WebExcess.BaseTypes:Button.properties.buttonStyle': true
ui:
label: 'Teaser'
icon: icon-file-text-o
NodeTypes.Teaser.fusion
prototype(WebExcess.Theme:Teaser) >
prototype(WebExcess.Theme:Teaser) < prototype(WebExcess.BaseTypes:Image) {
content = Neos.Fusion:Array {
heading = WebExcess.BaseTypes:HeadingObject
heading.@position = 'after image'
text = WebExcess.BaseTypes:ParagraphObject
text.@position = 'after heading'
}
}
That's all
Think about
- "Copy-paste is much better than DRY in a lot of cases... Bad abstraction is much worse than no abstraction." Dmitri Pisarev
- "Any problem in computer science can be solved with another layer of indirection. But that usually will create another problem." David Wheeler
All versions of basetypes with dependencies
PHP Build Version
Package Version
Requires
neos/neos Version
3.*
neos/flow Version *
neos/nodetypes Version *
flowpack/listable Version *
neos/flow Version *
neos/nodetypes Version *
flowpack/listable Version *
The package webexcess/basetypes contains the following files
Loading the files please wait ....