1

我正在尝试使用此代码在 postbit 和 postbit 遗留模板中包含 ad_thread_first_post_content 模板

   <vb:if condition="$post['isfirstshown']">

                                  {vb:raw ad_location.thread_first_post_content}
                                {vb:raw ad_location.ad_thread_first_post_content}

</vb:if>

如果我在此条件之上添加一些测试内容,则该内容会出现在帖子页面上,但名为 ad_thread_first_post_content 的模板的内容不会出现在帖子页面中。我已经添加了以上内容之后

   <div class="postbody">
<div class="postrow">
    <vb:if condition="$post['title'] OR $show['messageicon']">
    <h2 class="posttitle icon">
        <vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
    </h2>
    </vb:if>
4

0 回答 0