Active
Project:
Trackfield
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2009 at 08:14 UTC
Updated:
15 Sep 2009 at 00:05 UTC
Hi
I use Trackfield module to generate graphs and stats for GPS tracks from GPX files. When I use one value for fields all is OK, but when I try to use unlimited values I have problems:
graph field create only one graph(from first files) and can't add more fields - when I try "Add another item" I receive this:
* warning: Invalid argument supplied for foreach() in /usr/local/data/www/tracks/sites/all/modules/cck/includes/content.node_form.inc on line 315.
* warning: array_keys() [function.array-keys]: The first argument should be an array in /usr/local/data/www/tracks/sites/all/modules/cck/includes/content.node_form.inc on line 341.
* warning: Wrong parameter count for max() in /usr/local/data/www/tracks/sites/all/modules/cck/includes/content.node_form.inc on line 341.
stats field show info for all tracks but every time I edit the node, new stat field is added automatically and can't be removed.
Best regards.
Comments
Comment #1
raintonr commentedSorry, there is a known limitation about adding more than set of track data per node.
Why do you want to do this? I mean, if you are entering multiple tracks why not add them as a track-per-node?
Comment #2
TheCH0SEN commentedI want to display multiple track graphs in one page.
I try with views, but when I add track graph field on view I receive "No Altitude". It's possible to use track graph field in views?
Comment #3
raintonr commentedYou should be able to use both trackfield_map and trackfield_graph in views.
I have confirmed that maps work (be aware that GMAP preview will not work due to missing JS but when the view is displayed normally it works) but yes, see that when one tries to add a trackfield_graph for altitude the message, "No Altitude" is displayed.
Have raised the altitude problem as separate issue: #577520: trackfield_graph fields do not work in views