Needs work
Project:
Piwik Statistic Integration
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Aug 2012 at 11:23 UTC
Updated:
14 Dec 2012 at 10:46 UTC
Are you planning to make a backport of this module to Drupal 6?
Comments
Comment #1
patrickd commentedHi
as this field is making use of entities and fields, porting this module to cck would require a complete rewrite.
I don't think that this is worth the efforts but anyone who has more experience in cck development and also needs this functionality can feel free to backport it and post it here. (I wont).
Sorry
Comment #2
Romka commentedOk, I have an experience in developing cck-fields for Drupal 6. I'll try to make a backport of this module by myself.
Comment #3
patrickd commentedI'd really love to see this, thanks
Comment #4
Romka commentedHello, Patrick.
I've finished work on first version of Piwik stats module for Drupal 6. You can find it here: https://drupal.org/sandbox/romka/1794242. This module working in test-mode on two my sites, but it might have errors... I would appreciate if you make a code review and add this version to official module page.
Differencies between this version of module and D7 version:
Comment #5
patrickd commentedGreat!
I had a look at it and it's a little hard to properly review differences because this is rather a rewrite than a backport with some changes of the general implementation.
Could you provide me a more detailed list of all changes?
Issues I have with it so far:
include 'piwik_stats.field.inc';does the same without wasting timeThinks that should be discussed:
As said, the problem I have with your backport is, that there are too many side-changes that have nothing to do with a simple backport; there are too many changes of the general implementation.
The common way to handle such issues is, first cleanly backporting the module and only make changes where absolutely necessary to work with d6. If then there are alternations needed, open a new issue for each one as feature request / bug report.
Sorry, I just can't push this as it is currently, it would simply take too long to figure out what the "the actual backport" is and what "the new setting you added".
Comment #6
Romka commentedHello Patrick.
I've implemented some of your advices (https://drupal.org/sandbox/romka/1794242):
All of the features above are done.
Yes, I understand that my solution is bad and I'll think how improve it.
I've copied file from your module and made some changes in it. I hope you don't mind about it.
Ok. I'll try to reduce to zero differences in approaches between my version of module and your. And I'll describe the differences.
P.S. I have new idea. I think it'll be useful if field will have a period "all time". What do you think?
Comment #7
patrickd commentedI'm not sure if it is bad, just wondering whether there's a better way in d6
Sure not :)
That would be awesome
As long we support queued import, that should be no problem to implement and will definitely be worth it
good idea!
Comment #8
soulfroysHello!
I do not have git, how could I help with tests? Can you publish a DEV version?