PrestaShop Forums: Drop-Down Categories-Menu (for Frontpage) - PrestaShop Forums

Jump to content


Welcome to the PrestaShop Forum! We hope you'll share your comments and suggestions with us. We ask that you please post in English to the main sections of the PrestaShop Forum. If you want to write in another language, please post in the corresponding PrestaShop Community section below.

Please note that PrestaShop Community sections are largely self-moderated. PrestaShop team members may or may not participate in non-English sections. To improve the chances of receiving feedback to your question or comment, please post it in English to the main sections of our Forum.

NYC

Vous parlez français ? par ici !


Drop-Down Categories-Menu (for Frontpage)


Drop-Down Categories-Menu (for Frontpage)

#1 Maximilion

    PrestaShop Newbie

  • 27 Nov 2008
  • Members
  • Pip
  • 1 posts

Posted 27 November 2008 - 12:16 AM

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

  • 13 Aug 2008
  • Members
  • PipPip
  • 86 posts
  • Location:Ankara

Posted 27 November 2008 - 05:02 AM

Yes, very good drop-down menu.
www.presta-tr.com

#3 Maximilion

    PrestaShop Newbie

  • 27 Nov 2008
  • Members
  • Pip
  • 1 posts

Posted 28 November 2008 - 01:33 AM

Yeah,

and i really need this for PrestaShop!!!

PLEASE HELP!

#4 hieloiceberg

    PrestaShop Apprentice

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 30 November 2008 - 04:44 AM

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

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 05 December 2008 - 12:39 AM

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 File(s)


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

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 05 December 2008 - 06:52 PM

@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

  • 15 Nov 2008
  • Members
  • PipPip
  • 480 posts

Posted 05 December 2008 - 09:48 PM

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

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 06 December 2008 - 09:51 AM

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

Attached File(s)


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

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 06 December 2008 - 10:13 AM

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

  • 22 Nov 2008
  • Members
  • PipPip
  • 134 posts

Posted 06 December 2008 - 06:12 PM

installed - OK
level depth set to 2

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

Thanks ahead!

#11 daYmo

    PrestaShop Apprentice

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 06 December 2008 - 06:20 PM

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

  • 22 Nov 2008
  • Members
  • PipPip
  • 134 posts

Posted 06 December 2008 - 06:30 PM

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

  • 10 Dec 2008
  • Members
  • Pip
  • 23 posts

Posted 10 December 2008 - 01:28 PM

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

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 12 December 2008 - 12:31 PM

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

  • 06 Oct 2008
  • Moderators
  • 2198 posts
  • Location:Winkel - The Netherlands

Posted 16 December 2008 - 07:33 PM

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

#16 daYmo

    PrestaShop Apprentice

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 17 December 2008 - 12:54 AM

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

  • 06 Oct 2008
  • Moderators
  • 2198 posts
  • Location:Winkel - The Netherlands

Posted 17 December 2008 - 07:09 AM

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

  • 17 Dec 2008
  • Members
  • Pip
  • 3 posts

Posted 17 December 2008 - 09:21 AM

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

  • 28 Apr 2008
  • Members
  • PipPip
  • 338 posts
  • Location:Merida, Mexico

Posted 17 December 2008 - 09:39 AM

@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

  • 17 Dec 2008
  • Members
  • Pip
  • 3 posts

Posted 17 December 2008 - 12:28 PM

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users