顯示具有 Joomla 標籤的文章。 顯示所有文章
顯示具有 Joomla 標籤的文章。 顯示所有文章

2013年7月10日 星期三

How to add Google Analytics to Joomla

Today we're going to answer a very straight forward question that we have been asked: "How can I add Google Analytics to Joomla?"
Google Analytics is a free website tracking tool which helps you understand your website's visitor. We highly recommend it, and in this post will run you through how to add Google Analytics to either Joomla 1.5 or Joomla 1.0.1x.
We have broken down the answer of this question into two steps:
1. Create a Google Analytics account
2. Add the Analytics code to your Joomla template(原來要加在template裡的index.php)

Read more: How to add Google Analytics to Joomla http://www.goodwebpractices.com/joomla/add-google-analytics-to-joomla.html#ixzz2YdZAgP8V

2011年3月3日 星期四

Update php5.16 to 5.2 on CentOS

CentOS因安全及穩定的考量,所以在更新上不一定是最新的版本,如特殊需要必須自己更新
升級完後記得 httpd restart

目前有遇到的是
phpMyAdmin3329需要php5.2以上
joomla1.6需要php5.2以上

*maybe you need
# rpm -qa | grep httpd
# rpm -qa | grep php
# php -v


參考資料
http://plog.olps.tcc.edu.tw/post/1/3661
http://www.wretch.cc/blog/jerry0822/16159621
http://www.pigo.idv.tw/archives/242

2010年3月22日 星期一

fatal error: call to undefined function xml_parse()

在偶然的機會下,將 Joomla1.5移植至別台主機,檢查了config及相關路徑資料後卻出現
fatal error: call to undefined function xml_parse()

在網路上找了一下資料才發現,原來少裝了php5-xml

$cd /usr/port/textproc/php5-xml
$make install clean

重新啟動Apache~搞定

2009年3月11日 星期三

expose 4中文顯示問題

ScreenHunter_002.jpg

expose 4 是一套非常棒的flash 電子相簿,也是joomla一個非常好用的模組
管理介面輸入中文沒問題,但是...顯示不出來

網路上爬到文,處理方式很簡單

在 網站目錄/components/com_expose 下,找一隻 expose.html.php 來編輯

找尋 useEmbeddedFonts 的字串來修改,有三個(但我只找到一個,修改後的確ok!!)

第一個在 148行
useEmbeddedFonts=' ==> useEmbeddedFonts=no

第二個在 167行
useEmbeddedFonts=yes ==> useEmbeddedFonts=no

第三個在 179行
useEmbeddedFonts= ==> useEmbeddedFonts=no

改完就ok

熱門文章