Prestashop Module - Categories custom menu

Hi Guys,

This is same old categories menu made by me but there are some qualities. Comes as a module.
Now you can configure through admin panel.

You can enable/disable this new categories menu. Prestashop default menu will be activate when you disable this menu.

Just have a look at screen shots.

admin panel - configuredeafult menucustom menumenu preview

Bug fixed:

You can fix overlapping block issue. You need to add a property in ddsmoothmenu.css.

Find this:

.ddsmoothmenu{
font: bold 12px Verdana;
background: #414141; /*background of menu bar (default state)*/
width: 100%;
height:auto;
}

and replace with:

.ddsmoothmenu{
font: bold 12px Verdana;
background: #414141; /*background of menu bar (default state)*/
width: 100%;
height:auto;
display:inline-block;
}

Or you can simply replace the attached css.

I've fixed some bugs, Please download blockcategories_updated.zip.



AttachmentSize
blockcategories.zip30.89 KB
ddsmoothmenu.css2.34 KB
blockcategories_updated.zip30.93 KB

blockcategory on PS 1.2.5

Does this work in PS 1.2.5, i copied and paste the files in my block category module and in the backend it was 1.5 and there is a configuration
how to configure it? should i enable both or enable one and vice versa cause its not working for me it still look likes block category 1.0

BlockCategory Module is not working in Prestashop 1.2.5

Dear Marghoob suleman,
Hi i am from Malaysia,

Nice to see your work. Marghoob, i am beginner digging up and trying to get the code run perfectly on my localhost. but un-fortunately. i am unable to find the clue.

i have downloaded blockcategories, blockcurrencies, homefeatured and imagesenlarge_1_3 from your site and installed it in respective folder by replacing it.

i can see these module into Admin Module section. after configuring it. when i want to see the output doesn't appear at all.

i am suspecting that this may be the problem of version conflict?
please help me out these issues.

i would be kind to you.

Thanks
Muhammad Asif.

good post and thanks for

good post and thanks for sharing this with us
and hope to see more

Some problems with custom menu Categories

Hola.

Yo tengo la versión 1.2.5 y tengo algunos problemas con este modulo.

1 - Cuando yo configuro la profundidad a 0 (infinito), no aparece ninguna categoría.

2 - Cuando el cliente utiliza el modulo enviar a un amigo, o el de solicitar información a la tienda, las imágenes (flechas) que aparecen en las categorías con subcategorías no aparecen, aparece en su lugar un recuadro blanco con un punto de interrogación.
Ver imagen aquí: http://todoprestashop.com/foro/download/file.php?id=824

Saludos cordiales

Hello.

I have version 1.2.5 and I have some problems with this module.

1 - When I configure the depth to 0 (infinity) is there any category.

2 - When the client uses the module to send a friend, or to request information from the store, the images (arrows) appearing in the categories with subcategories not listed, appears in its place a white box with a question mark.
See image here: http://todoprestashop.com/foro/download/file.php?id=824

Best regards

Jocamago

Prestashop won't allow login after the first time you log out.

I dont know if you have already answered this, but i can't figure oit why it gets stuck after you login from logging out when you first create an account. I've been to many forums and i see a lot of people are having the same issue. The problem you will experience is it getting stuck after you press the button to login after you put user name and password. This is a front office not back office issue.

pb with url rewriting

Hi,

First of all congrats for this mod !

There is a problem when url rewriting is on, when you land on a product page there is a big "?" instead of the arrow in the category menu. When i desactivite url rewriting everything is working good ...

Do you know how to fix that?

thanks !

3 Bugs, only 1 fix though

The problem is because the back.gif and right.gif are given relative references in ddsmoothmenu.js, and as the url rewriting creates deeper nested directories the relative link breaks.

You could change it to an absolute reference but that will create SSL mixed content error, so you need to change line 13 in ddsmoothmenu.js to the following:

arrowimages: {down:['downarrowclass', baseDir + 'modules/blockcategories/right.gif', 23], right:['rightarrowclass', baseDir + 'modules/blockcategories/right.gif']},

Now Marghoob if you are reading this I need you to help me with a bug. This menu system doesn't render correctly in Firefox 3.5. Between the end of the ddsmoothmenu block and block_footer.gif there is a 3 pixel gap. This doesn't happen on IE.

Also I would like to verify the bug reported by "DJ-Terror" at the bottom of page 2. The bug is, I quote:

"All works fine until ot comes to 2nd level of subcategories, than it dont show them (they appear empty) untill mouseover."

I can confirm this also happens with IE6. However I don't think it's Marghoob's fault as it happens on the ddsmoothmenu home page at:

http://www.dynamicdrive.com/dynamicindex1/ddsmoothmenu.htm

I have reported the bug here:

http://www.dynamicdrive.com/forums/showthread.php?t=49806

Cam.

1 more fix, only 1 left

Think I have fixed the Firefox rendering issue. After a little digging it seems Firefox doesn't render inline-blocks correctly. And after a little experimenting I have found that changing line 10 of ddsmoothmenu.css from

display:inline-block;

To

display:table;

Works a treat. I have however only tried in FF 3.5 and IE 6, I am certainly no CSS expert so you would be wise to try this in other browsers.

Now if dynamicdrive can fix the other prob we are good as gold !

After upgrade to 1.2.4

'Old' products are working allright.
New products submitted after upgrade to 1.2.4 heve empty image on top or over the menu, only categories with sub categories.
Seems as if the right image is not found as an overlay.

Clicking on the questiomark image (missing image) it tells me that the name of the directorie is placed between the domainname and the module directorie :
http://www.evvi.nl/sirelli-scooters/modules/blockcategories/right.gif
instead of :
http://www.evvi.nl/modules/blockcategories/right.gif

Links to working and not working products via pm available

WebbY.

Not working

Oct 11th 2009
Not working on 1.2.4 either. Displays a drop down menu but the expand to the right doesn't work at all.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated.