2007
4月
10
(火)
Ver 1.11 (xoops_breadcrumbs 対応)
[7]
[8]
GIJOEさんの PEAK XOOPS - 統一的なパンくず規格 xoops_breadcrumbs の提案[9] に対応しました。
テーマの theme.html のお好みの場所に以下のような記述をすると、パンくずリストが表示されます。
1
2
3
4
5
6
7
8
9
10
11
12
13
|
| <{if $xoops_breadcrumbs}>
<div id="theme_breadcrumbs">
<a href="<{$xoops_url}>/">TOP</a>
<{foreach from=$xoops_breadcrumbs item="item"}>
»
<{if $item.url}>
<a href="<{$item.url}>"><{$item.name}></a>
<{else}>
<{$item.name}>
<{/if}>
<{/foreach}>
</div>
<{/if}>
|
このサイトでは、センターブロックの上に配置しています。
- 2007-04-11 08:06 nao-pon[10]
- * xoops_version.php (1.108):
- 2007-04-10 18:18 nao-pon[10]
- * class/func/xpwiki_func.php (1.57), main.php (1.11),
class/xpwiki[11].php (1.28):
- supported xoops_breadcrumbs & assign same vars.
- 2007-04-10 14:28 nao-pon[10]
- * class/convert_html.php (1.9):