开发者

Can't get fields to show in Drupal Views module

开发者 https://www.devze.com 2023-02-08 09:27 出处:网络
I have a view setup in the Views module that outputs an RSS feed of nodes. In the Fields section I have specified that I want the Title, Date and Body in the feed, but Views seems to ignore all but th

I have a view setup in the Views module that outputs an RSS feed of nodes. In the Fields section I have specified that I want the Title, Date and Body in the feed, but Views seems to ignore all but the title (and the link which I haven't specified to include). I know it's using the Views module because if I remove the title for each item or rename the entire feed it is reflected in the actual feed. I don't think there's any tpl files that are restricting the output either, but I don't know all the places to look. Does this sound familiar?

Can't get fields to show in Drupal Views module

<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" >
  <channel>
<title>RSS Feed Title</title>
<description>...</description>
<link>http://...</link>
<item>
  <title>Title</title>
  <link>http://...</link>
</item>开发者_Go百科
<item>
  <title>Title</title>
  <link>http://...</link>
</item>
.
.
.


Click on the Feed display tab. Under Basic settings, click on the gear icon for th Row style. Check the Display type and set it to something other than Title only.

You may also want to check out the Views RSS module. It provides more flexibility in terms of what you're able to include in the feed. It's especially useful for including CCK fields in the feed.

0

精彩评论

暂无评论...
验证码 换一张
取 消