Images and code, CSS, etc.
11 years 3 months ago #13584
by fsjoom12
Images and code, CSS, etc. was created by fsjoom12
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!
Please Log in or Create an account to join the conversation.
11 years 3 months ago #13590
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Images and code, CSS, etc.
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
The following user(s) said Thank You: fsjoom12
Please Log in or Create an account to join the conversation.
11 years 3 months ago #13637
by fsjoom12
Replied by fsjoom12 on topic Images and code, CSS, etc.
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!
Please Log in or Create an account to join the conversation.
11 years 3 months ago #13639
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Images and code, CSS, etc.
why not just replacing the image in the assets folder then ?
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
11 years 3 months ago #13640
by fsjoom12
Replied by fsjoom12 on topic Images and code, CSS, etc.
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.
Please Log in or Create an account to join the conversation.
11 years 3 months ago - 11 years 3 months ago #13641
by ced1870
just give the image in the "link tpye options" of each item
Joomlack Webmaster and Developer
Replied by ced1870 on topic Images and code, CSS, etc.
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: 11 years 3 months ago by ced1870.
Please Log in or Create an account to join the conversation.
Time to create page: 0.203 seconds