Keyword

K2 Menu with submenus

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 7 months ago #73746 by Nicholas Lima
K2 Menu with submenus was created by Nicholas Lima
Hi, i want to share with all members of community a module made by me (in fact it is a modification of the original K2 module).

But i think it's very usefull, with it you can show a menu of all category with menus and submenus (vertical dropdown menu) or a list of item of a single category. I will thank if the comunity help sending-me a e-mail with the bugs to fix.

a example can be viewed at www.ecurticao.com.br/index.php.

This version of module works only in K2 version 2.0 if anyone wants the previous version just tell.

I do not speak English very well, so forgive my mistakes.
Attachments:

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

More
15 years 7 months ago #73747 by Akian0
Replied by Akian0 on topic K2 Menu with submenus
Great mod. May work well with a sports site I'm working on.

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 7 months ago #73748 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
Thanks, I hope that the module fits your needs, when you finish your site, send the url for us to see the results.

Nick

Akian0 said:Great mod. May work well with a sports site I'm working on.

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

More
15 years 4 months ago #73749 by Manny Santos
Replied by Manny Santos on topic K2 Menu with submenus
Thank you for this module. I installed it in my k2 2.1 and i really like this menu. The only issue is the level rendering. When you leave the parameter in the module blank, it only renders the main cat, and one other level. If I add a #3 to render 3 levels, nothing happens.

I hope that you can modify it to allow this because you have a great module and should be used by everyone. Thanks

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

