Hi love the work you've done here. I had the change the height thru the theme for what I wanted on a site I'm building. Is it possible in the future to change the height thru views manually? Also can we get a "Text Field" under the next and previous arrows instead of the date I would like to customize the timeline a bit.

I have a pet peeve with the date format I know you have to use it in the plugin but could you reformat it so that it uses all or any PHP time formats you would like but still have that correct one under the hood so-to-speak. I just want a less techie display for my clients.

And last but not least can you output the theme so it is easier to skin.

Thanks for all the hard work.

Comments

fluxsauce’s picture

Thanks for the feedback, we appreciate it.

Currently, the height is hard coded as 500 in theme/views_timelinejs.theme.inc template_preprocess_views_timelinejs - it should be 500px and it should be more flexible and overridable.

Regarding the date format, I'm not exactly sure what you mean. I will say that I'm aiming for better Time Zone support (it's pretty hacky right now) and it would be good to be able to specify a date format in order to ignore times, for example, as the library itself is pretty flexible. Some more documentation on the subject:

can you output the theme so it is easier to skin

It's a JavaScript library, so we pass data and configuration, TimelineJS parses it and renders. You can override the styles with CSS, though - see https://groups.google.com/d/topic/verite-timeline/EAaBttHnF-g/discussion

vickytnz’s picture

Yes, it'd be nice if some of the Views filters could parse through e.g. font size for headers. I'd particularly like to know how to change the image size: I've got some pics with text on them and would like the images to be at least certain size so that they can be read!

operinko’s picture

As for the date format, you can use whichever field widget you want for selecting the date / time.

selinav’s picture

Issue summary: View changes

As #2, how can we do to reduce the image size (taken in consideration the image style preset put in views) ?

WorldFallz’s picture

Status: Active » Closed (works as designed)

the date formatting is handled by the plugin directly-- all we do is pass on the info. Currently there is no option for timelinejs to format the date unless you create custom language files which is beyond the scope of this module. See https://knightlab.zendesk.com/entries/49522487-Is-there-a-way-to-have-Ti...

Using image styles is already on the docket: #1795964: Allow the use of image styles.