首頁 Joomla! 管理技巧
管理技巧
28Jul
如何改變Joomla中的meta標籤
Joomla! / 管理技巧 / Eddy Chang 列印 填寫電子郵件
週三, 28 七月 2010 10:09
我們在Joomla!建置的網站中,它會自動加上系統的Meta標籤,像是下面這樣的:
1
2
3
4
5
<meta http-equiv="content-type" content="text/html; charset=utf-8" /> 
<meta name="robots" content="index, follow" /> 
<meta name="keywords" content="joomla, Joomla,...." /> 
<meta name="description" content="Joomla! 台灣的站務部落格...." /> 
<meta name="generator" content="Joomla! 1.5 - Open Source Content Management" /> 

 


如果說為了安全性的考量(事實上Joomla!比很多系統或自己寫的安全多了~~"),不要讓別人太容易知道這個系統是Joomla!,或是要怎麼控制這些標籤,或是再加上其他的像author之類的?最簡單的方法就是加在佈景index.php的程式碼中。

佈景的index.php中需要有下面這行程式碼:
1
<jdoc:include type="head" />

 

下面再加入自己定義的Meta標籤:
1
2
3
4
5
6
7
8
9
10
11
<?php
  $this->setMetaData('robots', 'ALL' );
  $this->setMetaData('author','Eddy Chang');
  $this->setMetaData('language','English');
  $this->setMetaData('submission','http://www.joomla.com.tw');
  $this->setMetaData('contact','
 這個 E-mail 地址已經被防止灌水惡意程式保護,您需要啟用 Java Script 才能觀看
 ');
  $this->setMetaData('format','text/html');
  $this->setMetaData('document-classification','Website Marketing Company');
  $this->setMetaData('document-distribution','Global');
  $this->setGenerator('');
?>

 

當然還有很多其他的方法:參考這篇來自官方討論區的文章
 
25May
Joomla!入門十堂課(影片教學計劃)
Joomla! / 管理技巧 / Eddy Chang 列印 填寫電子郵件
週二, 25 五月 2010 19:30
(3 位用戶參與評分, 當前平均得到 5.00 顆星星)
最近已經開始在測試影片分享網站的功能,未來將先進行新的影片教學計劃第一階段,稱之為:「Joomla!入門十堂課」。課程主要是針對初次接觸Joomla!的網友,最基本的和最需要學習的一些操作和管理,目前暫定的十個主題如下:

  1. 安裝在自己的電腦中
  2. 安裝語言檔
  3. 選單與選單相關模組
  4. 單元、分類與內容管理
  5. 內容相關模組
  6. 內容相關外掛(所視即所得編輯器)
  7. 佈景管理
  8. 會員管理
  9. 聯絡我們管理
  10. SEO初步

下面這個是之前錄製用來測試的影片…桌面淩亂…有點冗長…之後會重新錄製。
Dim lights Embed Embed this video on your site
 
24Feb
加速後台管理區
Joomla! / 管理技巧 / Eddy Chang 列印 填寫電子郵件
週二, 24 二月 2009 18:05
TurboGearsForJoomla1.5.x是一個利用Google Gear來加速Joomla! 1.5後台的外掛,要使用這個外掛,可以依照外掛(Plug-in)的方式安裝這個下載來的套件,不過要先在電腦裡安裝Google Gear ,這樣瀏覽器才會下載這後台管理區的資源檔案,另外要確定你的Joomla! 1.5是安裝在PHP5之下。在安裝完外掛後要啟動它,在右上方會出現「Update Gears」的連結,按下後就會下載資源檔,之後進入管理區後就會加速了。
 
目前Google Gear支援不少瀏覽器,例如IE, Firefox, Google Crome等等

Tags: joomla1.5 | 套件

 

關於我something about me

eddy

Eddy Chang

Joomla!台灣站長、資擘(股)軟體工程師

最新留言Latest Comment