Set No of column on the dashboard


(Sledge HaMMeR) #1

It would be nice if in a upcoming version the number of columns (3,2,1) and perhaps in case of two column the width (50/50% vs 66/33%) could be set in the settings.
This is very nice if you use the dashboard in a kind of wrapper on an external site.

For the time being the following solution will work:

=====================================
==== Solution for TWO columns ===========

  1. move your dashboard widgets into two (left and middle) columns

  2. edit …/piwik/plugins/Dashboard/templates/dashboard.css
    change the width on line 12 into 50%

  3. edit …/piwik/plugins/Dashboard/templates/index.tpl
    delete line 58 (

    )
  4. delete directory …/piwik/tmp

  5. make directory …/piwik/tmp

  6. CHMOD directory …/pwiki/tmp to 777

  7. You are good to go !

=====================================
==== Solution for ONE columns ===========

  1. move your dashboard widgets into ONE (left) column

  2. edit …/piwik/plugins/Dashboard/templates/dashboard.css
    change the width on line 12 into 100%

  3. edit …/piwik/plugins/Dashboard/templates/index.tpl
    delete line 57 (

    )
    delete line 58 (
    )
  4. delete directory …/piwik/tmp

  5. make directory …/piwik/tmp

  6. CHMOD directory …/pwiki/tmp to 777

  7. You are good to go !


(Matthieu Aubry) #2

Created feature request in http://dev.piwik.org/trac/ticket/1559