Skip to content

#8752: Publish/unpublish Menu Items in the Menu editor#8807

Merged
BenedekFarkas merged 5 commits into1.10.xfrom
issue/8752
Dec 6, 2024
Merged

#8752: Publish/unpublish Menu Items in the Menu editor#8807
BenedekFarkas merged 5 commits into1.10.xfrom
issue/8752

Conversation

@BenedekFarkas
Copy link
Copy Markdown
Member

@BenedekFarkas BenedekFarkas commented Nov 15, 2024

Fixes #8752, alternative to #8753.

Functional changes in src/Orchard.Web/Core/Navigation/Controllers/AdminController.cs (besides a ton of code styling):

  • Added Publish and Unpublish action, which are based on those in the Contents feature's AdminController.
  • Saving a menu item redirects back to the menu (with a notification that includes the menu text, if it's available).
  • Saving a menu item doesn't publish it, if it's unpublished.

image

@BenedekFarkas BenedekFarkas merged commit 79f66ce into 1.10.x Dec 6, 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.

Management of a new hide/show field in frontend

2 participants