How do I change Menu Item Type Order?

More
12 years 11 months ago #27957 by iamrobert
Hi,

When You add a menu item you click "Menu Item Type" and get:

[attachment=1:3g7j2tus]<!-- ia1 -->Untitled-6.png<!-- ia1 -->[/attachment:3g7j2tus]

As we don't use articles, how do we hide it or remove it.

So, it looks more like this:

[attachment=0:3g7j2tus]<!-- ia0 -->Untitled-7.png<!-- ia0 -->[/attachment:3g7j2tus]

Any ideas which file to edit?
Attachments:

Please Log in or Create an account to join the conversation.

More
12 years 11 months ago #27958 by ggppdk
I don't recommend this, but you could change file

administrator/components/com_menus/models/menutypes.php

inside function getTypeOptions()

e.g. change:
$query->order('name ASC');
to:
$query->order('name DESC');

or even better, do some PHP manipulation after the DB query is executed


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.761 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save