タグ

smartyに関するyamakozawaのブックマーク (3)

  • CakePHPでSmartyを利用する方法 - インストールメモ

    Smartyのダウンロード(2.6.12 で動作確認) こちらよりSmarty-2.*.**.tar.gzをダウンロード。 CakePHPの/vendorsに、smartyディレクトリを作成。 Smarty-2.*.**.tar.gzを解凍して、libs内のファイルを上で作成したsmartyディレクトリにコピー。 (/vendors/smarty/Smarty.classの様な構成になる。) /app/tmp/smarty/にSmartyの利用するcache、compileディレクトリを作成。 /app/tmp/smarty/cache/ /app/tmp/smarty/compile/ Smarty View class (Version 1.1で動作確認) こちらよりファイルをダウンロードしてsmarty.php にリネームして/app/views/ ディレクトリにコピー。

  • PHP Template Engine | Smarty

    You may use the Smarty logo according to the trademark notice. For sponsorship, advertising, news or other inquiries, contact us at: In 2020, you can expect countless new gambling sites to launch in Germany and the rest of Europe. Make sure to always read the Online Casino Test first before signing up with an operator. The UK is expected to introduce additional measures to keep players safe when p

  • ke-tai.org > Blog Archive > 携帯サイトでSmartyを使う場合の注意点

    携帯サイトでSmartyを使う場合の注意点 Tweet 2008/2/12 火曜日 matsui Posted in PHP | 1 Comment » 「ケータイサイトにSmartyを使おうとしたがうまくいかない」という質問をよく受けることがあるので、注意点をまとめてみます。 問題となるのは、文字コードに「Shift_JIS」を使った場合です。 最近は対応端末が増えたため、UTF-8でページを作る場合も多いですが、過去の資産やら、互換性の問題やらでShift_JISを使うこともあります。 ところがSmartyではSJISは使えません。 なぜなら、Smartyの標準のデリミタである 「 { 」 (0x007b)、  「 } 」 (0x007d) を、SJIS文字列が含んでしまっていることがあるからです。 (つまり必ずしもエラーにはならないことに注意が必要です) エラーが起こった場合には次の

  • 1