I've tried all of the suggested tpl.php files that are shown here:

Unfortunately I'm not able to get them to work.
Just to make sure, I entered the "default theme template used for this style" as in this screenshot for all of the suggested templates:

But it outputs this:

Any thoughts on how to use views theming?

CommentFileSizeAuthor
ScreenShot3.png22.67 KBbjlewis2
ScreenShot2.png28.53 KBbjlewis2
ScreenShot1.png26.9 KBbjlewis2
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bjlewis2’s picture

Just to clarify, I've entered the exact code from the default template (sites/all/modules/views_rss/views/views-view-views-rss-fields.tpl.php) into every suggested tpl.php file and every time it gives what you see in the third screenshot above.

I would like to add additional information for iTunes into the feed. I was able to do this in the default template file (the one in the views_rss/views folder), but that restricts me to only having one podcast feed (and I want two). Also, it means I've had to hack the module, and I don't really want to do that.

Thanks for everything!

drwits’s picture

any luck with this? i too am trying to make a podcast rss feed to work with itunes specs... really need this theming functionality. i have the exact same error.

thx

bjlewis2’s picture

Nope. I've decided to use FFPC (FileField Podcaster). I used it in D6 and it was fantastic. There's not an official D7 release yet, but you can use Git to download the dev version and use that. It seems to be working pretty well, I'd have to imagine they'll roll an official release in the near future.

drwits’s picture

for the record... seems i can get the least specific to work... views-view-views-rss-fields.tpl.php but the more specific ones don't work. i really hope this gets fixed to i can have multiple versions.

thanks

maciej.zgadzaj’s picture

Status: Active » Postponed

Yes, I've noticed it happening too, after rescaning template files, or sometimes after changing the content of a tpl file. What always helps though is simple cache flushing, and everything gets back to normal. I am working on version 2.x right now (just pushed 6.x-2.x-dev before a sec), so I guess I'll have a closer look at this issue too at one point.

maciej.zgadzaj’s picture

Status: Postponed » Closed (fixed)

This has been fixed in the most recent version of 7.x-2.x-dev (just pushed to d.o).

bjlewis2’s picture

maciej.zgadzaj, you're amazing!

ice5nake’s picture

I seem to be having a similar problem in the D6 version. Does this have a separate issue anywhere?

eiland’s picture

Version: 7.x-1.x-dev » 6.x-2.0-rc3

Bump for D6, although I do get some result when I modify the modules' own .tpl.php-files...

eiland’s picture

Status: Closed (fixed) » Active
maciej.zgadzaj’s picture

Version: 6.x-2.0-rc3 » 7.x-1.x-dev
Status: Active » Closed (fixed)

Please do not re-open already closed issues and do not change their settings, instead open a new one, providing more details - your view configuration, template file names and locations etc.

maciej.zgadzaj’s picture

Issue summary: View changes

making the images lists so that they stand out a bit from my explanitory text

iburge’s picture

Issue summary: View changes

The views_rss template overriding is doing the exact same issue that was originally posted. I've been sure to dump the cache & rescan templates but nothing changes. I've ensure the code was not the exact same as well.

iburge’s picture

Priority: Normal » Major
Status: Closed (fixed) » Active

I am unable to override the the views-view-views-rss-fields.tpl.php file. I've uploaded to my themes directory, changed the code and flushed the cache. I've tried to use all of the more specific naming conventions that are listed in my views "Theming" information. I've been sure to change the change the theme to mine as well under "Theming" information. I'm using this module to customize rss feeds for facebook.

I am using Drupal 7.3 and Views_Feed 7.x-2.0-rc3

  • maciej.zgadzaj committed 7a7dd56 on 8.x-2.x
    Issue #1390758: "Array" output in views-view-views-rss.tpl.php after...
maciej.zgadzaj’s picture

Priority: Major » Normal
Status: Active » Closed (fixed)

Please do not reopen already closed issues.

Also, branch 7.x-1.x is not supported anymore.