ExpressionEngine无法通过模板提取条目

ExpressionEngine无法通过模板提取条目

问题描述:

Hey guys I'm having the damnedest time trying to pull in new entries (or ANY entries) through a template and am hoping its something stupid I'm missing. I have my content set up in such a way now.

Channels

Then here's the layout of the blog index, from what I understand this should show all entries?

{exp:channel:entries}
  Show everything?
{/exp:channel:entries}

Blog Index

嘿伙计们,我有最大的时间试图通过一个新的条目 (或任何条目) 模板,我希望它的东西愚蠢 我很想念。 我现在以这样的方式设置了我的内容。 p>

p>

然后这是博客索引的布局,据我所知,这应该 显示所有条目? p>

  {exp:channel: 条目} 
显示所有内容?
 {/ exp:channel:entries} 
  code>  pre> 
 
 

p> div>

To use the entries tag you also need to supply it a channel to pull data from, see http://expressionengine.com/user_guide/modules/channel/channel_entries.html for the documentation. In order to pull from multiple channels or grab all data you'll need to pipe seperate them on the tag like this

{exp:channel:entries channel="blog|news"}
    Stuff here such as {title}, and {body} depending on how your custom fields are set up
{/exp:channel:entries}