More
15 years 2 months ago #73750 by David Collis
Replied by David Collis on topic K2 Menu with submenus
I was trying to adapt your menu to become a module that shows the entirety of a category, all it's sub categories (recursively) AND all the items in them.
I removed the javascript part (as I don't need this - i just want a list)
But am not sure how to output each of the items under each category. Is this a simple modification?

This is about the feature I requested here: community.getk2.org/forum/topics/product-catalogue-view

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 2 months ago #73751 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
Hello, the module renders many levels as you want. The problem might be in the configuration of your module. Here's an example working with several levels of menu www.ecurticao.com.br

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

More
15 years 2 months ago #73752 by David Collis
Replied by David Collis on topic K2 Menu with submenus
Yes, but it only shows categories, not items too. This has now been done - see this posting: community.getk2.org/forum/topics/content-index-module

Thank you very much for this module - i wouldn't have this new one without your hard work!

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

More
15 years 2 months ago #73753 by Mickey Perre
Replied by Mickey Perre on topic K2 Menu with submenus
Does anyone know how to get this to work with something other than the default template???

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

More
15 years 2 months ago #73754 by Alexis Valera
Replied by Alexis Valera on topic K2 Menu with submenus
Hi Nicolas Lima, great pleasure to see you can achieve this and it seems to be pretty usefull, Thanks for that.

I been seeing you site and i love the way you modify the frontpage in order that the categories run togueter.

Im not a coder or a php master so i want to know if you can tell us how you can do this beautifull trick

Please

best regards

Thanks in advance

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 month ago #73755 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
Thank you. I'm very glad you enjoyed my website. To configure the site structure in this format, I created the module positions in Joomla and enable the modules of K2 to show news in particular categories.

In the images of titles was used CSS. The information in the modules of Banner and Spotlight, I used standard modules for joomla. If you still have doubts go www.ecurticao.com.br/?tp=1 to see how the template was structured.

Thanks for your support and I hope that the module works for you.

Alexis Enrique Valera said:Hi Nicolas Lima, great pleasure to see you can achieve this and it seems to be pretty usefull, Thanks for that.
I been seeing you site and i love the way you modify the frontpage in order that the categories run togueter.

Im not a coder or a php master so i want to know if you can tell us how you can do this beautifull trick

Please

best regards

Thanks in advance

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

More
15 years 1 month ago #73756 by Alexis Valera
Replied by Alexis Valera on topic K2 Menu with submenus
Thanks Nicholas Lima

I need a big favor from you if you have some time to answer my question

Can you tell us how to put the images in the CSS, please, it will help us a lot

Thanks in advance for your answer

Best regards and Thanks in advance.

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

More
15 years 1 week ago #73757 by Thambi Yousuf
Replied by Thambi Yousuf on topic K2 Menu with submenus
hi nicholas,

i just installed your menu module, can you help me adjust the postioning. it is overlapping to the right, and some menu categories / sub category not visible
www.samratbazaar.com.sg

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 week ago #73758 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
Hi, this is a error in your css (or not). but If you make this simple adjustment it work fine;

Remove the overflow

.s-c-s .col2 {
float:left;
left:202px;
margin-left:-50%;
overflow:hidden;
position:relative;
width:202px;
}

like this

.s-c-s .col2 {
float:left;
left:202px;
margin-left:-50%;
position:relative;
width:202px;
}

Sorry for all trouble

Thambi Yousuf said:hi nicholas,
i just installed your menu module, can you help me adjust the postioning. it is overlapping to the right, and some menu categories / sub category not visible
www.samratbazaar.com.sg

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 week ago #73759 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
I'm sorry because i don't have answered you message. But if you still want to know, tell me and i will help you.

Alexis Enrique Valera said:Thanks Nicholas Lima
I need a big favor from you if you have some time to answer my question

Can you tell us how to put the images in the CSS, please, it will help us a lot

Thanks in advance for your answer

Best regards and Thanks in advance.

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

More
15 years 1 week ago #73760 by Thambi Yousuf
Replied by Thambi Yousuf on topic K2 Menu with submenus
hi nicholas,
not able to find the overflow hidden in menu
just attached a copy of the k2.css and would pm you. just resend me the file after removing the hidden overflow. it would be a very great help. something wrong i do my whole effort comes crashing down
/samratbazaar.com.sg/components/com_k2/css
this path is correct or not
thanks
thambi

Nicholas Lima said:Hi, this is a error in your css (or not). but If you make this simple adjustment it work fine;
Remove the overflow

.s-c-s .col2 {
float:left;
left:202px;
margin-left:-50%;
overflow:hidden;
position:relative;
width:202px;
}

like this

.s-c-s .col2 {
float:left;
left:202px;
margin-left:-50%;
position:relative;
width:202px;
}

Sorry for all trouble

Thambi Yousuf said:hi nicholas, i just installed your menu module, can you help me adjust the postioning. it is overlapping to the right, and some menu categories / sub category not visible
www.samratbazaar.com.sg
Attachments:

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 week ago #73761 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
Sorry, i don't have said the css file to change. you have to change you template.css (templates/rt_mynxx_j15/css/template.css in line 68) and it will be fine.

find the css clases bellow and remove the overflow

.s-c-s .col2 {
float:left;
left:202px;
margin-left:-50%;
overflow:hidden;
position:relative;
width:202px;
}

I hope you can do it now. If you need some more thing i can do, tell me!!!
Thanks for the support of my module.

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

More
15 years 1 week ago #73762 by Thambi Yousuf
Replied by Thambi Yousuf on topic K2 Menu with submenus
hi nicholas,
no luck
removed overflow:hidden from col2
still the same
any other idea, pls let me know,your menu bar is so fast and just great, cannot let it go just for this overlapping
thanks

Nicholas Lima said:Sorry, i don't have said the css file to change. you have to change you template.css (templates/rt_mynxx_j15/css/template.css in line 68) and it will be fine.
find the css clases bellow and remove the overflow

.s-c-s .col2 {
float:left;
left:202px;
margin-left:-50%;
overflow:hidden;
position:relative;
width:202px;
}

I hope you can do it now. If you need some more thing i can do, tell me!!!
Thanks for the support of my module.

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

  • Nicholas Lima
  • Nicholas Lima's Avatar Topic Author
  • Offline
  • Junior Member
More
15 years 1 week ago #73763 by Nicholas Lima
Replied by Nicholas Lima on topic K2 Menu with submenus
What browser are you using? Using firefox I got to see the submenus. I Fix another bug in css. Below is the css file you have to change and the line. I hope it works. Also tested in Opera 10

Add the z-index in modules/mod_k2_menucat/css/style.css on line 31 like below

ul.level1, ul.level1 ul {
background-color:#FFFFFF;
border-bottom:1px solid #CCCCCC;
margin:0;
padding:0;
width:160px;
z-index:9999;
}

Here's a tip if you're using Firefox, try the "firebug". is a perfect app for developers

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

More
15 years 19 hours ago #73764 by Thambi Yousuf
Replied by Thambi Yousuf on topic K2 Menu with submenus
hi nicholas,

just check my page on the bottom left side. any idea to increase the font size, i tried this k2.css but could not find which line to edit
/samratbazaar.com.sg/components/com_k2/css

the menu model works no nice, pls help me with the modification - thanks

thambi
singapore

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

More
14 years 11 months ago #73765 by jbmaury
Replied by jbmaury on topic K2 Menu with submenus
Hi,

a simple but very very good module..

Thanks a lot

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


Powered by Kunena Forum