Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

Force anonymous request so we have only published pages in menu nodes #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jakob-o
Copy link
Contributor

@jakob-o jakob-o commented Jun 15, 2016

This drove me crazy! Depending on the current state of the toolbar (edit mode / published mode) the menu pool returns nodes with either draft page ids or published page ids. Which then are stored in the named menu. This means there will never be a node referencing a public page if the menu was created in edit mode... This pull request forces the menu pool to only return published pages as available nodes by simulating an anonymous request when asking the menu pool for nodes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant