Images and code, CSS, etc.
Sorry, I can't seem to find the English version of this Forum, if there is one. I went to English version of Joomlack and clicked on Forum for Help, but got sent to French version of Forum anyhow.
With Kwikmenu CK, I see where one puts the images, in the menu item link.
But where are the default images coming from? I looked around, but could not find.
In MaxiMenu CK, as I recall (I have the Pro version) the CSS was handled, I think, by looking at PHP file (/components/com_maximenuck...)and adding CSS there. I just see an empty CSS file in Kwikmenu, but don't see anywhere the CONTENT of side image and the text "Kwick Menu par Cedrik KEIFLIN..." Where does that text come from in Kwikmenu CK?
Probably obvious, but I can't seem to find it!
TIA!
With Kwikmenu CK, I see where one puts the images, in the menu item link.
But where are the default images coming from? I looked around, but could not find.
In MaxiMenu CK, as I recall (I have the Pro version) the CSS was handled, I think, by looking at PHP file (/components/com_maximenuck...)and adding CSS there. I just see an empty CSS file in Kwikmenu, but don't see anywhere the CONTENT of side image and the text "Kwick Menu par Cedrik KEIFLIN..." Where does that text come from in Kwikmenu CK?
Probably obvious, but I can't seem to find it!
TIA!
by fsjoom12
Please Log in or Create an account to join the conversation.
Hi
this forum is english/french, there is no specific version
the default images from kwickmenu are located in the module folder (in "assets")
CEd
this forum is english/french, there is no specific version
the default images from kwickmenu are located in the module folder (in "assets")
CEd
Joomlack Webmaster and Developer
by ced1870
The following user(s) said Thank You: fsjoom12
Please Log in or Create an account to join the conversation.
Thank you - I see it now. I see that graphic is called in helper.php in this section:
$item->title = htmlspecialchars($item->title);
$item->anchor_css = htmlspecialchars($item->params->get('menu-anchor_css', ''));
$item->anchor_title = htmlspecialchars($item->params->get('menu-anchor_title', ''));
$item->menu_image = htmlspecialchars($item->params->get('menu_image', 'modules/mod_kwickmenuck/assets/joomlack_kwick.png'));
}
return $items;
}
Does this mean to change this image I must modify helper.php? Also, what are those two other parameters, menu-anchor_css and menu-anchor_title?
Thank you!
$item->title = htmlspecialchars($item->title);
$item->anchor_css = htmlspecialchars($item->params->get('menu-anchor_css', ''));
$item->anchor_title = htmlspecialchars($item->params->get('menu-anchor_title', ''));
$item->menu_image = htmlspecialchars($item->params->get('menu_image', 'modules/mod_kwickmenuck/assets/joomlack_kwick.png'));
}
return $items;
}
Does this mean to change this image I must modify helper.php? Also, what are those two other parameters, menu-anchor_css and menu-anchor_title?
Thank you!
by fsjoom12
Please Log in or Create an account to join the conversation.
why not just replacing the image in the assets folder then ?
Joomlack Webmaster and Developer
by ced1870
Please Log in or Create an account to join the conversation.
Yes, I thought of that.
I was thinking of using a different image for each menu item, however, figuring that it could be done with CSS, but I don't immediately see any way to do it here.
I was thinking of using a different image for each menu item, however, figuring that it could be done with CSS, but I don't immediately see any way to do it here.
by fsjoom12
Please Log in or Create an account to join the conversation.
this is the native behavior of the kwickmenu !!I was thinking of using a different image for each menu item
just give the image in the "link tpye options" of each item
Joomlack Webmaster and Developer
Last Edit:10 years 7 months ago
by ced1870
Last edit: 10 years 7 months ago by ced1870.
Please Log in or Create an account to join the conversation.
Time to create page: 0.788 seconds