Jump to content

How To Looping Multiple Dynamic Item On Module.tpl File On Prestashop Module Developement


SOAMJENA

Recommended Posts

Dear Sir,

 

 I want to repeat below li item through looping on module.tpl file where below bold and italic part are two dynamic varibale item which come through module parameter area (Both parameters contain comma separated string).

 

 I want to explode that (Comma Separated String) on module.php file and loop it on module.tpl file.

 

<li><a href="#cubeRandom"><img src="images/example/002.jpg" class="cubeRandom" /></a>

<div class="label_text">

<p>cubeRandom</p>

</div>

</li>

Can you Please help me to achieve that.

 

I am able to looping one dynamic varible.But in case of two (which have to loop simultaneously) I m failed.

 

Please advice...

 

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