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
should be something like ->where(['cms_nav_item.alias' => $alias, 'cms_nav_item.lang_id' => $langId, 'cms_nav.parent_nav_id' => $parentNavId, 'cms_nav_container.website_id' => $websiteId]) and $websiteId must be provided in verifyAlias().
The text was updated successfully, but these errors were encountered:
After #411 we have the following situation now:
Same alias is prevented
parent_nav_id
=0
).That is the desired behavior.
But there is no support of multiple websites in
verifyAlias()
.The GROUP BY clause
luya-module-cms/src/models/NavItem.php
Line 270 in f779150
->exists()
.Currently, it's not possible to have two pages at root level with same alias but in different websites,
because of "same"
parent_nav_id
=0
.The WHERE clause
luya-module-cms/src/models/NavItem.php
Line 269 in f779150
->where(['cms_nav_item.alias' => $alias, 'cms_nav_item.lang_id' => $langId, 'cms_nav.parent_nav_id' => $parentNavId, 'cms_nav_container.website_id' => $websiteId])
and$websiteId
must be provided inverifyAlias()
.The text was updated successfully, but these errors were encountered: