I've started demoing the timeline module to some people and they are excited about it. The first idea is to put all major events on it, extending out possibly for years. However, there might be some fine-grain details required. I've currently got it set to Daily on the main band and Monthly on the lower band, allowing easy traversal of about 6 months with one mouse-click-drag. But allowing the users to 'zoom out' to weekly or greater view in the main band has been requested.

So, the basic question is, is it possible to allow viewers to choose the interval the bands display? I've looked through the view settings and there is the option to expose a form, which I gather comes from the Filters? Sorry, still learning Views. But is it possible to somehow add a form like what's in the Style settings to allow users to choose the band intervals? Failing that, could the code take a query string argument or something to set the interval? I could create a block with such a form.

As always, any assistance is much appreciated, thanks.

Comments

xamanu’s picture

Version: 6.x-2.1 » master
Category: support » feature
Priority: Normal » Minor

ok. this is a nice idea, but this is not possible with the module right now. I leave it here. So we might want to change a bit of the code that would make it at least possible to do such stuff with a custom module. I think about a drupal_alter on the views settings information, rather than only on the dynamic data queried by views.