Posted by TheCH0SEN on September 3, 2009 at 8:14am
2 followers
Jump to:
| Project: | Trackfield |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
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
#1
Sorry, 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?
#2
I 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?
#3
You 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