Jump to content

Duplicate installed module


probizz

Recommended Posts

Hi,

I want to use a module in different positions for normal and mobile version.

I couldnt find a way ( might be im wrong) and I think to duplicate existing module and will use each for different version of site. How is that possible?

 

 

Link to comment
Share on other sites

Hi,

I want to use a module in different positions for normal and mobile version.

I couldnt find a way ( might be im wrong) and I think to duplicate existing module and will use each for different version of site. How is that possible?

 

to what module you're reffering?

duplication of some addons is not so easy as it seems

Link to comment
Share on other sites

you're reffering to default blocklanguages module?

what module version you use and what is your prestashop version?

as i understand you need separate modules for:

- mobile view

- tablet view

- desktop (PC) view 

 

right?

 

I have Prestashop 1.6.0.9 and default blocklanguages module ( v 1.3.1)

Yes, I wanted for mobile version to show on Top navigation and for PC version on top menu. 

 

90% I already done. What i did is cloned the module folder, and changed name of folder and .tpl, css and .php files (to be exactly the same, for ex blocklanguage1). Also in .css, I changed the strings, so the design of each to stay separetly. And installed as new module.

 

What left is to arrange template with dispNav position, but this is not related actually to the initial question.

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

×
×
  • Create New...