首先先謝謝之前回應
現在我要修改.template的檔了,可是他的內設的數值我該去哪看?
因為我想新增東西進去。
ex:
<DIV class=entrymeta>
{$locale->formatDate($postDate,"%m/%d,%Y")} Posted to
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
</DIV>
聽說這個叫做smarty?
--
◢█◥ ◥ ◥ ◥ ◥██ 靦腆的笑....
▇▆▅▄▃▂ ▂▃▄▅▆▇◤ 我是 ▃▃▃ ▃▃ ▃▃ 啦
▏ ▍ ▍ ▍▍ ▍ ▍
▅▃▂▂▃▆ ▅▃▂▂▃▆▏ ▍ ▍▃▍▍▃ ▍▃▍
▍ ▍ ▍▍▃ ▍ ▍
▅▃▂ ▼ ▂▃▅ http://www.wretch.cc/blog/thea
--
現在我要修改.template的檔了,可是他的內設的數值我該去哪看?
因為我想新增東西進去。
ex:
<DIV class=entrymeta>
{$locale->formatDate($postDate,"%m/%d,%Y")} Posted to
{foreach name=categories from=$post->getCategories() item=postcategory}
<a href="{$url->categoryLink($postcategory)}">{$postcategory->getName()}</a>
{if !$smarty.foreach.categories.last}, {/if}
{/foreach}
</DIV>
聽說這個叫做smarty?
--
◢█◥ ◥ ◥ ◥ ◥██ 靦腆的笑....
▇▆▅▄▃▂ ▂▃▄▅▆▇◤ 我是 ▃▃▃ ▃▃ ▃▃ 啦
▏ ▍ ▍ ▍▍ ▍ ▍
▅▃▂▂▃▆ ▅▃▂▂▃▆▏ ▍ ▍▃▍▍▃ ▍▃▍
▍ ▍ ▍▍▃ ▍ ▍
▅▃▂ ▼ ▂▃▅ http://www.wretch.cc/blog/thea
--
All Comments