Ne bu Smarty php çiftleşmiş koduyla yanlış?

0 Cevap php

Ne bu Smarty php çiftleşmiş koduyla yanlış? I dosyada tek tek bu iki döngü birini içerir, bunlar çalışır. Ben gibi aşağıdaki dosyanın içinde hem onları varsa Ama sadece ilk döngü tamamlanmış olur.

  {include file="vote_js.tpl"}
    {section name=i loop=$posts}
    {include file="posts_bitother.tpl"}
    {/section}



    {section name=j loop=$posts2}
    {include file="posts_bitposts.tpl"}
    {/section}

Yani, örneğin

   {section name=j loop=$posts2}
    {include file="posts_bitposts.tpl"}
    {/section}

bu kendi üzerinde çalışıyor.

Bu neden oluyor ve bunun etrafında yolu nedir?

0 Cevap