Category: "General PHP"
One of my blogs is upgraded to WordPress 3.2.1
One of my blogs is upgraded to WordPress 3.2.1 during last week. That is very smooth. All I need is uploading the files to my home directory. Then Loading the homepage again, it will run the update script. That is so easy!
I found the interface got the big improvements. I love in this version, it has a top toolbar in the public frontend, after you logined. It got the shortcut to create a new post and display the number of comments are waiting for approval. That is so user-friendly!
getUserStateFromRequest falied in Joomla 1.6
I have built a new website in Joomla 1.6. I found a component which is designed for Joomla 1.5. It cannot work. The error message is "Call to a member function getUserStateFromRequest() on a non-object". I did research. I found a related post in
Joomla Forum. That is because in Joomla 1.6, $mainframe is not existed anymore. The component I installed is tried to call getUserStateFromRequest() from $mainframe. Then the solution is simple.
Please add this in /administrator/index.php
Code
global $mainframe; | |
$mainframe = JFactory::getApplication(); |
Under "$app = JFactory::getApplication('administrator');"
Now, that is all works now!
Joomla 1.5 encoding problem in chinese
I have used the fantastico at cpanel to create my joomla instance. I found I can't type any chinese characters, after saving, they became like "???". The problem is the collation in mySQL database is set to latin by default. My solution is create a sql dump and ten replaced to collation on each table and field to utf-8.
Multilingual Joomla
I am looking for the tools to do a Multilingual Joomla. I found Joom!fish. It works prefectly fine, if your website has a same structure across different language version. But in my case, that is hard. Because each version has a unique menu structure. All of them are very similar, but not exactly same. So, Joom!fish is not a solution in this case.
Joomla Chinese Version Admin Interface
I built a Joomla for my Church and gave Chinese Version Admin interface for that instance. I found the problem on translation. Because that is built by some Taiwan Opensource Developers. That is not suit for Hong Kong People. Even Taiwan and Hong Kong both are using Chinese. My users gave me the feedback they can't understand some wording in Admin interface. Thus, I suggest please do a focus group review before you give them a final solution!