Tips for PHP

My PHP blog — posts in this category.

Tips for PHP

JSON View in Joomla

I have tried to call the json view in the controll, like this: Code: $view = &$this->getView('view','json','prefix'); $view->display(); But that is still…

Read more
Tips for PHP

JSON in Joomla

I am building a component using JSON in Joomla. That is very hard to do that. So far, I built in a view.json.php in views folder. But I could not call it. Well,…

Read more
Tips for PHP

Joomla: tinymce.get is not a function

I have upgarded to 1.5.17. But I found the "Save" button for all edit views are not working. I got a javascript error:tinymce.get is not a function. Then I…

Read more
Tips for PHP

Joomla Download Manager

I have used a few download managers in Joomla, such as DocMan and jDownload. But my lastest favour is Phoca Download. First of all, that is a GPL component and…

Read more
Tips for PHP

How to change the menu title.

Previously, I believed chaning menu title is in Menus->Menu Manager and edit the menu -> title. That is only for display at administration side. To change the…

Read more
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