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

Contextualizing the event portlet even when Inherited #276

Open
b4oshany opened this issue Mar 7, 2018 · 0 comments
Open

Contextualizing the event portlet even when Inherited #276

b4oshany opened this issue Mar 7, 2018 · 0 comments

Comments

@b4oshany
Copy link

b4oshany commented Mar 7, 2018

Current Implementation

  • Upon adding an event portlet, the user can select a folder or collection as the search base for events, otherwise, it will use the entire site as the search base.
  • However, when a subfolder, inherits the event portlet, the search base is the same as the parent portlet.

image

Limitations

Subfolders' event portlet isn't contextualized, whereby the search base becomes the contexted or current folder automatically. For example, on a Plone site, there's a committees page, with an event portlet that shows the top 5 upcoming events from all committee page and each committee page has an event portlet with their own events.
With the current implementation, the site manager has to set the search base for each committee manually, instead of automatically inheriting the event portlet with an option or value to set the search base to the current folder or context.

Possible Solutions

  • Add an optional checkbox field that will set the current context or folder has the search base.
  • Change the search base from UUID to PATH search.
    image
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant