Hi!

Is there an upgrade to Drupal 7 for this module planned?

Thanks!

Daniel

CommentFileSizeAuthor
#6 trackfieldd7.tar_.gz8.49 KBslcp

Comments

balagan’s picture

Subscribing

splash112’s picture

Cool module!

raintonr’s picture

Sorry to disappoint but I will not be looking at a D7 version until GMap has a stable D7 release.

Don't let this stop anyone else having a crack though ;)

slcp’s picture

I have started a port of trackfield. My first foray into modules openly available to the Drupal community, have only worked on ones for my own specific use cases previously. I am no expert in these fields but competent.

Also my first look into Drupal 7.

@raintor: would not mind some input from yourself...as I said no Drupal community work as such behind me and I don't want to upset anyone.

raintonr’s picture

@slcp... you mean you have started to work on a D7 version? That's great if so, thanks.

To be honest, once the main trackfield.module has been updated to work with D7 CCK/fields then the others shouldn't need much work.

The rest of the modules use hooks internal to trackfield family of modules so there may be no need to change them.

slcp’s picture

StatusFileSize
new8.49 KB

@raintor, I have bashed this out tonight. I would like to continue patching/working on this :o) Let me know...

There is Trackfield, CSV, File and GPX in there and they all work in my local environment. It is not production ready. Errors are not being returned properly everywhere yet but an error is being returned in all cases just not very enlightening most of the time. No drastic changes from D6, apart from porting cck functions, handling the file in File is the most major I think.

Location integration is not there and neither is the handling of new revisions properly.

Not sure what the process is but if anyone wants to test it...I will fine tune it another evening. I'd appreciate some testing.

EDIT: http://github.com/slcp/Trackfield-D7 Project on Github. Completely new to git so learning the ropes :o)

francisperea’s picture

@slcp, I'm very interested in test it.

I've even downloaded and installed sucessfully the attached module, but what I'm really interested is in trackfield_stats.

I've seen that you have continued the development in your github repository, but the current master which includes trackfield_stats don't want to run on my environment.

Any news or hope to have a new version with stats able to run?

Thanks a lot for your work.

Canadaka’s picture

Subscribing

slcp’s picture

The github repo has been updated.

@canadaka, give it a whirl.

Canadaka’s picture

Oh I have, I just wanted to follow this thread for any updates. Boggles my mind why Drupal.org doesn't implement a proper issue/thread follow system.

I've also asked the project author for write access to the GIT, I've ported some more of the D6 code.

francisperea’s picture

I've got it! It works like a charm, even stat.

Thanks a lot for your work.

May I ask how is the track graph module going? ;-)

Thanks again.

slcp’s picture

I glanced over Graph but it is not a high priority for me...adding in the features that are missing from D6 in the module already ported is a priority.

I do not expect to do a massive amount on this for the time being as other things are demanding my time :o(

francisperea’s picture

I understand, don't worry.

Any case, thanks a lot again for your work.

I'll keep an eye on it.

Canadaka’s picture

In my opinion the graph portion should be a complete rewrite using Googles Chart API rather than the existing dependencies.

slcp’s picture

Graph allows for providing a choice of rendering options as far as graphing libraries/sources goes...jpgraph just happens to be the only one fully implemented...jqplot is clearly being considered/worked on.

Google Charts is another option, I am a big fan of Highcharts myself. I don't see a reason to remove the existing dependencies.

smscotten’s picture

Wow, this is coming along very nicely! What needs to happen to start keeping slcp's 7.x branch here on drupal.org? I'm wondering what's keeping it from being the real 7.x-1.x-dev version.

Thanks for your hard work!

hampshire’s picture

I too am using the 7.x branch and would love to see it moved here to drupal. What needs to be done?

hampshire’s picture

Does the time feature of this module work? I have been unable to get a time with multiple GPX files on both Drupal 7 and 6.

slcp’s picture

@hampshire - best to create a separate feature request for D6 for this. This requires a (simple) patch for the Trackfield GPX module. I will roll into D7 when I have a few minutes to spare.

slcp’s picture

Created an issue (Parse 'time' data from GPX files) and uploaded a proposed patch as per #18

francisperea’s picture

Hi slcp, I've just downloaded and installed your last commit to the new repository.

Just to let you know it works flawlessly. Even the graph module!

Thanks once again for your work.

Now trying to figure how to plot speed / time.

slcp’s picture

@francisperea - Thanks for the feedback. As far as the plotting of data other than altitude/distance I think some input from the maintainer (raintonr) would be valuable here. I am not sure I will be doing much on it with the graph module as it is, I have come round to Canadaka's comment (#14) about the potential for a rewrite.

slcp’s picture

I have just pushed a views_integration branch to my github repo that you might want to check out. It only exposes raw data (the comma separated values of each type of data, eg latitude, longituse, altitude) as fields to views at the moment. I have put some notes in README.txt regarding what I want to do with it, concerns I have and potential uses for it in this state so please read that.

Available here: https://github.com/slcp/trackfield-7.x/tree/views-integration

mv1st’s picture

Issue summary: View changes

I am using the version of this module from post #23 and if I have trackfield set to get the duration of my track it spits out the unix timestamp of the last trackpoint in my GPX file instead of the duration. Also I get dozens of the following error, I suspect one for each trackpoint

Notice: Undefined variable: tim_base in _trackfield_gpx_setcsv() (line 41 of */trackfield_gpx.module).

sano’s picture

After installing the code from github (URL given in #23 above) I was able to make all functionality work except the graph. I read the bit in the readme file about re-saving the graph config form, but on the trackfield config page I am missing the "graph" tab with the config form. So I can't re-save the form and therefore can't turn the Track Graph module on.

Does anybody have an advice for me?

slcp’s picture

Please file issues for the D7 port here https://www.drupal.org/project/issues/1393850