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

[FEATURE] Added navigation context in structure #182

Merged
merged 3 commits into from
Aug 12, 2014

Conversation

wachterjohannes
Copy link
Member

Added navigation context in structure:

Tasks:

Informations:

Q A
Tests pass? no => SuluTestBundle
Fixed tickets sulu/sulu-standard#121
BC Breaks none
Doc sulu/docs@a3770dc

@wachterjohannes wachterjohannes changed the title [FEATURE] Added navigation context in structure [WIP] [FEATURE] Added navigation context in structure Aug 4, 2014
@wachterjohannes wachterjohannes changed the title [WIP] [FEATURE] Added navigation context in structure [FEATURE] Added navigation context in structure Aug 11, 2014
@@ -640,7 +661,7 @@ public function loadStartPage($webspaceKey, $languageCode)
$startPage = $this->load($uuid, $webspaceKey, $languageCode);
$startPage->setNodeState(StructureInterface::STATE_PUBLISHED);
$startPage->setGlobalState(StructureInterface::STATE_PUBLISHED);
$startPage->setNavigation(true);
$startPage->setNavContexts(true);
Copy link
Contributor

Choose a reason for hiding this comment

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

@wachterjohannes Should here really be true passed? NavContexts are a string array.

@danrot
Copy link
Contributor

danrot commented Aug 12, 2014

Generally ok, but the navContexts variable confuses me a bit... What does it mean when it is a boolean? Shouldn't it always be a string array, with the option to be empty, if it's not shown in any navigation?

@danrot danrot merged commit b961687 into develop Aug 12, 2014
@danrot danrot deleted the feature/navigation-context branch August 12, 2014 10:40
chirimoya added a commit that referenced this pull request Oct 31, 2014
alexander-schranz pushed a commit to alexander-schranz/sulu that referenced this pull request Feb 22, 2024
* Add AudienceTargetingBundle Javascript

* Remove registration of AudienceTargetingBundle

* Add database as a service
alexander-schranz added a commit to alexander-schranz/sulu that referenced this pull request Feb 22, 2024
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.

None yet

2 participants