mirror of
https://github.com/werkraum-media/events.git
synced 2024-11-22 05:56:10 +01:00
parent
c6ad36b294
commit
cd42770efe
4 changed files with 71 additions and 1 deletions
27
Configuration/CeRouting.yaml
Normal file
27
Configuration/CeRouting.yaml
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
# Used for Content Elements = CE
|
||||||
|
# Works if they all use namespace "events"
|
||||||
|
routeEnhancers:
|
||||||
|
EventsDateShow:
|
||||||
|
type: Extbase
|
||||||
|
namespace: events
|
||||||
|
defaultController: 'Date::show'
|
||||||
|
routes:
|
||||||
|
-
|
||||||
|
routePath: '/{date}'
|
||||||
|
_controller: 'Date::show'
|
||||||
|
aspects:
|
||||||
|
date:
|
||||||
|
type: PersistedAliasMapper
|
||||||
|
tableName: tx_events_domain_model_date
|
||||||
|
routeFieldName: slug
|
||||||
|
EventsPagination:
|
||||||
|
type: Plugin
|
||||||
|
namespace: events
|
||||||
|
routePath: '/{localizedPage}-{currentPage}'
|
||||||
|
aspects:
|
||||||
|
localizedPage:
|
||||||
|
type: LocaleModifier
|
||||||
|
default: 'page'
|
||||||
|
localeMap:
|
||||||
|
- locale: 'de*'
|
||||||
|
value: 'seite'
|
|
@ -1,3 +1,4 @@
|
||||||
|
# Legacy, used for Plugins
|
||||||
routeEnhancers:
|
routeEnhancers:
|
||||||
EventsDateShow:
|
EventsDateShow:
|
||||||
type: Extbase
|
type: Extbase
|
||||||
|
|
42
Documentation/Changelog/3.2.0.rst
Normal file
42
Documentation/Changelog/3.2.0.rst
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
3.2.0
|
||||||
|
=====
|
||||||
|
|
||||||
|
Breaking
|
||||||
|
--------
|
||||||
|
|
||||||
|
Nothing
|
||||||
|
|
||||||
|
Features
|
||||||
|
--------
|
||||||
|
|
||||||
|
* Provide routing for content elements.
|
||||||
|
Can be included within site configuration:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
imports:
|
||||||
|
-
|
||||||
|
resource: 'EXT:events/Configuration/CeRouting.yaml'
|
||||||
|
|
||||||
|
Expects pluginNamespace to be "events":
|
||||||
|
|
||||||
|
.. code-block:: typoscript
|
||||||
|
|
||||||
|
view {
|
||||||
|
pluginNamespace = events
|
||||||
|
}
|
||||||
|
|
||||||
|
Fixes
|
||||||
|
-----
|
||||||
|
|
||||||
|
Nothing
|
||||||
|
|
||||||
|
Tasks
|
||||||
|
-----
|
||||||
|
|
||||||
|
Nothing
|
||||||
|
|
||||||
|
Deprecation
|
||||||
|
-----------
|
||||||
|
|
||||||
|
Nothing
|
|
@ -9,7 +9,7 @@ $EM_CONF['events'] = [
|
||||||
'state' => 'alpha',
|
'state' => 'alpha',
|
||||||
'createDirs' => '',
|
'createDirs' => '',
|
||||||
'clearCacheOnLoad' => 0,
|
'clearCacheOnLoad' => 0,
|
||||||
'version' => '3.1.0',
|
'version' => '3.2.0',
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
'depends' => [
|
'depends' => [
|
||||||
'typo3' => '10.4.00-11.5.99',
|
'typo3' => '10.4.00-11.5.99',
|
||||||
|
|
Loading…
Reference in a new issue