View smarty_myalbumtitle_v100 - Release Notes
file info- category(Tag)
- root
- file name
- Extra_smarty_myalbumtitle_v100_-_Notes
- last update
- 2005-03-17 12:53
- type
- Plain Text
- editor
- Minahito
- description
- smarty_myalbumtitle_v100 - Release Notes
- language
- English
- translate
** Smarty function myalbum title **
This plug-in displays the title of a category from category id and module url for myalbum-p.
I thought that this would be shared.
Although this was a very small program, I distribute this.
Example:
myalbum_viewcat_list.html
<h1><{myalbumtitle mod_url=$mod_url cid=$category_id}></h1>
このプラグインは、myalbum のテンプレートの中で、カテゴリー番号とモジュール位置をもとに、カテゴリーのタイトルを表示します。
すごく小さいプログラムですが、一応共有します。
複製状態にも正確に対応している……と思います。
もともとは、アイコンのタイトルをカテゴリーに応じて変えてみようと思って作ったものです。
ひょっとしたらテンプレート変数出てるかも;;
使い方は myalbum_viewcat_list.html などで、
<h1><{myalbumtitle mod_url=$mod_url cid=$category_id}></h1>
とします。
お問い合わせは
minahito@users.sourceforge.jp まで
| 
|