Skip to content
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

Conversation

wachterjohannes
Copy link
Member

@wachterjohannes wachterjohannes commented Apr 3, 2017

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets none
Related issues/PRs build ontop #122
License MIT
Documentation PR none

What's in this PR?

This PR adds the route to article-page.

TODO

  • Tests

@wachterjohannes wachterjohannes force-pushed the feature/multi-page-route branch 12 times, most recently from 6c4ff22 to 2055f03 Compare April 5, 2017 06:51
->addDefaultsIfNotSet()
->children()
->scalarNode('route_schema')
->defaultValue('/{translator.trans("page")}-{object.getPageNumber()}')
Copy link
Member

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

@wachterjohannes wachterjohannes force-pushed the feature/multi-page-route branch from 2055f03 to 38695ec Compare April 5, 2017 07:37
ArticlePageDocument::class => [
'generator' => 'article_page',
'options' => [
'route_schema' => '/{translator.trans("page")}-{object.getPageNumber()}',
Copy link
Member

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

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@alexander-schranz alexander-schranz merged commit dd718e4 into sulu:feature/multi-page Apr 5, 2017
@wachterjohannes wachterjohannes deleted the feature/multi-page-route branch April 5, 2017 13:02
wachterjohannes added a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Apr 5, 2017
wachterjohannes added a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Apr 20, 2017
wachterjohannes added a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Apr 21, 2017
wachterjohannes added a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Apr 24, 2017
wachterjohannes added a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Apr 25, 2017
wachterjohannes added a commit to wachterjohannes/SuluArticleBundle that referenced this pull request Apr 25, 2017
alexander-schranz pushed a commit that referenced this pull request Apr 25, 2017
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants