I have put together a view with TimelineJS and it looks great. I have set my view so that each slide has an anchor that is appended to the view path (ie /where-we-work#events-countryname).

I'd like to place a block below my view with accompanying information about each slide. Since the path includes an anchor, I can't use the path for block visibility. Any suggestions on how I can display a block for each slide using the path anchor?

Thanks!

Comments

goodwillhinton created an issue. See original summary.

dcam’s picture

Hm. That's a tough one. A quick search didn't reveal any possibility of having Views filter based on a URL fragment. That's what I figured since I've never seen that as an option in the contextual filters that I can recall. I think that you're either going to have to create a custom piece of JS to do this or you'll need to somehow add this data as part of the slide, if that's possible.

I suppose you could also create a new Views contextual filter plugin that filters based on the fragment. Although since the timeline changes the fragment dynamically without a page reload even that might not work.

dcam’s picture

Component: Feature » Code
Status: Active » Fixed

Closing old support requests.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.