Purple Penguin
  • Member for 6 years, 7 months
  • Last seen more than 6 years ago
Storing data in a single column of a table OR as the part of json
Accepted answer
4 votes

There are several ways to store data in databases, how you wish to do it depends on your application, it's depth and future growth. I'm no expert in this area, but I do have the experience to know ...

View answer
Load controller dynamically just like model
Accepted answer
3 votes

jimport('joomla.application.component.controller'); JLoader::import('controllername', JPATH_ROOT . '/components/com_componentname/controllers'); $controller = JControllerLegacy::getInstance('...

View answer
Structure to define filter_fields in JmodelList.?
Accepted answer
2 votes

The filter fields list is a configuration option for ordering purposes, it's a white list of field names that are permitted for usage in queries, so apparently you can use a.field1 for instance as ...

View answer
Joomla Website Development and Bitbucket
1 votes

Why do you use FTP? It's very insecure, it's better if you could access the server remotely, through an SSH or like wise and from there do a git pull whenever you did changes in your local environment....

View answer
JModelList Group by Category
1 votes

If you're using PDO, you can fetch using key-pairs methods, I'm not extremely experienced with PDO + Joomla, but in pure PDO you can do something like this: $q = $db->query("SELECT `category_title`...

View answer
Right way to make a modal form
1 votes

Even though I recommend updating to bootstrap-3, there are several examples on how to do a simple modal in bootstrap-2. http://jsfiddle.net/9RcDN/ This is a fiddle of a modal with different examples ...

View answer