-
AuthorPosts
-
September 26, 2008 at 7:56 am #133754
How can i get mainmenu images instead text, i have two days trying to put images in Fedora, i used two component and module to menu and nothing, i have a image of sample in the first item (home) and use the topmenu.
When i put default Purity, the menu home display the image but in Fedora no.
How can i remove the option in the index or some fix or config, i need to finish the website (yesterday) :(( and the menu images hve been the issue for two days.:((
The template is almost ready, i used another one before but i finally decided by Fedora, but is sad to be almost finished…and menu is text only.
Any help will be very very apreciated
Thanks
Betty
(the website test is while private)
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
September 26, 2008 at 8:03 am #272425well bett i do not understand very well your request but i imagine that you want to have icon instead of text in the menu. in that case you must edit the menu that you have choose.
September 26, 2008 at 8:36 am #272438As i explained, i have a image in the home button now (i choose the topmenu) , this image IS displayed when i use the Purity template, the image IS NOT displayed in the Fedora template, the text is displayed.
I have icon yes, i have a image etc etc
My question is clear. How can have and see images in the menu instead text in FEDORA?? i repeat, i know the config is right if i see the image in the home button with other template.
I dont want one image with color (then i use the css), i need each image with a specific tipography of an identity manual. The template is almost ready, i dont want to change to other template because i have had to work many many hours to change the positions, css etc.
I have used two component and module to get images in the menu, but i get nothing.
Thanks
Betty
shertmann Friendshertmann
- Join date:
- September 2008
- Posts:
- 339
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 22
- Thanked:
- 42 times in 26 posts
September 26, 2008 at 8:57 pm #272551well i review the fedora and the purity templeta and it seems that you must make some coding inside of the main menu module in order that you can change that, the main module manager is located in modules/mod_mainmenu
1 user says Thank You to shertmann for this useful post
September 27, 2008 at 3:42 am #272625Fedora has the split menu, moo menu etc in “bult in funtion”
Purity uses menu module of core. (i need to enable topmenu in the position when if i select Purity) while Fedora does not. You dont need to have enabled the topmenu module.
The file in Fedora/ja_menus/Base.class has the code:
//$iParams =& new JParameter($tmp->params);
$itembg = '';
if ($this->getParam('menu_images') && $iParams->get('menu_image') && $iParams->get('menu_image') != -1) {
if ($this->getParam('menu_background')) {
$itembg = ' style="background-image:url(images/stories/'.$iParams->get('menu_image').');"';
$txt = '<span class="menu-title">' . $tmp->name . '</span>';
} else {
$txt = '<img src="images/stories/'.$iParams->get('menu_image').'" alt="'.$tmp->name.'" title="'.$tmp->name.'" /><span class="menu-title">' . $tmp->name . '</span>';
}
} else {
$txt = '<span class="menu-title">' . $tmp->name . '</span>';
}
and then i think, what is missing here o where?
***ja_hedera also display the images BUT the text is also displayed below of image (with hover etc) , looking like two buttons…
Thanks
-
AuthorPosts
This topic contains 5 replies, has 2 voices, and was last updated by bett00 16 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum