ユーザ用ツール

サイト用ツール

Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/lei_wiki/data/cache/2/206cbdfc3530d29dafc3e13f18a2d077.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/lei_wiki/data/cache/2/206cbdfc3530d29dafc3e13f18a2d077.metadata failed

よく使うsmartyその2
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/lei_wiki/data/cache/3/38c1e787189c52c53294ca3c9fae1337.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/lei_wiki/data/cache/3/38c1e787189c52c53294ca3c9fae1337.xhtml failed

以前のリビジョンの文書です


Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/lei_wiki/data/cache/e/e1d59635bbc11986839ea8127ab0460e.i failed
Unable to save cache file. Hint: disk full; file permissions; safe_mode setting.
Writing /var/www/vhosts/w629.ws.domainking.cloud/enjoy-lei.com/lei_wiki/data/cache/e/e1d59635bbc11986839ea8127ab0460e.metadata failed

よく使うsmartyその2

よく使うsmarty

文字制限

{$value.body|truncate:19:'...':true}

数字の定義

{numformat num=$value.op_tax_price}円 

少数点の付け(小数点何位まで)

{$number|string_format:"%.2f"}

カウント数。合計数

{$mso_prefecture|@count}

smarty計算

合計を取得して掛け算した

{math equation="x * y" x=$value|@count y=2}
よく使うsmartyその2.1385949328.txt.gz · 最終更新: 2013/12/02 10:55 by luis_lee