-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added route-behavior to article-page #131
Added route-behavior to article-page #131
Conversation
6c4ff22
to
2055f03
Compare
->addDefaultsIfNotSet() | ||
->children() | ||
->scalarNode('route_schema') | ||
->defaultValue('/{translator.trans("page")}-{object.getPageNumber()}') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would prefer to configure this also in the sulu_route
2055f03
to
38695ec
Compare
ArticlePageDocument::class => [ | ||
'generator' => 'article_page', | ||
'options' => [ | ||
'route_schema' => '/{translator.trans("page")}-{object.getPageNumber()}', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would call the parameter just schema
as we are in the route definition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there it is also route_schema
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
* Implemented page document and API (#114) * implemented basic page document * added index pages to article * fixed serialization context of article and article-page (#118) * Add interface to manage article-pages (#116) * introduced css grunt job * added article-router * added page dropdown * added logic to create and update pages * renamed adapter * Added article title to page form (#123) * added article title * fixed selector for css stye * fixed jquery selector of grid-row * added page to content-navigation (#125) * Fixed create article from ghost (#126) * fixed create article from ghost * hide new page link for new articls * fixed code style * added delete page button (#132) * added translations (#128) * added route-behavior to article-page (#131) * Fixed priorities of subscriber (#137) * fixed priorities of subscriber * added tag to find routePath property * Fixed title property (article-title) and add page title property (#141) * fixed title property (article-title) and add page title property * added node-name-slugifier * Changed generating route only on publish (#138) * use publish event to generate routes * refactored because of sulu changes * Added page-number argument to website-article-controller (#142) * added serialization of pages * added pages data to article-document * fixed comments * Added synchronize children between draft and live (#139) * added synchronice children between draft and live * fixed preview for new pages * fixed serialization for preview * fixed testcases * Fixed versioning and remove-draft of article-pages (#145) * fixed versioning of article-pages * added upgrade note * added constraint for jackalope/jackalope * implemented duplicate article (#146) * Fixed preview-serialization of article pages (#154) * fixed preview-serialization of article pages * change view of renderArticle * fixed type change on list (#156) * Fixed metadata for article to sync remove (#155) * fixed metadata for article * fixed routable-subscriber to remove all routes (locales) * removed article-page copy locale (#157) * fixed code-style * fixed test-setup
What's in this PR?
This PR adds the route to article-page.
TODO