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

Automatic embedding of a breadcrumb in pages #20

Closed
9 tasks done
brotkrueml opened this issue Sep 10, 2019 · 0 comments
Closed
9 tasks done

Automatic embedding of a breadcrumb in pages #20

brotkrueml opened this issue Sep 10, 2019 · 0 comments
Assignees
Labels
documentation Improvements or additions to documentation feature New feature or request

Comments

@brotkrueml
Copy link
Owner

brotkrueml commented Sep 10, 2019

As an integrator I want to embed the breadcrumb markup automatically. So far, I have to use the API or the breadcrumb view helper in a template to add the breadcrumb markup to pages.

Acceptance criteria:

  • An extension configuration option was implemented: "Automatic embedding of the breadcrumb markup into the page
    ". The default option is not activated (for backward compatibility).
  • If the configuration option is activated, the breadcrumb markup is added to a page.
  • The breadcrumb list is generated from the rootline of a page.
  • For the root page no breadcrumb list is embedded.
  • The page property "Page enabled in menus" is respected (as it is also by a visible breadcrumb menu).
  • The nav_title of the page is used for the name of the breadcrumb item when it is defined, otherwise title.
  • The selected web page type from the page properties is used as value for the item @type.
  • There is no check if another breadcrumb list is already added to the page, as multiple breadcrumb lists are valid and this could be intended.
  • The documentation and change log are adjusted.
@brotkrueml brotkrueml self-assigned this Sep 10, 2019
@brotkrueml brotkrueml added feature New feature or request documentation Improvements or additions to documentation labels Sep 10, 2019
@brotkrueml brotkrueml changed the title Automatically add a breadcrumb to pages Automatic embedding of a breadcrumb in pages Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant