Skip to content

Loading…

Theming: Let Artists change the Look and Feel of Piwik! #3942

Closed
anonymous-piwik-user opened this Issue · 12 comments

3 participants

@anonymous-piwik-user

I am new to Piwik Community. I want to change the look and feel of the Piwik Dashboard and other charts. #3887

Please tell me which css files to be modified ?
Keywords: Theme, .css

@mattab
Piwik Open Source Analytics member

Thanks for the request! You will be happy to know we are actively working on this feature, and it will be part of Piwik 2.0. Please be patient, Piwik 2.0 will take a few months to be ready, but we hope for a beta version including THEMING support, for August maybe.

@mattab
Piwik Open Source Analytics member

In 4b74195: Refs #3942 Adding Themes menu in the admin screen. Next: make Zeitgeist the default theme (and allow only one enabled theme at a time)

@mattab
Piwik Open Source Analytics member

In 27f7dca: Refs #3942

  • Removing getInformation() call from core plugins
  • Renamed translation key PDFReports_PluginDescriptionReports => PDFReports_PluginDescription
@mattab
Piwik Open Source Analytics member

In 7198b79: Refs #3942

  • Zeitgeist is the foundation of our vision for an Open, Extendable Analytics Platform: Piwik 2.
  • This is the default theme for Piwik 2 from which other themes automatically inherit.
  • Plugins do not need a PluginName.php class anymore: plugin can be just a theme! (a json file + less/css/templates overloads)
  • Displaying themes Zeitgeist and PleineLune in the Themes listing
@mattab
Piwik Open Source Analytics member

In 53654d5: Refs #3942

  • Enabling one theme a time: automatically deactivates another theme if it was enabled (except Zeitgeist which is always on)
@anonymous-piwik-user

In 332e434: Refs #3942, allow server-side and JS UI code to use colors defined in CSS.

Notes:

  • Removed colors.piwik.json loading code. No longer necessary.
  • UserCountryMap is the only remaining portion of Piwik that doesn't use this technique. Not yet, anyway.
@mattab
Piwik Open Source Analytics member

In 2340530: Refs #3942 Now themes don't need to have a PHP file, themes can simply specify a "stylesheet" entry in the plugin.piwik.json, this CSS/less file will be loaded as if it was registered with the css event

@halfdan
Piwik Open Source Analytics member

Theming will be available in 2.0 - check Github master and the plugin/PleineLune to see how theming works.

Theming in Piwik 2.0 uses less and super easy to use! Enjoy :)

@mattab
Piwik Open Source Analytics member

Piwik 2 supports theming. Please use Piwik from GIT. Then go to Settings>Themes> and try enable PleineLune theme.

For help on how to create themes, see: https://github.com/piwik/piwik/tree/master/plugins/PleineLune#create-a-theme-for-piwik

We are looking forward to seeing your themes!

@mattab
Piwik Open Source Analytics member

see follow up ticket (VERY exciting!!) #4127 New Default Theme for Piwik

@mattab
Piwik Open Source Analytics member

In be3f817: Refs #4127 #3942 Allow plugins to define one or several javascript that the theme should include, directly from the plugin.json file.
It is better than asking Theme designers to create a .php file that defines the hook "AssetManager.getJavaScriptFiles"

@mattab
Piwik Open Source Analytics member

In ce51ade: Refs #4127 #3942 Example javascripts for Morpheus theme

@anonymous-piwik-user anonymous-piwik-user added this to the 2.0 - Piwik 2.0 milestone
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #3942 Adding Themes menu in the admin screen. Next: make Zeitgei…
…st the default theme (and allow only one enabled theme at a time)
4b74195
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #3942
 * Removing getInformation() call from core plugins
 * Renamed translation key PDFReports_PluginDescriptionReports => PDFReports_PluginDescription
27f7dca
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #3942
 * Zeitgeist is the foundation of our vision for an Open, Extendable Analytics Platform: Piwik 2.
 * This is the default theme for Piwik 2 from which other themes automatically inherit.
 * Plugins do not need a PluginName.php class anymore: plugin can be just a theme! (a json file + less/css/templates overloads)
 * Displaying themes Zeitgeist and PleineLune in the Themes listing
7198b79
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #3942
 * Enabling one theme a time: automatically deactivates another theme if it was enabled (except Zeitgeist which is always on)
53654d5
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@diosmosis diosmosis Refs #3942, allow server-side and JS UI code to use colors defined in…
… CSS.

Notes:
 - Removed colors.piwik.json loading code. No longer necessary.
 - UserCountryMap is the only remaining portion of Piwik that doesn't use this technique. Not yet, anyway.
332e434
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #3942 Now themes don't need to have a PHP file, themes can simpl…
…y specify a "stylesheet" entry in the plugin.piwik.json, this CSS/less file will be loaded as if it was registered with the css event
2340530
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #4127 #3942 Allow plugins to define one or several javascript th…
…at the theme should include, directly from the plugin.json file.

It is better than asking Theme designers to create a .php file that defines the hook "AssetManager.getJavaScriptFiles"
be3f817
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue
@mattab mattab Refs #4127 #3942 Example javascripts for Morpheus theme ce51ade
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.