-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add development branch for Article Bundle 3.0
- Loading branch information
1 parent
6f9ff17
commit bc71e55
Showing
10 changed files
with
137 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
framework: | ||
messenger: | ||
# Uncomment this (and the failed transport below) to send failed messages to this transport for later handling. | ||
# failure_transport: failed | ||
|
||
transports: | ||
# https://symfony.com/doc/current/messenger.html#transport-configuration | ||
# async: '%env(MESSENGER_TRANSPORT_DSN)%' | ||
# failed: 'doctrine://default?queue_name=failed' | ||
# sync: 'sync://' | ||
|
||
routing: | ||
# Route your messages to the transports | ||
# 'App\Message\YourMessage': async | ||
|
||
# when@test: | ||
# framework: | ||
# messenger: | ||
# transports: | ||
# # replace with your transport name here (e.g., my_transport: 'in-memory://') | ||
# # For more Messenger testing tools, see https://github.com/zenstruck/messenger-test | ||
# async: 'in-memory://' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
sulu_next_article: {} | ||
|
||
sulu_core: | ||
content: | ||
structure: | ||
default_type: | ||
article: 'article' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
framework: | ||
workflows: null |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<?xml version="1.0" ?> | ||
<template xmlns="http://schemas.sulu.io/template/template" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://schemas.sulu.io/template/template http://schemas.sulu.io/template/template-1.0.xsd"> | ||
|
||
<key>article</key> | ||
|
||
<view>articles/article</view> | ||
<controller>Sulu\Bundle\WebsiteBundle\Controller\DefaultController::indexAction</controller> | ||
<cacheLifetime>604800</cacheLifetime> | ||
|
||
<meta> | ||
<title lang="en">Article</title> | ||
<title lang="de">Artikel</title> | ||
</meta> | ||
|
||
<properties> | ||
<property name="title" type="text_line" mandatory="true"> | ||
<meta> | ||
<title lang="en">Title</title> | ||
<title lang="de">Titel</title> | ||
</meta> | ||
<params> | ||
<param name="headline" value="true"/> | ||
</params> | ||
|
||
<tag name="sulu.rlp.part"/> | ||
</property> | ||
|
||
<property name="url" type="route"> | ||
<meta> | ||
<title lang="en">Resourcelocator</title> | ||
<title lang="de">Adresse</title> | ||
</meta> | ||
|
||
<tag name="sulu.rlp"/> | ||
</property> | ||
|
||
<property name="article" type="text_editor"> | ||
<meta> | ||
<title lang="en">Article</title> | ||
<title lang="de">Artikel</title> | ||
</meta> | ||
</property> | ||
</properties> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{% extends "base.html.twig" %} | ||
|
||
{% block content %} | ||
<h1>{{ content.title }}</h1> | ||
|
||
{{ content.article|raw }} | ||
{% endblock %} |