? ? Failure

User tests: Successful: Unsuccessful:

avatar Ruud68
Ruud68
24 Jan 2019

Pull Request for Issue # n/a.

Summary of Changes

the layouts for plg_system_privacyconsent (label and privacynote) are hardcoded into the field and cannot be overwritten by a template override
This PR adds layouts for both the label and for the privacynote (message). these layouts can be overwritten via template overrides.

Testing Instructions

  1. enable the privacyconsent system plugin
  2. set a joomla article as privacy article in the plugin
    on the front-end user registration page the privacyconsent box should show

Apply this PR

[test] on the front-end user regsitration page the privacyconsent box should be exactly the same as without this PR.

  1. create a template override via the template (e.g. protostar):
    -> tab Create Overrides
    -> column Layouts
    -> select plugins > system (new!)

Edit the created override file: ./templates/protostar/html/layouts/plugins/system/privacyconsent/message.php
4. change the class from alert-info to alert-warning

[Result 1] refresh on the front-end the new user registration form

Edit the created override file: ./templates/protostar/html/layouts/plugins/system/privacyconsent/label.php
5. change <span class="star">&#160;*</span></label> to <span class="star">&copy;*</span></label>

[Result 2] refresh on the front-end the new user registration form

New result

image

Actual result

Make sure that after applying the PR everything works as before.

Documentation Changes Required

avatar Ruud68 Ruud68 - open - 24 Jan 2019
avatar Ruud68 Ruud68 - change - 24 Jan 2019
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 24 Jan 2019
Category Layout Front End Plugins
avatar Ruud68 Ruud68 - change - 25 Jan 2019
Labels Added: ?
avatar viocassel
viocassel - comment - 27 Jan 2019

I have tested this item successfully on 2c75abd


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar viocassel viocassel - test_item - 27 Jan 2019 - Tested successfully
avatar Ruud68
Ruud68 - comment - 27 Jan 2019

Thanks for testing @viocassel

avatar wilsonge
wilsonge - comment - 3 Feb 2019

Please fix the file permissions on the privacy field

avatar Ruud68
Ruud68 - comment - 3 Feb 2019

@wilsonge thanks, not sure where that happened... anyway: fixed :)
Once this PR is approved I will also do the same for the user terms plugin (same 'issue', same solution)

avatar tecpromotion
tecpromotion - comment - 6 Feb 2019

I have tested this item successfully on fa7b390

I have tested this item successfully.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar tecpromotion
tecpromotion - comment - 6 Feb 2019

I have tested this item successfully on fa7b390

I have tested this item successfully.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar tecpromotion tecpromotion - test_item - 6 Feb 2019 - Tested successfully
avatar tecpromotion
tecpromotion - comment - 6 Feb 2019

@wilsonge thanks, not sure where that happened... anyway: fixed :)
Once this PR is approved I will also do the same for the user terms plugin (same 'issue', same solution)

That sounds really great when all the privacy suite codes are overwritable. Thank you @Ruud68

avatar Quy Quy - change - 6 Feb 2019
Status Pending Ready to Commit
avatar Quy
Quy - comment - 6 Feb 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar Quy
Quy - comment - 6 Feb 2019

RTC


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar Ruud68
Ruud68 - comment - 7 Feb 2019
avatar Ruud68 Ruud68 - change - 8 Feb 2019
Labels Added: ?
avatar Ruud68
Ruud68 - comment - 8 Feb 2019

@Quy please remove RTC as this needs retesting

avatar tecpromotion
tecpromotion - comment - 18 Feb 2019

I have tested this item successfully on f0491e4

I have tested this item successfully on 3.9.3.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar tecpromotion tecpromotion - test_item - 18 Feb 2019 - Tested successfully
avatar viocassel
viocassel - comment - 18 Feb 2019

I have tested this item successfully on f0491e4


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/23660.

avatar viocassel viocassel - test_item - 18 Feb 2019 - Tested successfully
avatar HLeithner HLeithner - close - 19 Feb 2019
avatar HLeithner HLeithner - merge - 19 Feb 2019
avatar HLeithner
HLeithner - comment - 19 Feb 2019

thx

avatar HLeithner HLeithner - change - 19 Feb 2019
Status Ready to Commit Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2019-02-19 15:09:26
Closed_By HLeithner

Add a Comment

Login with GitHub to post a comment