Jump to content

Move module from another template


Recommended Posts

Hi guys, this is my fist post here.

I've a problem:

I bought two prestasthop theme powered by leo.

Now for a necessity of my customer i choose one template:

Template A.

When he see the Template's B slider he asked if i can change it.

I try to zip the content of modules locate in root_page_of_Template_B/modules and install it through the backoffice of Template A and also copied the content of :

root_page_of_Template_B/themes/name_of_template_b/name_of_modules

root_page_of_Template_B/themes/name_of_template_b/css/name_of_modules

in the same directory in template_A.

the module is not displayed well.
I've forget any passage.
 
thank you very much for any help and sorry for my english.
 
Link to comment
Share on other sites

in this case you have to copy only this module directory.

Moreover, you need to customize it probably (position change in modules>positions) and also its css styles

 

if it is possible - share url to your website, it will be much easier to say what you have to change

Link to comment
Share on other sites

Hi vekia, thank you very much for you reply.

Then,

Template A is mediawavestore.masterweblab.com

Template B is shop.ceramichelia.com

 

this is two tests area.

In local i try to migrate slider from Template B to Template A overriding default prestashop's slider.

it seems that can not load js script to start gallery.

when i go to home attach a screen of my local test area.

Link to comment
Share on other sites

I can see the slider on shop.ceramichelia.com

As vekia adviced, you may need to change the hook of the Slider module. I guess that theme on ceramichelia is using displayTop hook and for ediawavestore.masterweblab.com you may need to change it to displayHome. You should verify this in Modules > Positions, check if the Slider module on ceramichelia is hooked in displayTop. On ediawavestore.masterweblab.com you can try to transplant the module to displayHome section from Prestahop administration (modules > positions). In case this transplantation is not supported by the module, you will have to edit php file of the module and change the hook name (it should be twice in the code). You will probably need to modify the CSS files as well to position the module correctly in theme or change it's size.

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

Can you screen your desktop on shop.ceramichelia.com?

 

@vekia yes, i moved correct module and hook it on homepage content.

when i hook it at shop.ceramichelia.com, it work correctly.

now i try to move my change online so you can see that.

 

@webplus

leobtslider support homepage content hook, i've tried on my local area.

 

sorry for my english, probably I am not clear. 

In the afternoon I put the photos :D

thank you so much

Link to comment
Share on other sites

hi guys,

in first attach you can see ceramichelia's slider.

now in local test area of mediawavestore i've the situation illustred at second,third and fourth attachments.

i repeat that it seems that cannot load js. 

really?

 


hi guys,

in first attach you can see ceramichelia's slider.

now in local test area of mediawavestore i've the situation illustred at second,third and fourth attachments.

i repeat that it seems that cannot load js. 

really?

 

post-628381-0-63825200-1378753872_thumb.jpg

post-628381-0-24808000-1378754020_thumb.jpg

post-628381-0-64518400-1378754022_thumb.jpg

post-628381-0-12875100-1378754025_thumb.jpg

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