Jump to content

How To Show Two Different Parts Of The Same .tpl In Two Different Points Of The Header.tpl?


Recommended Posts

Hi there,

 

I just started with prestashop.

 

PREMISE:

I have a module which .tpl is composed somehow like this:

<PART CODE 1>

<PART CODE 2>

 

PROBLEM:

In the header.tpl I'd like to hook the module .tpl code split in two, somehow like this:

 

<div id="a">

<PART CODE 1>

</div>

....

<div id="b">

<PART CODE 2>

</div>

 

QUESTION:

How can I do that? smarty {if isset($params)} could be an option?

 

Thanks in advance!

Edited by GiGam (see edit history)
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...