Hot answers tagged

4

There are probably other differences (or maybe not: https://stackoverflow.com/questions/2193049/php-objects-vs-arrays) 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 ...


3

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');


3

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.


3

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 ...


2

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.


1

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