Monday, 22 December 2014 08:31
beggarly

Change the order of items

An open forum for opinions and general questions

Change the order of items

Postby hunchermuncher » Mon Mar 17, 2008 10:54 am

Is it possible to change the order that items are listed in? For example I have a category called Games. On my site the menu is configured to list the games alphabetically but on the Sitemap they are listed in order of most recent (I think). I would like them to be in the same order as the category menu.
hunchermuncher
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Wed Feb 13, 2008 12:36 pm

Re:Change the order of items

Postby guilleva » Mon Mar 17, 2008 3:44 pm

Hi, some Xmap 1.1 extensions has this option available. Which version of Xmap are you using?

This Games category, is it a joomla content category or is a category of some component?
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re:Change the order of items

Postby hunchermuncher » Mon Mar 17, 2008 4:22 pm

I am using Xmap 1.1.

The categories I am referring to are just ordinary Joomla categories.
hunchermuncher
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Wed Feb 13, 2008 12:36 pm

Re:Change the order of items

Postby guilleva » Mon Mar 17, 2008 7:54 pm

Hi, I think I have found the problem, please try with the attached file, unzip it and replace your file: /administrator/components/com_xmap/extensions/com_content.php with the attached one.

Please let me know if it fixes your issue.

Thanks!
com_content.zip
(3.62 KiB) Downloaded 394 times
Last edited by guilleva on Thu Jan 01, 1970 12:00 am, edited 65535 times in total.
Reason: 1
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re:Change the order of items

Postby hunchermuncher » Mon Mar 17, 2008 9:48 pm

Hello

I appreciate your quick response and the solution you produced. Your file has fixed the issue - just about! All my games are in alphabetical order now, thank you very much.

However, the other thing I have noticed is that many content items are repeated. For example, I have a section called Teaching and within it are the categories Primary and Secondary. In the site map it lists all the Teaching items in what seems a random order and then the same items again in their categories, in the correct order. Is there a way to only show the content items once?

It is also interesting that ALL my content items are shown the first time and then in the categories only the public items are shown. I have a subscription site and I would like the public o see all the content so that they can see what they wopuld get if they subscribed.

Well, there are a few issues there...
hunchermuncher
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Wed Feb 13, 2008 12:36 pm

Re:Change the order of items

Postby guilleva » Tue Mar 18, 2008 9:19 pm

Hi, about the repeated items, the only thing you can do right know is disable the expand sections option, but this will affect all the sections menu items on all your menus.

To show your restricted items, you should enable it in joomla's global configuration. There is one option to list restricted content items and Xmap will automatically show they as well.
User avatar
guilleva
Administrator
Administrator
 
Posts: 1527
Joined: Wed Sep 12, 2007 3:10 am
Location: San José, Costa Rica

Re:Change the order of items

Postby hunchermuncher » Tue Mar 18, 2008 11:27 pm

Hi

Where do you disable the expand sections? I could not find this.

Also I could not find an option to enable showing restricted items in Joomla's global configuration. Is it in Joomla 1 or 1.5?

Thanks.
hunchermuncher
Fresh Boarder
Fresh Boarder
 
Posts: 5
Joined: Wed Feb 13, 2008 12:36 pm


Return to General



Who is online

Users browsing this forum: No registered users and 1 guest