-
-
Notifications
You must be signed in to change notification settings - Fork 20
winter 1.2.8 support #57
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
Conversation
|
@LukeTowers I started converting this plugin but encountered an issue with the default update view breadcrumbs... it is showing "Users" twice, as can be seen in the screenshot below: |
|
The breadcrumb can be fixed by adding this commit to the diff --git a/modules/backend/layouts/_breadcrumb.php b/modules/backend/layouts/_breadcrumb.php
index c9f575539..cc56ddfda 100644
--- a/modules/backend/layouts/_breadcrumb.php
+++ b/modules/backend/layouts/_breadcrumb.php
@@ -12,7 +12,7 @@
<?php if ($menu): ?>
<ul>
<li><a href="<?= $menu->url ?>"><?= e(trans($menu->label)) ?></a></li>
- <?php if ($sideMenu): ?>
+ <?php if ($sideMenu && $sideMenu->url !== $menu->url): ?>
<li><a href="<?= $sideMenu->url ?>"><?= e(trans($sideMenu->label)) ?></a></li>
<?php elseif ($settingsItem): ?>
<li><a href="<?= $settingsItem->url ?>"><?= e(trans($settingsItem->label)) ?></a></li> |
LukeTowers
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved pending merge of wintercms/winter#1312 and release of 1.2.8.

Depends on wintercms/winter#1312
Update Winter.User to use formcontroller behavior's default views.