Code: Select all
serendipity_fetchEntry('id', $id)
Code: Select all
serendipity_fetchEntry('id', $id)
Hi Berndbernd_d wrote:In my case, i get URLs like /archives/67-D-Link-DNS-323-im-Test.html from piwik and for output i would need page-title from database. Could be possible with article-id i hope, but it would be needed for different kind of url-rewriting.
But this only would solve my problem, i don't know why Timbalu gets different links/output. This need to be checked within piwik-dashboard and compared to output of the api.
Code: Select all
// take pagetitles from second array and write it into first one
@ini_set("memory_limit",'64M');
Will be better with Piwik 2.0. As you can see it on my page, then you will be able to query "last x days" instead of current week. It doesn't work within Piwik 1.0 because of some API-bugs.Timbalu wrote:I needed to wait for the new week to get some new results...
64M memory for this little array with 5 entries?!? Or did you use a larger number of entries (plugin-settings) that had to be fetched?Timbalu wrote:Just as a side note, when starting, I had to make it work byCode: Select all
// take pagetitles from second array and write it into first one @ini_set("memory_limit",'64M');
Yes, this is what i mean.Timbalu wrote:Do you mean those two core file changes. I did use them already.
I have made a new 0.4.0 with some optmizations at the piwik-query-url, hope this helps a little bit.Timbalu wrote:And about the memory limit, this wondered me too. I surely started with lower tries, until the error was gone. Today I think, it was because the sidebar compilation and piwik in the background raised up the used memory so high, that I had to reserve some more than origin necessary to the plugin.
Code: Select all
0.4.0
* with Piwik v2 it is possible to use last x days for most
read entries instead of current week
* some optimizations for fetching most read entries (smaller arrays)