-
Notifications
You must be signed in to change notification settings - Fork 2
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/1.x/146 url aliases #175
Conversation
On first test, I get an error when trying to add a url alias to a new directory channel. I did a fresh install.
I'm out for a bit but can test more later this afternoon. |
Confirmed: localgov_page works; localgov_directories_channel errors. |
It's because it uses the two step form. Which in the first case we can fix by stopping using the two step form; but I'll see if I can't make a patch for domain_path to stop it trying to create an alias before the content is actually saved. |
https://www.drupal.org/project/domain_path/issues/3293894 I guess, except for rewriting the module, we make some patch for ourselves that overrides the form alter in the case of what looks like a group two-step form and sets a message somewhere that it won't work with domain_path. |
Domain Path doesn't support multi-step forms. Issue https://www.drupal.org/project/domain_path/issues/3293894 Solution outside of rewriting the module is to set a notification for our specific case of group multistep wizard forms #175 (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.
Functionally this is working fine. Just a minor issue about where to put the permissions for this.
modules/localgov_microsites_media/localgov_microsites_media.module
Outdated
Show resolved
Hide resolved
* Permissions from localgovdrupal/localgov_microsites#175 (review) * And dependencies for the permissions.
@stephen-cox assume we can get this is now localgovdrupal/localgov_microsites_group@454c848 is in |
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.
Great - let's get it in
Test with an update to HEAD of group_domain
and on a content type with url alias field enabled, which is all localgov types I found other than the new page one for which I'm making another PR.
Should allow alias to be set for the domain on which the content is being edited.
Will allow multiple aliases to be set should content be in multiple domains (current set up actually already allows two, one for the control site and one for the group domain in the case you are editing content that is in a domain group but doing so on the control domain).