Images and code, CSS, etc.

Images and code, CSS, etc. was created by fsjoom12

Posted 10 years 7 months ago #13584
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!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Images and code, CSS, etc.

Posted 10 years 7 months ago #13590
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

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.

Replied by fsjoom12 on topic Images and code, CSS, etc.

Posted 10 years 7 months ago #13637
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!

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Images and code, CSS, etc.

Posted 10 years 7 months ago #13639
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.

Replied by fsjoom12 on topic Images and code, CSS, etc.

Posted 10 years 7 months ago #13640
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.

Please Log in or Create an account to join the conversation.

Replied by ced1870 on topic Images and code, CSS, etc.

Posted 10 years 7 months ago #13641

I was thinking of using a different image for each menu item

this is the native behavior of the kwickmenu !!
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

Fast and powerful creation, customizable and responsive.

Read More

We have 845 guests and one member online