Re: XUGJ_BLOCKの件

投稿ツリー

  • なし Re: 携帯アクセスできないこと関連 (nonn50, 2009/4/19 2:39)
  • なし Re: XUGJ_BLOCKの件 (なーお, 2009/4/20 13:56)
  • なし Re: XUGJ_BLOCKの件 (nonn50, 2009/4/21 0:53)
  • なし Re: XUGJ_BLOCKの件 (nonn50, 2009/4/25 2:35)
  • なし Re: XUGJ_BLOCKの件 (なーお, 2009/4/25 11:34)

  • このトピックの投稿一覧へ

    なーお

    なし Re: XUGJ_BLOCKの件

    msg# 1.1.1.1
    depth:
    3
    前の投稿 - 次の投稿 | 親投稿 - 子投稿なし | 投稿日時 2009/4/20 13:56 | 最終変更
    なーお  長老   投稿数: 1836 オンライン

    nonn50さん、こんばんは。

    hyperWebのほうで、状況は理解しました。

    「XUGJ_BLOCK」でグルると、色々参考になるのが出てくると思います。

    私の、このサイトトップの中央右のブログ・掲示板・研究室新着も、これで書いています。

    そのpicoの本文を参考までに貼っておきますね。 ポイントは、表示したいモジュールのテンプレートの記述を参考にすることだと思います。

    なお、本文フィルターは

    • Smarty(XoopsTpl)
    • BBCode変換
    • 顔文字変換
      の順で有効にしています。
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    
    <strong><em><font size="+1" color="#800080">なーお'nブログ 新着</font></em></strong><br />    <{xugj_block file="modules/dblog1/blocks/blocks.php" func="b_d3blog_latest_entries_show" opt="dblog1,10,40,Y/m/d,1,1,1,80," item="block"}><ul> <{foreach item=entry from=$block.entries}>        <li>   <a href="<{$block.mod_url}>/details.php?bid=<{$entry.bid}>">   <{$entry.title}></a> (<{$entry.date}>)   </li>        <{$entry.contents}> <{/foreach}></ul><br /> <strong><em><font size="+1" color="#800080">掲示板・コメント 新着 </font></em></strong><br /><{xugj_block file="modules/d3forum/blocks/blocks.php" func="b_d3forum_list_topics_show" opt="d3forum,10,false,time,false,,,," item="block"}><ul style="margin: 0pt; padding: 3px;"> <{foreach item=topic from=$block.topics}>    <li><a href="<{$block.mod_url}>/index.php?topic_id=<{$topic.id}>"><{$topic.title}></a>(<{$topic.replies}>) <br /><{$topic.last_uname}> <{$topic.last_post_time_formatted}></li>    <{/foreach}> </ul><br /> <strong><em><font size="+1" color="#800080">なーお'n研究室 新着 </font></em></strong><br /><{xugj_block file="modules/plactice/blocks/blocks.php" func="b_pico_list_show" opt="plactice,,o.modified_time DESC,10," item="block"}><ul style="margin: 0pt; padding: 3px;"> <{foreach from=$block.contents item=content}>        <li><a href="<{$block.mod_url}>/<{$content.link}>">    [<{$content.cat_title}>]  <{$content.subject|mb_truncate:"40"}></a>  (<{$content.modified_time_formatted}>)    <{if $block.display_body && $content.body}><br />        <{$content.body|strip_tags|truncate:"100"}>    <{/if}></li><{/foreach}></ul>
    投票数:0 平均点:0.00
    返信する

    この投稿に返信する

    題名
    ゲスト名
    投稿本文

      条件検索へ