Hi,
First of all, many thanks for your work on this terrific module. I've been very impressed with it's development over the last 18 months.
I would like to request a feature where it is possible to track the number of page impressions for a panel (just like you can have with nodes).
This would be very usseful for creating stats and reports for my site.
Thanks again,
Danielle
Comments
Comment #1
razevedo commentedHello,
I wanted this feature too, it's very usefull as i'm using this module to build a lot of pages in my site.
Thanks very much for Panels module.
to Dinis: You are using some workaround to achive this?
Comment #2
dinis commentedHi Razevdo,
My work-around is a bit of a bodge really. I've created a new table in my database with a row for each panel variant I have. I have an embedded php script on each variant which updates the "hit" value for the variant each time the script is run (i.e. on each page load).
It's very "quick and dirty" and ideally I would like to tie it into the main watchdog tracker / stats etc.
Kind regards,
Danielle
Comment #3
razevedo commentedHi Danielle, thanks for the reply
I'll implement something like your workaround while we don't have the "clean" solution.
I expect that someone give a look to this one.
Thanks again,
Rafael
Comment #4
merlinofchaos commentedThis probably wouuld be more of a CTools feature for the page manager.
Comment #5
merlinofchaos commentedActually, that workaround isn't *too far* from the appropriate solution.
The best solution is to module after statistics.module. For reference, this is how statistics tracks:
So the access log can track total hits. Creating something similar to node_counter for variants would not be too difficult, and you can use page_manager_get_current_page() to see if a page was hit and which handler was used, etc. An initial version of this module wouldn't take too long, though to be truly useful it probably also needs integration.
I'm unsure if such a module should actually ship with page manager or if page_manager_statistics should be a separate module.
Does anyone want to work on this? If I'm handed a working module I may well consider including it.
Comment #6
japerryClosing this issue as outdated as Drupal 6 ctools is not supported. If this issue is relevant for Drupal 7, feel free to re-open and mark for Drupal 7 (or 8)