Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2011-04-10 17:46:24

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

msd_piwik_dashboard: Piwik Dashboard for Textpattern

Features

Replaces the standard Textpattern Visitor Logs with your Piwik Dashboard

Setup

Set the plugin preferences to configure your piwik site id and the url to your piwik installation.

Currently the plugin requires you either be logged into piwik or you allow anonymous view of your piwik data. Information on configuring piwik can be found on the piwik documentation site

Download and More Information

GitHub

Last edited by MattD (2017-03-08 06:59:11)


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#2 2011-04-10 21:30:28

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

Not tried, but… wow! I’ve dreamnt of something similar for ages… My only concerns are about db size of piwikis… but that has nothing to do with your plugin, of course! Thanks!

Offline

#3 2011-04-10 22:49:09

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

Matt, that’s a nice addition to our plugin family, and an increase of attractiveness for TXP. Thanks for writing this plugin!

At the moment the download link doesn’t work, I presume not only for me, the counter is still at 0.

Last edited by uli (2011-04-11 10:45:35)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#4 2011-04-10 23:22:50

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

I always think of one more thing after publishing the forum post and I think you caught me while I was making a change. Downloads work now.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

#5 2011-04-11 05:23:56

SuMu
Member
From: Germany - Wuppertal
Registered: 2008-03-06
Posts: 242
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

Wow, Thanks, I Like Piwik – and your Plugin :-)


viele Grüße
SuMu

Psychomuell + blogZicke

Offline

#6 2017-02-22 19:08:44

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

I have installed this plugin, but I do not understand, what I should set into Preference for shown the Piwik-Dashboard in Textpattern.

I have set the Piwik-Number, which my website have in my piwik. and set the link /mysite.de/piwik.php?idsite=#

#=number

In the Advanced Settings I have leave the Module as “Dashboard” and set the AuthToken from Piwik-User below.

But I get an Error and the Piwik-Dashboard dont work. I dont understand, what I can do?

Offline

#7 2017-02-22 19:20:28

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

lythande wrote #304191:

But I get an Error

Error first :) Please post it here.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#8 2017-02-22 20:45:40

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

I don’t get a error-line.
Only this:
If I open in my Textpattern Administration – Protokolle, then I see two Buttons Piwik Textpattern. Left of them is a Inline with my website in width about 15em (for screen mobile). on this side instead of normal articles from my websites I get an 404-Error (404 Not Found).
Right of this is empty.

The Button for Textpattern show the standard Textpattern Visitor Logs, that still works.
Piwik work too, but not inside Textpattern.

If I press on Piwik -Button, it only go to the 404-Error in the design of my Website. No other Error-Lines there.

Offline

#9 2017-02-22 22:24:42

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

I found now, I have wrote the url in the line “Piwik Site URL” without a http(s)://

Now, with the http:// I get not my website, but the Piwik-Windows inside Textpattern are still empty, doesn’t show a Dashboard from Piwik.

Offline

#10 2017-02-22 23:11:12

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

so, the url should have only from http(s)://domaintoyourpiwik.de , without anything after .de!
Now work the plugin. :)

But I am irritated, why the Dashboard is shown only in the width for screen mobile. The window for Dashboard is small not on the full windows of browser. (The browser-windows is normall size, about 900px wide.)
The <iframe> inside <div id="widgetIframe"> has still

<iframe src="linktomypiwikdashboardwithauth" scrolling="yes" marginheight="0" marginwidth="0" width="100%" frameborder="0" height="766">

I think the problem is from textpattern.min.css on line 32 (and this is inside for html <div id="widgetIframe"> ):

.txp-layout > *, fieldset {
    min-width: 0;
}

If I set min-width to 100%, so It show full in the browser-windows. But I dont know, what using this .css line too, so I ask here how to solved it.

I use Textpattern 4.6.2

Last edited by lythande (2017-02-22 23:32:19)

Offline

#11 2017-02-23 01:44:10

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,187
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

lythande wrote #304198:

The <iframe> inside <div id="widgetIframe"> has still

<iframe src="linktomypiwikdashboardwithauth" scrolling="yes" marginheight="0" marginwidth="0" width="100%" frameborder="0" height="766">...

I think the problem is from textpattern.min.css on line 32 (and this is inside for html <div id="widgetIframe"> ):

Assuming the layout structure is as follow (I don’t use the plugin, nor Pikwik, so I can’t test more):

<div class="txp-layout">
  <div id="widgetIframe">
    <iframe src="" scrolling="yes" marginheight="0" marginwidth="0" width="100%" frameborder="0" height="766"></iframe>
  </div>
</div>

You could add this rule to your custom.css stylesheet

div#widgetIframe { width: 100%;}

Read the readme file inside your admin theme for details on how to use a custom.css file, or see the comment here.


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#12 2017-02-23 11:07:32

lythande
Member
Registered: 2009-09-08
Posts: 202
Website

Re: msd_piwik_dashboard: Piwik Dashboard for Textpattern

yeah, this works!
I added the div#widgetIframe { width: 100%;} in the textpattern.min.css
much thanks! :-)

Offline

Board footer

Powered by FluxBB