Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/macos/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 分类为isn';t显示_Php_Pyrocms_Pyrocms Lex - Fatal编程技术网

Php 分类为isn';t显示

Php 分类为isn';t显示,php,pyrocms,pyrocms-lex,Php,Pyrocms,Pyrocms Lex,我已经创建了一个页面,然后把这个代码 <section class="cont_pad"> <div class="container_12"> <article class="grid_8"> {{ blog:posts limit="5" offset="5" category="adultos" }} <section class="post">

我已经创建了一个页面,然后把这个代码

<section class="cont_pad">
    <div class="container_12">
        <article class="grid_8">
            {{ blog:posts limit="5" offset="5" category="adultos" }}
            <section class="post">
                {{ if imagen_portada }}
                <div class="postimg"><img src="{{ url:site }}files/thumb/{{ imagen_portada.id }}/610/220" class="pic2" alt="{{title}}" title="{{title}}"/></div>
                {{ endif }}
                <div class="entry-date">
                    <div class="posttime">           
                        <h3>{{ helper:date timestamp=created_on }}</h3>
                    </div>
                    <div class="entry-utility">
                        <a href="/users/view/{{ author_id }}"> {{ asset:image file="blog/icon1.png" }} {{ user:display_name user_id=author_id }}</a> 
                        <br/>
                        {{ if category }}
                        <span><a href="{{ url:site }}blog/category/{{ category:slug }}">{{ asset:image file="blog/icon2.png" }} {{ category:title }}</a></span>
                        {{ endif }}
                        {{ if keywords }}
                        <span><a href="{{ url:site }}blog/tagged/{{ keyword }}">{{ asset:image file="blog/icon2.png" }} {{ keyword }}</a></span>
                        {{ endif }}
                    </div>
                </div>
                <div class="entry-text">
                    <h3 class="posttitle"><a href="{{ url }}">{{ title }}</a></h3>
                    <div class="entry-content">
                        {{ intro }}
                        <p><a href="{{ url }}">{{ helper:lang line="blog:read_more_label" }}</a></p>
                    </div>
                </div>
            </section>
            {{ /blog:posts }}
            {{ pagination }}
        </article>
        <article class="grid_4 last-col">
            <aside id="sidebar">
                {{ widgets:area slug="widgets_blog_adultos" }}
            </aside>
        </article>
    </div>
</section>


{{if category}} {{endif}} {{if关键字}} {{endif}} {{intro}}

{{/blog:posts} {{分页}
另外,请检查程序包“PyroCMS\Core\Modules\Blog\Plugins”中的博客插件代码,找不到失败的地方。同样和这个问题相关的是,我可以通过所有的帖子来分页吗?我在这里需要一些帮助,因为我找不到问题所在

计算机上的时区设置是否错误?如果PyroCMS认为“发布日期”在将来,它不会在前端显示它。

真的吗?我不知道原因,但事情从一刻到另一刻都在运转,我一个人什么也没碰,也许是缓存的问题,我想你的时区一直都是错的,等了几个小时,这篇文章就不在未来了。