Hello there,

I have a slideshow block which is shown on several pages. However, I don't want all available slides to be shown on all pages. In other words, I want to limit slides to a page.

My solution at first was to ad a node reference field to my slide content type which references to the pages that slide is allowed to be shown on, which works just fine, except that "node reference" is not able to reference to some kinds of pages. Like pages generated by views and contact pages.

I was hoping someone has already figured this out?

Comments

minorOffense’s picture

I would look at controlling the view results with an alter or custom node access controls. If you're using panels you could pass a context to the view as an argument to change the results.

Either way, at this point your issue is beyond the scope of just flexslider.

Hope that helps.

babipanghang’s picture

Thanks minoroffence, but frankly I haven't got a clue what you're talking about. I solved my problem by converting all my views pages and forms to blocks and placing them on static pages. That way, I could use node reference to refer to the static page containing the view.

A very suboptimal, but working solution.

Shane Birley’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

Your solution is not a suboptimal one as your solution is what anyone should and would have done.

Flexslider cannot be expected to provide such functionality as it is a slideshow display system. Adding bloat to show slides on individual/selected pages is outside of its scope.