-
Notifications
You must be signed in to change notification settings - Fork 445
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
Privacy consent statements error in registration form multi-journal install #3836
Comments
From my memory of previous discussions, we may need:
|
Fixes a PHP warning that a reference was expected but a value was passed.
- Add site-wide privacy statement. - Add config option to disable context-specific privacy statements. - Add privacy consent for site and contexts to site-wide registration. - Display site-wide privacy statement if no context statement exists.
I've implemented the following:
This has implications for existing themes. @Vitaliy-1 would you take a look and update the existing themes as necessary? If you could also provide a PR for the Bootstrap3 theme (https://github.com/NateWr/bootstrap3/issues/93), I'd really appreciate it. Finally, if you're able, it would be good to document this change for third-party themes, and outline steps they need to take to make their themes compatible. @bozana would you code review? PRs: |
@asmecher can you code review? |
pkp/pkp-lib#3836 Fix broken HTML output on registration page.
@NateWr, did you see that the tests failed? OTOH, I suspect it's because you're potentially getting the Site object before the system has been installed (thus no DB). |
- Add site-wide privacy statement. - Add config option to disable context-specific privacy statements. - Add privacy consent for site and contexts to site-wide registration. - Display site-wide privacy statement if no context statement exists.
Thanks! Think I've fixed it. Tests running. |
- Add site-wide privacy statement. - Add config option to disable context-specific privacy statements. - Add privacy consent for site and contexts to site-wide registration. - Display site-wide privacy statement if no context statement exists.
@asmecher tests have passed here and I've rebased for a clean merge. |
Reviewed, committed and back-ported to |
pkp/pkp-lib#3836 Add site privacy statement and consent during registration
#3836 Add site privacy statement and consent during regist…
- Add site-wide privacy statement. - Add config option to disable context-specific privacy statements. - Add privacy consent for site and contexts to site-wide registration. - Display site-wide privacy statement if no context statement exists.
- Add site-wide privacy statement. - Add config option to disable context-specific privacy statements. - Add privacy consent for site and contexts to site-wide registration. - Display site-wide privacy statement if no context statement exists.
@fgnievinski, some themes also required adjustment when they overrode affected templates. (See e.g.: NateWr/bootstrap3@0df65c2) What theme are you using? |
hi @asmecher , I see the Default theme is selected under Website Settings > Appearance. There's also a custom journal style sheet that reads simply:
http://www.seer.ufu.br/public/journals/78/styleSheet.css?2019-09-13%2021:18:44 |
pls let me know if you have any pointers. I looked in a couple of .less and .tpl files. thanks |
Look in |
Multi-journal registering form page doesn't allow to proceed with registration since it doesn't display checkbox with privacy consent. That way it always returns a form validation error message.
See how it shows to Portal registering page:
https://demo.publicknowledgeproject.org/pkpschool/ojs3/index.php/index/user/register
And how it is shown in a journal from this Portal:
https://demo.publicknowledgeproject.org/pkpschool/ojs3/index.php/rlr/user/register
The text was updated successfully, but these errors were encountered: