-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Overwrite activation url with custom plugin #45
Comments
Hello, @abdullah10182 I guess that this PR that will be merged soon can help you to overwrite it using a custom configuration file. It will be released this weekend, or maybe today. Then I can test it. |
Great, thanks for the awesome work. |
OK. Just checked, and it seems that the PR doesn't change the Plugin's settings, after all. So, in fact, what I'll need to do, is to convert your PR into a feature request. 'Cause, checking the code (It was written a long time ago, sorry) I didn't intendet to support this kind of configuration, but it seems interesting. Let me just check if it would be viable. UPDATE: The main thing is that it gets the default values from the file, then it replaces the value by the ones available at the database. |
I wasn't able to fully test this one, but in my quick tests, it seems that the CMS Settings will always replace the values from the config file. @abdullah10182 do you have any feedback about this one? |
For now I just manually change the urls whenever I sync the database or move anything to another url. Not a big deal. |
Hi,
I'm trying to overwrite the activation and password reset urls so I can customize these per installation in an .env file for example.
So far I have a custom plugin in which I have this in the Plugin.php file.
This works, the problem is that it clears all the fields in the settings section for the plugin in the backend.
The values still exist, they just don't display anymore in their corresponding fields in the settings area.
Any hint what I'm doing wrong?
Thanks,
A.
The text was updated successfully, but these errors were encountered: