Jump to content

Homeslider problem


Recommended Posts

Good morning, let's see if somebody could help me with this problem I have …

 

I moved the DisplayRightColumn under the Hook_Top, and there I inserted the Homeslider. I did it this way because I have a blog in Wordpress which uses the header and footer of my Prestashop 1.5.4.1 installation, and I don't want the home slider to be shown in my blog.

 

The problem is that, once I have the Homeslider placed in the Hook_Right (working perfectly), it also appears in the home page, not as a slide, but as a list (<ul> list). I made sure that it is only installed in the DisplayRightColum module position.

 

Find attached a screenshot of the slider as a list.

 

Thank you!

post-404490-0-10009600-1376645149_thumb.png

Link to comment
Share on other sites

Thank you very much for your support. Unfortunately, that wasn't the solution, but I already solve the problem. I'll report it just in case somebody needs it:

 

I moved the Homeslider module to the HOOK_TOP, and at the beggining of the homeslider.php file I wrote:

 

$dir = $_SERVER['PHP_SELF'];
if (strpos($dir,"/blog/")===false) {

... all file content ...

}

 

This way, whenever you access the blog directory, the homeslider won't be shown.

 

Thanks again! ;)

Link to comment
Share on other sites

×
×
  • Create New...