Adds a new admin tab allowing to change the opt-out CSS Styles for each website.
-
Click on the "Settings" link located in the top menu on the right
-
Click on the "Custom Opt-Out" tab located in the "Settings" section of the sidebar on the left
-
Enter your customized CSS code into the textarea input field called "Custom Css" e.g.
body {
font-family: Arial, Verdana, sans-serif;
font-size: 12px;
color: #ddd;
line-height: 160%;
margin: 10px;
padding: 0;
}
or insert a URL to the file containing your custom CSS into the input field called "External CSS File" e.g.
http://www.example.org/styles/piwikcustom.css
-
Click the "Save" button.
-
Use the iframe code provided below the input fields to add the Piwiki Opt-Out to your website.
I needed to remove this feature due to the breaking changes in Piwik 2.11.0
- Piwik >= 2.15.0
- Use new OptOutManager
- Drop support for Piwik < 2.15.0
- Use piwiks default OptOutView and Controller
- (Issue #32) Use idsite instead of idSite parameter
- (Issue #33) Loose site id between switching Opt Out states
- Use the new OptOut Manager, so this Plugin can change the style of the core OptOut View
- Update Transifex translations
- Update CodeMirror Editor
- Fix CodeMirror Editor Textarea with large css code
- Fix invalid html in optout template
- (Issue #23) Check DNT in OptOut Page
- Update CodeMirror Editor
- (Issue #22) Remove escaping from externel css url
- Fix PluginSettings
- Update CodeMirror Editor
- (Issue #21) Remove possibility to change opt-out text for each website (Breaking Changes in Piwik 2.11.0)
- Add possibility to change opt-out text for each website
- Add XFrameOption See Piwik Commit
- (MR #15) Make the opt-out form work even if JavaScript is disabled (craue)
- (MR #14) Update Readme (kghbln)
- Add CodeMirror Editor to highlight the CSS Code
- (Issue #6) Disable AngularJs form binding
- (Issue #3) Code updated to support Piwik 2.1 and newer
- (Issue #2) Allow relative urls in css file field
- (MR #1) Added a p-tag around the opt-out text for better markup and easier styling. (christianseel)
- Fix wrong css escaping
- Initial Version
Jens Averkamp
Sven Motz
Please direct any feedback to https://github.com/Zeichen32/PiwikCustomOptOut
Released under the GPL v3 (or later) license, see misc/gpl-3.0.txt