[geeklogjp-devel 346] Issue 67 in geeklog-jp: 記事ページ article.php で,冒頭文を表示させたくないモードが欲しい

Back to archive index

codes****@googl***** codes****@googl*****
2009年 4月 9日 (木) 22:38:21 JST


Comment #1 on issue 67 by taharaxp: 記事ページ article.php で,冒頭文を表示 
させたくないモードが欲しい
http://code.google.com/p/geeklog-jp/issues/detail?id=67

とりあえず、ハック方法だけ。

/public_html/layout/theme/storytext.thtmlの15行目を次のように書き換えて、別 
名
「storytext_body_only.thtml」で保存する。

from:
         {story_anchortag_and_image}{story_text_no_br}
to:
         {story_anchortag_and_image}{story_bodytext_only}


storytext.thtmlはオリジナルのまま残す。
storytext_body_only.thtml は /public_html/layout/theme/へアップロードする。

次に/public_html/article.phpの319行目付近を次のように書き換える。

from:
                                   STORY_renderArticle ($story, 'n', '',  
$query));
to:
                                   STORY_renderArticle ($story, 'n',
'storytext_body_only.thtml', $query));


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings




Geeklogjp-devel メーリングリストの案内
Back to archive index