PrestaShop Forum

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum

Jump to content

Drop-Down Categories-Menu (for Frontpage)

94 replies to this topic
#1
Maximilion

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts
Hello,

i am looking for a modul which can show categories & subcategories in Drop-Downs.

Exactly like here: http://www.ifixit.com/
(direct under "easy as").


As i really need this function i will also pay for it.

Thanks

#2
By Kuhi

    PrestaShop Apprentice

  • Members
  • PipPip
  • 86 posts
Yes, very good drop-down menu.
www.presta-tr.com

#3
Maximilion

    PrestaShop Newbie

  • Members
  • Pip
  • 1 posts
Yeah,

and i really need this for PrestaShop!!!

PLEASE HELP!

#4
hieloiceberg

    PrestaShop Apprentice

  • Members
  • PipPip
  • 480 posts
It looks like they are probably using a MooTools you can check the demo here http://demos.mootools.net/Mouseenter
FarmVille Addict ;-)

#5
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
Hi,

Here is my multi level drop down menu.

> INSTALLATION
1. Unzip the following module in your modules directory
2. In your BO > Modules : Uninstall BlockCategories module
3. Install Categories block with drop down menu
4. Go into BO > Modules > Positions so as to put it whereever you want in your left column.

See ya

Updated 27th of march

PS : I like beer ;) So if you like this module and use this menu, I WOULDN'T REFUSE A PAYPAL BEER GUYS !
Paypal account : damiengoeres@yahoo.fr

#of download from the 18th of august : 999

#of cool people who offered me a Paypal Beer : 2 ... :-(

THANKS ! I just made that menu for yous ... and spent few days on it...

Attached Files


H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#6
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
@maxiMilion : Just edit the css & images so as to get the same as http://www.ifixit.com/
And customize it so as to get an onmouseover instead of a click.
enjoy
H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#7
hieloiceberg

    PrestaShop Apprentice

  • Members
  • PipPip
  • 480 posts
Thanks daYmo but,

I think I'm doing something wrong since when I click on them only takes me to the categories just like any link :-(
FarmVille Addict ;-)

#8
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
If you don't have subcategories, it is a link.
If you have subcategories ... it drops down an show subcategories (which are links).

Attached Files


H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#9
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
Post Scriptum : Make sure you've got your category level depth set to 2 ....
H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#10
Dio

    PrestaShop Apprentice

  • Members
  • PipPip
  • 134 posts
installed - OK
level depth set to 2

They don't open!!! :roll: - onmouseover
Where should I customise it?

Thanks ahead!

#11
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
I did it quickly so ... Maybe not adapted to any version of PS.
I did it and test it on SVN version.
Not sure it'll work on previous version.

Otherwise it may be a javascript conflict : check the includes at the beggining of modules/blockcategoriesdaymo/blockcategoriesdaymo.tpl
in your themes/XXXX/header.tpl

If I've got more time I'll have a look but I don't use it, I don't need it and I've got so much to do...

Paiement module, ajax search module, etc.
H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#12
Dio

    PrestaShop Apprentice

  • Members
  • PipPip
  • 134 posts

From 1228584013:

I did it quickly so ... Maybe not adapted to any version of PS.
I did it and test it on SVN version.
Not sure it'll work on previous version.

Otherwise it may be a javascript conflict : check the includes at the beggining of modules/blockcategoriesdaymo/blockcategoriesdaymo.tpl
in your themes/XXXX/header.tpl

If I've got more time I'll have a look but I don't use it, I don't need it and I've got so much to do...

Paiement module, ajax search module, etc.


Testing it on Version 1.1 beta 3 -suppose there should be settings 4 open click or onmouseover

#13
ZeD

    PrestaShop Newbie

  • Members
  • Pip
  • 23 posts
Hi! im new on here ;o).

Javascript conflict problem resolve with new ddaccordion.js from the author's web, here the link:

http://www.dynamicdr...ddaccordion.htm

Nice work daYmo! ;)

#14
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
Perfect ! Thanks
Here is the UPDATED menu in case you've got javascript problems.
Let me know if that's fine.

Download here : http://www.prestasho...ead/8272/#36984
H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#15
TropischBruin

    PrestaShop Fanatic

  • Moderators
  • 2198 posts
Why does it not look the same as the regular category?
Norman in 't VeldtModeratorPrestaShopForums
Help PrestaShop, make a donation!

#16
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
Because it's not the same as the regular category...
what do you mean TropischBruin ?
H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#17
TropischBruin

    PrestaShop Fanatic

  • Moderators
  • 2198 posts

From 1229471667:

Because it's not the same as the regular category...
what do you mean TropischBruin ?


Thanks for your responce.

I realy like your work, but if you look at the style of the original Category and then look at yours it does not fit in the default PS template (colors, borders, format ect.).
I hope you understand what I mean.
Norman in 't VeldtModeratorPrestaShopForums
Help PrestaShop, make a donation!

#18
dragon

    PrestaShop Newbie

  • Members
  • Pip
  • 3 posts
your module is great. but the category list is always open.
it should be closed. see at www.honingraat.eu/shop
do you have a solution for that?

#19
daYmo

    PrestaShop Apprentice

  • Members
  • PipPip
  • 378 posts
@TropischBruin : OK I know what you mean ! You know I just made that module to answer someone on the forum. I don't need that module, etc. So, I just helped someone and gave the community this module but you have to make your own css style... I don't wanna spend 2 hours making images and css stylesheet. I don't have time.

@dragon : I don't know how you installed it but some includes are missing.
You have to put this in your header or somewhere :

<*script type="text/javascript" src="/shop/modules/blockcategoriesdaymo/js/jquery-1.2.2.pack.js">
<*script type="text/javascript" src="/shop/modules/blockcategoriesdaymo/js/ddaccordion.js">


<*script type="text/javascript">
ddaccordion.init({
headerclass: "expandable", //Shared CSS class name of headers group that are expandable
contentclass: "categoryitems", //Shared CSS class name of contents group
collapseprev: true, //Collapse previous content (so only one open at any time)? true/false
defaultexpanded: [0], //index of content(s) open by default [index1, index2, etc]. [] denotes no content
animatedefault: false, //Should contents open by default be animated into view?
persiststate: true, //persist state of opened contents within browser session?
toggleclass: ["", "openheader"], //Two CSS classes to be applied to the header when it's collapsed and expanded, respectively ["class1", "class2"]
togglehtml: ["prefix", "", ""], //Additional HTML added to the header when it's collapsed and expanded, respectively ["position", "html1", "html2"] (see docs)
animatespeed: "normal", //speed of animation: "fast", "normal", or "slow"
oninit:function(headers, expandedindices){ //custom code to run when headers have initalized
//do nothing
},
onopenclose:function(header, index, state, isclicked){ //custom code to run whenever a header is opened or closed
//do nothing
}
})



H T T P : / / W W W . M U S I C D E S T O C K . F R
H T T P : / / W W W . J O O N G L E B O O G I E . F R

La norme W3C est à la conception d'un site web ce que la norme ISO est au fonctionnement d'une entreprise.

#20
dragon

    PrestaShop Newbie

  • Members
  • Pip
  • 3 posts
I uploaded the module. Now I uploaded your old version of the module and it is working but it is giving another error.
So I don't understand what I'm doing wrong.