Jump to content

Change "Image Slider For Your Homepage" Module to be visible on every page ?

Recommended Posts

Hi all,

I'm running Prestashop (Default bootstrap) and my "Image Slider For Your Homepage"-module only shows on my homepage, as it is supposed to I guess.

Any idea on how I could permanently show it on every page ?


Share this post

Link to post
Share on other sites

It is called for Homepage because it is design to show there only.

But you can add in the module's class, a new custom hook (reinstall the module or manually add the hook in PS), then add that hook on every page you want the slider displayed.

  • Like 1

Share this post

Link to post
Share on other sites

I am novice with prestashop

Can you explain me better how to add "Image Slider For Your Homepage" in  every pages?

Many thanks

Share this post

Link to post
Share on other sites

@apelisseti :

You'll find the information spread on forum, just search for it.

Basically, this means to override the module's class by adding a public function hookDisplayTop which returns the hookDisplayHome one from the class.

Then simply reset and configure the module in BO and add it to the DisplayTop hook.

If you do not add the new hook in the class install function then you need to add the hook manually to PS DB.

If these pointers are not clear enough for you maybe you shouldn't do this, it'll mean you lack the basic programming skill, just read more first.

Edited by Rho_Bur (see edit history)

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More