in /includes/database.php about line 513 you will see:
Code: Select all
while ($row = mysql_fetch_row( $cur )) {
Code: Select all
while ($row = mysql_fetch_array( $cur )) {
Edit: this change is not necessary anymore since version 1.0.0 (rc1)
Code: Select all
while ($row = mysql_fetch_row( $cur )) {
Code: Select all
while ($row = mysql_fetch_array( $cur )) {
I am quite sure that it has to do with the Itemid and the coresef hack not giving a 100% reversible URL... for some it may be good (was already mentioned in XE) as it reduces the duplicate URLs... on the other hand everything depending on the Itemid does not work properly anymore.pastoweb wrote: Hi de, I installed coresef hack (http://forge.joomla.org/sf/projects/coresef) for better sef compatibility, but menu items doesn't expand anymore.
This fixes the XTmenu but will it mess up other aspects of Joomla and/or will the change make it into the core?de wrote: Ok, here comes the fix...
in /includes/database.php about line 513 you will see:change it to:Code: Select all
while ($row = mysql_fetch_row( $cur )) {
(you should otherwise also see some notice messages - if error reporting is high enough)Code: Select all
while ($row = mysql_fetch_array( $cur )) {
That is what it was before... the method change made it break backward compatible partially and I see a 50:50 chance (depending how they use it) that it would break other addons/hacks that are using the function loadRowList as well. I think such a change should not have introduced in a security release. So I am quite confident it will do more good than harm.camos wrote: This fixes the XTmenu but will it mess up other aspects of Joomla and/or will the change make it into the core?
Actually I meant that I see the 50:50 chance that addons (but only those using that function) may or may not break without that modification (like it did break my addon)... that the change will break other addons should have a chance next to zero (as it is just introduced in 1.0.6/1.0.7)... that it breaks the core maybe 1%.camos wrote: What a bother!
Now your cool menu requires a core hack to work which may or may not mess up other addons.
Gack...
Nope... but should be until the next weekend.camos wrote: Anyway, you have mentioned a new version. Do you have a projected release date yet?
Honestly I did not completely understood the problem but had the feeling that it had to do with relative positioning... I workaround it however by defering the non-hover state... seems to work fine - I just did not upload the new version yet.camos wrote: You have probably noticed it but just thought I would mention the problem with disappearing dropdowns with IE is also exhibited by the horizontal suckerfish example on your site. That would indicate the problem is with the suckerfish code rather than with your code. Except that the Moslate/howtos menu item in your menu does not display under IE so perhaps a combination of errors. Also there is a syntax error displayed.
That is part of the new version when it is available. It means a modification of the menu.html and I believe it is not possible with the latest (yet) release of the extended menu module. I hope you have just a little more patience... a release canditate will be available very soon and a release shortly after.camos wrote: Trying to get the right arrow to display. I see in topnav/css/menu.css this entry:
ul.mainlevel-topnav ul .expanded{display:block; background-image:url("../images/expanded_right.gif");
How does the .expanded get added? I'm not getting it in the source code.
I'm wondering the same -- Can one of the Joomla core team speak to this? I also noticed that now if you delete a "main_menu" module, it'll delete the associated menu (if it is empty). I didn't notice this before. Honestly, I think the "menus" should be completely separate from the modules that use the menus (mainmenu, exmenu), and it shouldn't automatically create a "mainmenu" module when you create a new menu -- or it should be an option you can unselect at least.camos wrote:This fixes the XTmenu but will it mess up other aspects of Joomla and/or will the change make it into the core?de wrote: Ok, here comes the fix...
in /includes/database.php about line 513 you will see:change it to:Code: Select all
while ($row = mysql_fetch_row( $cur )) {
(you should otherwise also see some notice messages - if error reporting is high enough)Code: Select all
while ($row = mysql_fetch_array( $cur )) {
@ http://www.alistapart.com/articles/horizdropdowns/IE5.01 Jumping Menu Bug
Anyone using IE5.01 on Windows will notice that the menu jumps around when you hover over some of its items. The problem is easily fixed by modifying our previous hacks as follows:
/* Fix IE. Hide from IE Mac \*/
* html ul li { float: left; height: 1%; }
* html ul li a { height: 1%; }
/* End */
Mystery IE6 Bug:
During the development of this article, I uncovered a strange bug that I believe is only apparent in IE6. A background must be declared on the li a, else when a sub-menu stretches further (vertically) than the main menu itself, the links start to disappear before you have time to click them. Strange! Try it to see for yourself.
There are mainly two parameters with similar but not same behaviour for this purpose: "Maximum Depth" (that is the one I suggest to use) and "Split Menu"mikedfunk wrote: Anyway, I have another hopefully simple question. How do I use the extended menu to show a list containing links to only level 2 of the menu? Once again, I've fiddled with the "begin with" parameter but I haven't been able to create a static single-level menu containing only level 2 of the navigation. How do I do this??
The intention of the "extended menu" modul is to just visualise what you defined using the menu manager... a combination is not possible (at least not yet and I cannot really think of a good way to do so).KipBond wrote: Is there some way to "combine" menus? For instance, if I want one menu item to be an expanded list of section/category content items, how would I do this?
...
I thought that's what the "Section..." or "Category..." source types were for? I was able to pull a list of content items from a section. But, I need that to be a submenu of another menu. That's why I thought combining menus would be helpful. You could define one module to be a menu of content items in a section, and then have that menu be a submenu of another menu module. Or, maybe one "source" option would be other extended menu modules? Then you can specify which modules and their order.de wrote:The intention of the "extended menu" modul is to just visualise what you defined using the menu manager... a combination is not possible (at least not yet and I cannot really think of a good way to do so).
However, it is actually a secret, but the next version will also allow you to automatically expand sections and categories (which should have the desired effect).
Ok true... that thing is an "exception" in a way... but even there the content manager is used in place of the menu manager. The problem is how to tell which other source to assign to which item... just selecting another source would display it in-place - just like it is now done with the sections, categories.KipBond wrote: I thought that's what the "Section..." or "Category..." source types were for? I was able to pull a list of content items from a section. But, I need that to be a submenu of another menu. That's why I thought combining menus would be helpful. You could define one module to be a menu of content items in a section, and then have that menu be a submenu of another menu module. Or, maybe one "source" option would be other extended menu modules? Then you can specify which modules and their order.
I think best would be an option for each (section, category) menu item whether it should expand or not. The new version will let you expand all sections and categories (not each on it's own).KipBond wrote: I suppose a better way would be to have this built into the "menu" system, where "submenu" would be an item you could place in the menu. :-? Just a thought... I'll end up having to just include links to each content item separately, and change my menus every time I change the content.
Code: Select all
ul.mainlevel-suckerfish-horizontal li {
padding: 0;
margin: 0;
background: none;
}
Code: Select all
function MenuLinks( &$lookup, $all=NULL, $none=NULL, $unassigned=1 ) {
global $database;
// get a list of the menu items
$query = "SELECT m.*"
. "\n FROM #__menu AS m"
// . "\n WHERE type != 'url'"
// . "\n AND type != 'separator'"
// Change adds Itemid support for Link - Urls without `index.php` or `Itemid=` in their url
. "\n WHERE m.published = 1"
//. "\n AND m.type != 'separator'"
. "\n AND NOT ("
. "\n ( m.type = 'url' )"
. "\n AND ( m.link LIKE '%index.php%' )"
. "\n AND ( m.link LIKE '%Itemid=%' )"
. "\n )"
. "\n ORDER BY m.menutype, m.parent, m.ordering"
;