My PHP blog

Posts in this section.

Tips for PHP

Joomla Chinese Version

Joomla has a number of localiztion version. For chinese version, it can be downloaded at http://www.joomla.org.tw/

Read more
Tips for PHP

500 - Layout "default" not found

I am writing my joomla component. In admin console, I got an error "500 - Layout "default" not found". That is because under views/[component name]/tmpl is…

Read more
Tips for PHP

404 - Component Not Found

I am writing a joomla component, I got an 404 - Component Not Found. I found that is because I got a typo in main component file. For example, the component…

Read more
Tips for PHP

PHP Editor in Ubuntu

I like to use Screen in Ubuntu. That is a just editor, is not an IDE.That is what I want, a lightweight stuff. Moreover, I love there is a spell checker!

Read more
Announcements [A]

Trimed out html in Joomla

I found by default, Joomla trimed out all html tag in request variables. The solution is like that: $data = JRequest::get( 'post' ); $data['html'] =…

Read more
Tips for PHP

Subscribe Buttons for Wordpress

I have added the subscribe buttons of RSS for my wordpress blog.I tried Add to Any Subscribe Button and Subscribe Sidebar plugin. "Add to Any Subscribe Button"…

Read more
Announcements [A]

Joomla Request Variable

In PHP, you have $_GET and $_POST. In Joomla 1.5 framework, that is easy and quite similar with ASP.Net. $Itemid = JRequest::getVar('Itemid'); JRequest, then…

Read more