Jump to content

move a module in different position


Recommended Posts

hi, im tring to move the slideshow from the main content to the header, link attached.

i want the right column below the slideshow.

the exactly position should be in those divs

		<div  id="leo-maincontainer">
							<div class="container">
							<div class="inner-wrap">
								<div class="row-fluid" > 
##IM THE SLIDESHOW I WANNA BE HERE##

im tring to edit header.tpl with something like

{include file="/modules/homeslider/homeslider.tpl"}

 

but i dont know the sintax of those PS script, could you help me?

post-748713-0-32178800-1393274689_thumb.gif

Edited by alfredopacino (see edit history)
Link to comment
Share on other sites

http://www.prestashop.com/forums/topic/302710-do-i-need-a-new-hook/

this is the pretty same issue, i thought i need a new hook and you said not :)

so how can i create a new hook? i searched a lot but i didnt solve this in 2 months :blink:

 

however, i dont know if i try to move the slideshow in displayHeader i get the error message "this module cannot be transplanted to this hook"

Edited by alfredopacino (see edit history)
Link to comment
Share on other sites

displayHeader hook option is not a good idea ;)

it's a part of shop where you have to include js/css files, not "visibile" content.

 

 

 

i thought i need a new hook and you said not

where i said that ? ;)

 

 

create new hook with this guide: http://www.prestashop.com/forums/topic/2182[spam-filter]create-custom-and-new-hook-in-ps-15/

 

attach your module to this hook (you have to create function inside module php file to support new hook)

 

then in your template file add your hook to place, where you want to display slider

Link to comment
Share on other sites

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...