Strict Standards: Non-static method Protector::getInstance() should not be called statically in /home/suehirogari/suehirogari.com/xoops_trust_path/modules/protector/include/precheck_functions.php on line 12

Strict Standards: Non-static method XCube_Root::getSingleton() should not be called statically in /home/suehirogari/suehirogari.com/public_html/include/common.php on line 18

Deprecated: Non-static method XCube_Root::getSingleton() should not be called statically, assuming $this from incompatible context in /home/suehirogari/suehirogari.com/public_html/modules/user/preload/Primary/Primary.class.php on line 13
201006のエントリ | 社内SEのウェブ制作

2010.06.21xoopsズープス

★lightbox2.04を ドキュメントルート直下にアップロード

★light boxのjsフォルダ lightbox.js の41行目あたり
LightboxOptions = Object.extend({
    fileLoadingImage:        'images/loading.gif',    
    fileBottomNavCloseImage: 'images/closelabel.gif',

画像のURLを確認し、変更する。(xoopsで使用する場合は、絶対アドレスで画像の場所を指定する。※モジュールの配下で使用した場合、/modules/images が読み込まれてしまうため。)
 

 ★theme.htmlのヘッダー部分に下記を追加
<!--ライトボックス用ジャバスクリプト-->
<link rel="stylesheet" href="<{$xoops_url}>/lightbox2.04/css/lightbox.css" type="text/css" media="screen" />
<script src="<{$xoops_url}>/lightbox2.04/js/prototype.js" type="text/javascript"></script>
<script src="<{$xoops_url}>/lightbox2.04/js/scriptaculous.js?load=effects,builder" type="text/javascript"></script>
<script src="<{$xoops_url}>/lightbox2.04/js/lightbox.js" type="text/javascript"></script>


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (27719)
2010.06.20xoopsズープス

xoopsを印刷するとフッターやサイドカラムが印刷できない現象が発生し、
しらべたところ、HTMLの変更で対応できた。

<link rel="stylesheet" type="text/css" media="screen,tv" href="<{$xoops_themecss}>" />

<link rel="stylesheet" type="text/css" media="all,tv" href="<{$xoops_themecss}>" />

に変更。


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (20512)
2010.06.20xoopsズープス

<{if $story.title_link}>
<a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$story.title}></a>
<{else}>
<{$story.title}>
<{/if}>
</span></div>
  <div class="itemInfo">

↓ここが投稿者名↓
<!--    <span class="itemPoster"><{$smarty.const._MD_POSTEDBY}>&nbsp;:&nbsp;
<{if $story.uid}>
<a href="<{$xoops_url}>/userinfo.php?uid=<{$story.uid}>"><{$story.uname}></a>
<{else}>
<{$story.uname}>
<{/if}>
</span> -->

 

<span class="itemPostDate"><{$smarty.const._ON}> <{$story.posttime}></span>

↓ここがヒット数↓
<!-- (<span class="itemStats"><{$story.hits}> <{$smarty.const._READS}></span>)-->
  </div>
  <div class="itemBody">
    <{if $story.topic_url}>
      <a href="<{$mydirurl}>/index.php?storytopic=<{$story.topicid}>"><img src="<{$story.topic_url}>" alt="<{$story.topic}>" hspace="10" vspace="10" align="<{$story.align}>" /></a>
    <{/if}>

 

★コメント数を消す
<span class="itemPermaLink">
<{if $story.readmore}>
<a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$smarty.const._MD_READMORE}></a> | <{$story.bytes}> |
<{/if}>

↓ここからがコメント数↓
<!--<{if $mod_config.comment_dirname != '' && $mod_config.comment_forum_id > 0}>

 <{d3comment class="BulletinD3commentStory" mydirname=$mydirname mode="count" var="comments_count"}>

 <{if $comments_count}>
  <a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$comments_count|string_format:$smarty.const._MD_NUMCOMMENTS}></a>
 <{else}>
  <{$smarty.const._MD_COMMENTS}>
 <{/if}>

<{else}>
 <a href="<{$mydirurl}>/index.php?page=article&amp;storyid=<{$story.id}>"><{$story.comentstotal}></a>
<{/if}>-->
↑ここまでがコメント数↑
</span>

追記:コメント数は、picoでページを作る際に、 コメント可能 のチェックボックスにチェックすることで、
0 の表記は消えました。


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (30424)
2010.06.20xoopsズープス
↓アーカイブはここ↓ <{if $can_post}>  | <{$smarty.const._MD_SUBMITNEWS}> <{/if}> ↓RSSはここ↓

このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (24155)
2010.06.20xoopsズープス

Picoモジュールで、「コンテンツ一括管理」で「サブカテゴリーの作成」をしたときに必要になる設定項目。

 

★カテゴリートップでリストを表示する
「はい」の場合、カテゴリートップではサブカテゴリーと直下のコンテンツがリスト式に表示されます。「いいえ」の場合、そのカテゴリー内で最も表示優先度の高いコンテンツが表示されます。

「はい」にすると、そのカテゴリーに含まれるコンテンツがリストで表示されます。

★モジュールトップでリストを表示する
「はい」にすると、モジュールのトップページを表示すると、そのモジュール内のサブカテゴリやコンテンツのリストが表示される。

bulletinモジュールで、「カテゴリー管理」でカテゴリを作成した際に必要となる設定項目
★カテゴリのパンクズリストを表示する。(※ここでいうカテゴリのパンクズリストとは通常のページ上位のパンクズリストとは別のものです。)
「はい」にすると、個別ページにカテゴリ用のパンクズリストが表示される。


このカテゴリの人気記事



  • コメント (0)
  • トラックバック (0)
  • 閲覧 (21442)


キーワードでサイト内を検索
人気のエントリ