Joomler!.net - Decided on Joomla!

デル株式会社

Jboard is Multiple Board!

Home » Blog » コメントアウト
2 votes
Written by:Joomler! 4952 hits Sunday, 24 February 2008 16:34

<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" />

Joomla!1.5でこのタグがいらない方は、

root/libraries/joomla/document/html/renderer/head.php 84行目

$strHtml .= $tab.'<meta name="generator" content="'.$document->getGenerator().'" />'.$lnEnd;

をコメントアウトしてしまえば、出力されません。

ちなみに私は消していません。というかデモだし。

 
0 votes
Written by:Joomler! 4425 hits Tuesday, 18 September 2007 17:49

フロントページ(トップページ)のタイトルは、Joomla!が自動(動的なページタイトルがONの場合:Dynamic Page Title)でmainmenuの表示順が先頭にあるメニューのタイトルが付加されます。それは、大抵「Home」だったりするわけですが、それを自由に変更したいって方が結構おられるかと思います。

 そこで、"ROOT/components/com_content/content.brush:brush:php;;" 222行目あたりの以下の行を

    $mainframe->SetPageTitle( $menu->name );

 以下のように変更すれば、フロントページを表示時のタイトルを自由に変更できます。また、メニュータイトルを付加させたくなければコメントアウトしてしまえばされません。

    $mainframe->SetPageTitle( 'Your Title' );
 

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.