Archives for: "September 2011"
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, that is easy! You just need to add a parameter ,format=json, in the url. more »
Good jQuery Drop down list
The traditional form drop down list is not very good for JSON and that is very hard to create some advanced css layout for it. So, I choose to use jQuery dropdown list. Finally, I shortlisted jALDropdown to be my choice. It supports JSON and CSS layout… more »
There is no "Contains" in Javascript string
I used "Contains" method in C# whether the strings contains a keyword. For example: Codestring str = "string";if(str.Contains("str")){Console.Write("OK");} There is no such method, but you can "indexOf". Codevar str = "string";if(str.indexOf("str")!=… more »
Tags: how to
How to reference a javascript file in a Joomla Component
I am writing two Joomla components during these few days. I got a problem, how to reference a javascript file in a Joomla Component. I used to do it in a cowboy way. I hard coded the path in the template! I should keep it inside the component! I found… more »
Getting upgrade to Joomla 1.7
I started to use Joomla 1.7. I found there is a lot of different aspects from Joomla 1.6. Some components are not working. All of templates I tried are not working in my Joomla 1.7 websites. Those templates are working fine in Joomla 1.5. I think Joomla… more »