Download the PHP package zeroseven/pagebased without Composer
On this page you can find all versions of the php package zeroseven/pagebased. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download zeroseven/pagebased
More information about zeroseven/pagebased
Files in zeroseven/pagebased
Package pagebased
Short Description The ultimate tool to create page based extensions
License GPL-2.0-only
Informations about the package pagebased
Pagebased
Manage objects like news, events, blog posts, jobs, etc. in the TYPO3 backend as a "normal" TYPO3 page easily. This extension provides you with the necessary plugins and filters, categories, tags, and other useful functions.
Pages vs. records
Instead of displaying records in a complicated way like a page, this extension uses the full TYPO3 bandwidth to display content using existing content elements. Besides the additional functions of the pagebased extension, all known TYPO3 features like metadata, translation handling, caching, sitemaps, and URLs are available without any configuration.
Get there fast with little code
From news to blog posts, a job offer, or an event, page objects usually have a lot in common. Using a configuration, you can activate or deactivate individual functions for each page object as needed:
- list plugin
- filter plugin
- tags
- categories
- contacts
- relations
- rss feed
Furthermore, the entire logic and functionality for the individual page objects lie within the pagebased extension itself. This way, the controller, repository, pagination, etc. are centrally controlled and can be updated easily. Additionally, new objects can be created in just a few seconds - give it a try!
Create your own extension
The fast and easy way to create a new Pagebased-Extension is to build it from the extension dummy template.
- Install cookiecutter
- Run
cookiecutter pagebased/Resources/Private/ExtensionDummy
You will be asked for a view variables like extension key, object name, etc. After that a new configured extension will be generated for you.
Configuration
Object registration
Create a new registration in your ext_localconf.php
:
Override existing registration
In case you want to override an existing registration, the event BeforeRegistrationEvent
gives you access to all
properties to update them before the pagebased extension does the rest.
Alternatively an extension configuration template will be created automatically. Use the settings module of the TYPO3 InstallTool to override the default values.
Extend plugin flexForm
Use the AddFlexFormEvent
to extend the flexForm of a plugin. Example:
Extend your template
TypoScript
User object
Data processor:
Custom content element
Create a custom content element to display the object information:
Conditions
TypoScript
Fluid
Commands and Tasks
Update registration information of category and object pages with the command pagebased:detection
. Example:
Command | Description |
---|---|
pagebased:detection 7 |
Starting from page uid: 7 . |
pagebased:detection 7 2 |
Starting from page uid: 7 with depth of 2 levels |
This can be useful if you change the identifier of a registration, or you add pages by API.
RSS Feed
Every used pagebased list plugin can simultaneously also be reached as a RSS feed. To achieve this, it's enough to append /-/rss.xml
(example: https://www.example.com/news/-/rss.xml
) to the URL and there you go! You have your RSS feed with all the settings from the corresponding list plugin.
Note: When a page contains multiple list plugins, the first one will be used.
FAQ
Can objects be extended?
Yes. As usual in TYPO3, the whole structure is based on the MVC concept with extbase. Single classes can therefore be overridden and extended. New properties in page objects are automatically recognized and can be used directly for filtering.
Is this an extension builder?
No. The functionality and logic are centered in the pagebased extension. This way, you don't have any redundant code in the project and you can easily update it.
Can multiple page objects run simultaneously in a project?
Yes, any number of objects, such as jobs, news, etc. can run simultaneously in your project. They can be configured differently and still use the same code.
Are page objects SEO-optimized?
All SEO functions that TYPO3 provides can be used on the detail pages without restriction. In addition, structured data can be added via an PSR14 event.
Can the same contacts and topics be used centrally?
Yes, you can flexibly define one or more storage folders for each page object. This means that contact persons and topics can be used together or individually for page objects. The editor receives a note in the backend for which objects there are, e.g. a contact available.
Do I mandatorily need an object category?
Yes! The subpages of an object category are automatically identified as objects. Therefore, it is necessary to create a category first. The category behaves, similarly to objects, like a "normal" TYPO3 page.
All versions of pagebased with dependencies
ext-pdo Version *
php Version ^8.0 | ^8.1
symfony/property-access Version *
typo3/cms-core Version ^12.4.0