Hi guys, I need a little help in Joomla CMS of how to change a default order in a specific category. The default order of the items in a specific category are by date created. I just want to change in to ascending alphabetical order.. like A to Z... Items with the letter "A" are in the first row, followed by "B" and so on. But what I want is I can choose categories to have an A to Z order, and leave other categories as it is. I have posted this question in joomla forums but nobody seems to know the answer to my question, or there are no really users online in joomla forums. That's why I posted it here, hoping for someone who knows about Joomla can answer this mini-newbie question of mine... Thanks in advance guys hoping for your kind answers...
Hi magdalene, No, not that one. What I mean is the contents of a specific category inside a section. For example, I'll create a category name: Latest News under the Section News. I added a new content... For example I added 3 contents... The content titles were: 1. banana 2. apple 3. orange after adding it. I'll check it in my site (frontend). I'll then click the latest news category and see these 3 contents that i had added: orange apple banana the contents are arranged in chronological order (based on the dates) the latest added content is the content entitle: "orange" that's why it's on the first line. What I want is arrange in alphabetically without sorting it manually using the sort option in the dropdown. I want it to be look like this: apple banana orange That one. After clicking the "Latest News" the items are arranged alphabetically. That's what I want. I hope you got my point,,,
Hi~ I finally understand your situation and tried to do it myself over here. Yes, you are correct, there is no way that we can change the sort order. Bummer. Sorry that I couldn't help you much further.
That module can't show alphabetically sorted news, it shows newest items, thats why it's named "Latest News" But I am sure it's not very hard to modify it to show the items listed by letter. Also browse extensions.joomla.org with keyphrase "content management" or similar, I believe you will find something there.
Open the module Latest (or Latest News) there is an option there how you want the items to come out. In module parameters there are two option recently added first or recently modified first. My suggestion is modify your content in a way that it shows how you want it to show up. If you want to know more my skype is pinoybettingguru . or pm or email me. I will do what i can to help
I sent you a PM. For everyone else... assuming I am understanding the question. To set the order of the categories you use the parameters here: menu>mainmenu>Advanced To arraigned articles in a specific order menu>mainmenu>Click on the Menu Item You want to change the order of articles The menu item is just the name of the menus you created to display on your site Then once again you adjust the parameters. Advanced Parameters and ordering. Hope this helps. Joomla is has a lot of features and it's not always easy to figure out where to find the features you want to change.
Hello, I am doing a website for a client and am stuck on a particular request, I was hoping we could have a quick chat about it. I have isolated the lines in the PHP file that need to be modified (I think...), I am just not sure how to approach it. It is a component for Joomla 1.6 and the issue is the following: The admin panel is showing the registered usernames (in a column list) that have accessed a file, but we want to show the registered emails instead of those usernames. The title for the username list column is on line 48 (needs to be changed to email) The action that pulls the username is on line 86 (needs to be changed to email) Here is my code: defined('_JEXEC') or die; JHtml::_('behavior.tooltip'); $user = JFactory::getUser(); $userId = $user->get('id'); $listOrder = $this->state->get('list.ordering'); $listDirn = $this->state->get('list.direction'); $id = JRequest::getVar( 'id', '', '', 'int'); ?> <form action="<?php echo JRoute::_('index.php?option=com_phocadownload&view=phocadownloaduserstats&id='.(int)$id); ?>" method="post" name="adminForm" id="adminForm"> <fieldset id="filter-bar"> <div class="filter-search fltlft"> <label class="filter-search-lbl" for="filter_search"><?php echo JText::_('JSEARCH_FILTER_LABEL'); ?></label> <input type="text" name="filter_search" id="filter_search" value="<?php echo $this->state->get('filter.search'); ?>" title="<?php echo JText::_('COM_PHOCADOWNLOAD_SEARCH_IN_TITLE'); ?>" /> <button type="submit"><?php echo JText::_('JSEARCH_FILTER_SUBMIT'); ?></button> <button type="button" onclick="document.id('filter_search').value='';this.form.submit();"><?php echo JText::_('JSEARCH_FILTER_CLEAR'); ?></button> </div> <div class="filter-select fltrt"> </div> </fieldset> <div class="clr"> </div> <div id="editcell"> <table class="adminlist"> <thead> <tr> <th width="5"><input type="checkbox" name="toggle" value="" onclick="checkAll(<?php echo count( $this->items ); ?>);" /></th> <th class="title" width="10%"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_USER', 'usernameno', $listDirn, $listOrder); ?> </th> <th class="title" width="10%"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_USERNAME', 'username', $listDirn, $listOrder); ?> </th> <th class="title" width="30%"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_TITLE', 'a.title', $listDirn, $listOrder); ?> </th> <th width="30%" nowrap="nowrap"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_FILENAME', 'a.filename',$listDirn, $listOrder ); ?> </th> <th width="10%" nowrap="nowrap"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_DOWNLOADS', 'a.count',$listDirn, $listOrder ); ?> </th> <th width="20%" nowrap="nowrap"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_DATE', 'a.date',$listDirn, $listOrder ); ?> </th> <th width="1%" nowrap="nowrap"><?php echo JHTML::_('grid.sort', 'COM_PHOCADOWNLOAD_ID', 'a.id',$listDirn, $listOrder ); ?> </th> </tr> </thead> <tbody> <?php if (is_array($this->items)) { foreach ($this->items as $i => $item) { echo '<tr class="row'. $i % 2 .'">'; echo '<td class="center">'. JHtml::_('grid.id', $i, $item->id) . '</td>'; echo '<td>'; echo $item->usernameno ? ' ('.$item->usernameno.')' : JText::_('COM_PHOCADOWNLOAD_GUEST'); echo '</td>'; echo '<td>'; echo $item->username ? ' ('.$item->username.')' : JText::_('COM_PHOCADOWNLOAD_GUEST'); echo '</td>'; echo '<td >'.$this->escape($item->filetitle).'</td>'; echo '<td>'. $item->filename.'</td>'; echo '<td align="center">'. $item->count.'</td>'; echo '<td align="center">'. JHTML:ate($item->date, JText::_('DATE_FORMAT_LC3')) .'</td>'; echo '<td align="center">'. $item->id .'</td>'; echo '</tr>'; } } echo '</tbody>'; ?> </tbody> <tfoot> <tr> <td colspan="14"><?php echo $this->pagination->getListFooter(); ?></td> </tr> </tfoot> </table> </div> <input type="hidden" name="task" value="" /> <input type="hidden" name="boxchecked" value="0" /> <input type="hidden" name="filter_order" value="<?php echo $listOrder; ?>" /> <input type="hidden" name="filter_order_Dir" value="" /> <?php echo JHtml::_('form.token'); ?> </form>