Hi, first of all thank you for this module, i'm using it everywhere!

I was trying to hide the whole view when no results, because controls are shown anyway.
I thought overriding style template when $rows is empty, but under "Theme: information" i get this massage:

Style output: views-view-flexslider.tpl.php (File not found, in folder sites/all/modules/flexslider/flexslider_views/theme/)

Actually, I can override style output by creating another file. However I do not know what to put inside that file, because there is no default template to copy/paste.

My view is:
Format: Fexslider
Settings: quite similar to flexslider_examples "flexslider_carousel_with_min_and_max_ranges"
Show: Fields
Content: One multivalue image field, collected from different nodes through this view

By the way, do you know a better approach?

Thank you!

#2 missing-template.png178.33 KBlduerig


minorOffense’s picture

Status: Active » Postponed (maintainer needs more info)

Typically Views won't render anything if the results are empty. Ensure you have a no results behavior configured. Now if that behavior is being rendered in a slider then we have a different problem ;-)

Glad you like the module!

lduerig’s picture

178.33 KB

I have used Flexslider Views with several sites, and encountered the same issue. It's not the end of the world, but it makes it much more annoying to manipulate the view with template.php or similar. At least for the question of whether or not there is a missing template, it isn't a matter of no results or a misconfigured view.

minorOffense’s picture

Status: Postponed (maintainer needs more info) » Active

Right, it does need a file there. Any chance you can come up with a quick template? Otherwise it'll have to wait until the next time I can take time to write code for FlexSlider.

minorOffense’s picture

Status: Active » Fixed

I've changed the rendering flow from Views. It now uses all the stock templates found in the FlexSlider module so no need for a custom template anymore.

Status: Fixed » Closed (fixed)

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