Hot answers tagged


There are probably other differences (or maybe not: between objects and arrays, but it is mostly a style difference (at least when using a stdClass object). For objects, you use the syntax of $variable->property and for arrays you use $variable['property']. var_dump will usually show an ...


You can use the following query: $jquery1 = $jdb1->getQuery(true) ->select('`fulltext`, alias, metakey, publish_up, metadesc') ->from('#__content') ->where('`catid` = 22') ->where('`state` = 1') ->order('publish_up desc'); // OR ->order('publish_up asc');


The order of the fields in the field group is determined by the order the fields appear in the fields page. You can therefore use the up/down arrows on the left to drag and drop the fields in the order you want and they will be displayed in that order in your field group when displayed in your component.


You are having to do way too much work by using Joomla! Articles and HTML. It can be done this way with a bit more advanced coding. However, there is a much simpler way--use a download manager extension. I prefer to use DOCman, but any will do. Inside your user manager, create user groups for each band member type: Band Singers Soprano Alto Tenor Bass ...


If you have your articles arranged in sub-categories they will be ordered by category first then by date. If this is the case, in your menu item set Category order: No ordering, Article Order: Oldest first.


Solved... It was my simple fault. In view I had $listDirn = $this->escape($this->state->get('list.ordering')); $listOrder = $this->escape($this->state->get('list.direction')); <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="<?php echo $...

Only top voted, non community-wiki answers of a minimum length are eligible