There has been a growing trend of people trying to find a work around for Joomla 1.0 Menu Management.
One of the problems we face in Joomla 1.0 is not being able to get deep into a Component "Category", for example Fireboard or Mosets Tree, without creating the menu item as a "Link URL" Menu Item.
Then the problem you are faced with, is you cannot assign modules to that "Link URL" Menu item, in side of the
Module Manager.
We noticed the need for a fix for a stellar client of ours
Green Collar Economy and found the fix, needed to do what was needed.
With the fix below, you can now create "Link URL" menu item and then you will then be able to access them inside your
Module Manager.
Please post back your successes and failures, and we would be glad to help you through it.
:::FIX::: for Joomla Version: Joomla version 1.0.12
You need to get the URL by creating a main link to your component, getting the URL from that component out of the address bar, when you have navigated to the proper page. Then creating a Menu Link URL item with that URL that you just copied. Then do the following.
Modify File: includes/Joomla.php
Line: 4651 - comment
Line: 4688 - comment
From Line 4650 - 4658
| Code: |
// do not display `url` menu item types that contain
// `index.php` and `Itemid`
//if (!($mitems_a->type == 'url' && strpos($mitems_a-> link,
//'index.php')!== false && strpos($mitems_a->link,
// 'Itemid=') !== false)) {
$text = $mitems_a->menutype .' | '. $list_a->treename;
$list_temp[] = mosHTML::makeOption( $list_a->id, $text );
if ( strlen($text) > $text_count) {
$text_count = strlen($text);
}
//}
|
From Line 4688 - 4689
| Code: |
$pages = mosHTML::selectList(
$mitems, 'selections[]', 'class="inputbox" size="26"
multiple="multiple"', 'value', 'text', $lookup );
return $pages;
|
This will allow you to go back into the Module manager, and you should now see the menu item that was just a Link URL in the module manager menu list.