- Posts: 5
- Thank you received: 0
Missing arrow under selected menu item
-
wosino.otten
Inactive member - Topic Author
- New Member
Less
More
12 years 2 months ago - 2 years 6 months ago #21564
by wosino.otten
Missing arrow under selected menu item was created by wosino.otten
Hi folks,
I have a very strange problem with the Hot Blankie Template. I did not install the Template with Hot Starts. I installed it over the existing Joomla 1.5.22. Anyway, i could arrange almost everything like I want to have it and a bit according to the Demo.
After installation and arranging all items, it is running perfectly, just one strange thing happens.
When you watch the demo version, you will find the arrow below the main menu always under the selected menu item. Not so with my installed version. The arrow is either always at the same position (Home) or at a position, which was not choosen or choosen before.
The arrow does not follow the mouse resp. the selection of the menu. How does it come and what can I do against it resp. what can I do that the arrow will always be under the selected menu item?
Take a look to wosino .com
Looking forward to your help.
Regards
Sven
I have a very strange problem with the Hot Blankie Template. I did not install the Template with Hot Starts. I installed it over the existing Joomla 1.5.22. Anyway, i could arrange almost everything like I want to have it and a bit according to the Demo.
After installation and arranging all items, it is running perfectly, just one strange thing happens.
When you watch the demo version, you will find the arrow below the main menu always under the selected menu item. Not so with my installed version. The arrow is either always at the same position (Home) or at a position, which was not choosen or choosen before.
The arrow does not follow the mouse resp. the selection of the menu. How does it come and what can I do against it resp. what can I do that the arrow will always be under the selected menu item?
Take a look to wosino .com
Looking forward to your help.
Regards
Sven
Last edit: 2 years 6 months ago by milos.
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #21568
by ivan.milic
Replied by ivan.milic on topic Missing arrow under selected menu item
Open :
templates\<your template>\html\mod_menu\default.php
around line 45 find this:
if ( $item->type == 'alias' &&
in_array($item->params->get('aliasoptions'),$path)
|| in_array($item->id, $path)) {
$class .= ' active';
}
and replace it with this:
templates\<your template>\html\mod_menu\default.php
around line 45 find this:
if ( $item->type == 'alias' &&
in_array($item->params->get('aliasoptions'),$path)
|| in_array($item->id, $path)) {
$class .= ' active';
}
and replace it with this:
Code:
if (in_array($item->id, $path)) {
$class .= ' active';
}
elseif ($item->type == 'alias') {
$aliasToId = $item->params->get('aliasoptions');
if (count($path) > 0 && $aliasToId == $path[count($path)-1]) {
$class .= ' active';
}
elseif (in_array($aliasToId, $path)) {
$class .= ' alias-parent-active';
}
}
Please Log in to join the conversation.
-
wosino.otten
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
12 years 2 months ago - 2 years 6 months ago #21570
by wosino.otten
Replied by wosino.otten on topic Missing arrow under selected menu item
Dear Ivan,thank you for your quick reply.First of all I could not find this specific folder you mentioned. I only found the folder "templates\hot_blankie\html\MOD_MAINMENU". There is no folder "mod_menu". Anyway.There I found the "default.php" and I went through it to find the string you told me. No such string.So please find the "default.php" attached to this message. I just rename it to "default_php.txt" to upload it.What can I do now?Looking forward to further ideas.regardsSven
Attachment not found
Last edit: 2 years 6 months ago by milos. Reason: File missing
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 2 months ago #21576
by ivan.milic
Replied by ivan.milic on topic Missing arrow under selected menu item
>if you using Hot Blankie and you don't have that folder that is no good. Maybe copying /html folder from original zip will solve problems?
Please Log in to join the conversation.
-
wosino.otten
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
12 years 2 months ago #21577
by wosino.otten
Replied by wosino.otten on topic Missing arrow under selected menu item
Hello Ivan,
thank you. I open the Zip file of the Hot Blankie and it does not show this folder under "html". There is only "mod_breadcrumbs" and "mod_mainmenu".
So I load down the Hot Blankie version for Joomla 2.5. There it is included. But I'm using Joomla 1.5.22. So can I just copy this folder to the server, even it is for Joomla 2.5?
Looking forward to your reply.
Regards
Sven
thank you. I open the Zip file of the Hot Blankie and it does not show this folder under "html". There is only "mod_breadcrumbs" and "mod_mainmenu".
So I load down the Hot Blankie version for Joomla 2.5. There it is included. But I'm using Joomla 1.5.22. So can I just copy this folder to the server, even it is for Joomla 2.5?
Looking forward to your reply.
Regards
Sven
Please Log in to join the conversation.
-
wosino.otten
Inactive member - Topic Author
- New Member
Less
More
- Posts: 5
- Thank you received: 0
12 years 2 months ago #21578
by wosino.otten
Replied by wosino.otten on topic Missing arrow under selected menu item
I now copy the folder "mod_menu" from the Hot Blankie version for Joomla 2.5 into the folder "html".
I furthermore changed the code as you said in line 45 of the "default.php".
I cleaned my browser cache. I tried it on several other computers.
The arrow under the menu item will NOT change it's position.
Strange is furthermore, that when I click e.g. on "Kontakt - Ansprechpartner - Ansprechpartner Nürnberg" the arrow will change it's position to the menu item "Kontakt".
When I than change resp. click on another menu item, the arrow remains under "Kontakt".
I furthermore changed the code as you said in line 45 of the "default.php".
I cleaned my browser cache. I tried it on several other computers.
The arrow under the menu item will NOT change it's position.
Strange is furthermore, that when I click e.g. on "Kontakt - Ansprechpartner - Ansprechpartner Nürnberg" the arrow will change it's position to the menu item "Kontakt".
When I than change resp. click on another menu item, the arrow remains under "Kontakt".
Please Log in to join the conversation.
Time to create page: 0.244 seconds