Hi guys,

I just installed this module and all dependencies but when I'm creating a view and go to the theming options, it's returning an error

"Style output: views-bonus-panels-render.tpl.php (File not found, in folder sites/all/modules/views_bonus/panels/), views-bonus-panels-render--front-page-view.tpl.php, views-bonus-panels-render--frontpageview.tpl.php, views-bonus-panels-render--default.tpl.php, views-bonus-panels-render--front-page-view--default.tpl.php"

That folder exists with a lot of other files except the one it can't find.

Any ideas?

Cheers

Comments

HunterElliott’s picture

Version: 6.x-1.0-beta4 » 6.x-1.x-dev

I'm getting the same errors with the dev version.

venusrising’s picture

I ge the same weird error does anyone figure out if this is just being missed as all render fine.

neclimdul’s picture

Status: Active » Fixed

Shouldn't happen in latest release.

Status: Fixed » Closed (fixed)

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

dmazan’s picture

Oops, still getting the same error in the latest version 6.x-1.0.

aaront’s picture

Status: Closed (fixed) » Active

I'm getting this same error as well. Tried the dev version (jan 16) and get it there as well. Reopening.

neclimdul’s picture

Status: Active » Closed (works as designed)

Oh, this is actually by design. We are passing everything off to panels for theming. A views template doesn't really make sense because its panels that's doing the work we're just pumping data into it.

Unfortunately the way we're doing it, which is legacy from the Drupal 5 version, is kinda limited and confusing. The much more flexible way I'd like to support in future releases is a Panels context/display setup that would allow all this to happen in the panels interface entirely delegating views to a data-source rather than using this glue theme code. This would mean you'd have more control over the theme in each panels pane and it'd be usable on /any/ panels layout not just the handful hard coded into this module.

neclimdul’s picture

Just for clarity, this is and "error" views is reporting in the theme section but it isn't really an "error" because we're calling a theme function that's doing so processing logic and then calling panels directly. This is way there is not views template to deal with.