Jump to content

(Solved) categories block is disappear


Recommended Posts

Hi All,

I have a problem with authentication.php. I am desinging to new site to my client. but i have a little problem. when I click to My account link, try to login or create new account my categories block is disappear. I could not find to why.. some one can tell me why this thing is happining. after login my account as a customer category block is ok..

Info: prestashop version 1.2.4
link: http://www.macmarketi.com/

all comments are welcome.


regards.


Ugur Onur

19304_JWf5PMSjZ5motTtDNbt9_t

Link to comment
Share on other sites

  • 2 weeks later...

Hello I get exactly the same problem and in almost the same module configuration.
Actually I could'nt really explain why but I found a "how" (it looks a repeatable bug here ;))

The only solution I've found is to put search block under the category bloc. and tadaaa the categories are back...

Link to comment
Share on other sites

This is caused by a javascript error, when you moved the search block from the top hook, you also removed it from the header hook, and since there is a javascript file that is needed by the search module and is not found, a javascript error is happening, which in turn stops any other javascript code from running.

To fix this, just hook the search module back in the "Header" (not Top) and it should take care of the error, and show the categories just fine.

if you place the search below the categories, than the javascript error will happen after the categories are loaded, so they will be visible, but it can cause similar issues for other modules, and also the auto complete feature won't work in the search box.

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...