Joomler!.net - Decided on Joomla!

デル株式会社

Wiki or Wordpress? No it is JContentPlus.

Home » Blog » view&catid
0 votes
Written by:Joomler! 4963 hits Saturday, 05 January 2008 21:52

いつものように以前に変更したファイルを忘れて上書きしちゃったのであわてました。今回アップデートしたのは、GoogleのウェブマスターツールでURLのリダイレクトエラーがたくさん出ていたからです。ほとんどが、Fireboardがらみのエラーでした。

で、以下を変更してみました。簡単です。

Root/components/com_fireboard/template/default/plugin/report/report.php

$redirect = 'index.php?option=com_fireboard&func=view&catid=' . $catid . '&id=' . $msg_id . '&Itemid=' . FB_FB_ITEMID . '#' . $msg_id;

    //$redirect = sefRelToAbs($redirect);

$redirect = 'index.php?option=com_fireboard&func=view&catid=' . $catid . '&id=' . $msg_id . '&Itemid=' . FB_FB_ITEMID;

    $redirect = sefRelToAbs($redirect). '#' . $msg_id;

のように変更してみました。

また、Forumで以前書いた、画像の表示部分が変更されていました。そこで以下のように変更してみました。
※これは、プラグインなどでイメージを置き換えたりしている方には全く必要ないことです。

$tag_new = "<img src='".$between."' />";

$tag_new = "<a href=\"$between\" target=\"好きなターゲット\"><img src='".$between."' width=\"好きなサイズ\" style=\"好きなスタイル\"/></a>";

のように変更してみました。 この変更をすると強制的に大きさが決定されてしまうことにご注意ください。私は、面倒なのでこうしました。

今回は、他にも変更しましたが様子を見ているところです。


 

JContentPlus for Joomla!1.5 powered by Joomler!.net

joomler.net is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla!(R) name is used under a limited license from Open Source Matters in the United States and other countries.
joomler.net is not affiliated with or endorsed by Open Source Matters or the Joomla! Project.