You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like a collection as the default page on my Plone site, in the root folder. The Idea is to list all the news on the start page of my site. That's working so far.
But when I do that, the <plone_site>/event_listing shows no results more.
I found this lines in the plone/app/event/browser/event_listing.py:
# Try to get the default page
default = get_default_page(context)
self.default_context = context[default] if default else context
If I change it to
self.default_context = context
the event_listing view shows the expected results, even if a collection is the default on the root folder of my plone site.
So my question is: What does this code do? What happens with self.default_context = context, or in other words: what will not work anymore.
I'm not a programmer, just a more advanced user ;-)
Greetings from Germany und many thanks!
Jens
The text was updated successfully, but these errors were encountered:
Hi guys,
I'm not sure if this is a bug.
I would like a collection as the default page on my Plone site, in the root folder. The Idea is to list all the news on the start page of my site. That's working so far.
But when I do that, the <plone_site>/event_listing shows no results more.
I found this lines in the plone/app/event/browser/event_listing.py:
If I change it to
the event_listing view shows the expected results, even if a collection is the default on the root folder of my plone site.
So my question is: What does this code do? What happens with self.default_context = context, or in other words: what will not work anymore.
I'm not a programmer, just a more advanced user ;-)
Greetings from Germany und many thanks!
Jens
The text was updated successfully, but these errors were encountered: