Jump to content

How to make a copy of block homefeatured work ?


Recommended Posts

Now I have 2 modules homefeatured and homefeatured2 , I just want to make homefeatured2 work like a real module that I can modify img , css style blah blah... , I mean I have module homefeatured for showing all product of men fashion and women fashion , But How can I make homefeatured2 show all product of women fashion ? And module homefeatured just shows product of men fashion ?
Please do me a favor !

Link to comment
Share on other sites

Take a copy of homefeatured as homefeatured2
then go to homefeatured2 dir
rename homefeatured.php in homefeatured2 to homefeatured2.php
also rename class HomeFeatured extends Module in homefeatured2.php as HomeFeatured2

Link to comment
Share on other sites

Dear [email protected] . Thanks for your help , I made 2 copy of homefeatured as homefeatured2 , Ok , Now I have 2 mod , homefeatured and homefeatured2 , I mean how I can make homefeatured2 show one kind of product and homefeatured shows another kind of product , best regards .

Ex: I have a shop which contain men's product and women's product , Now if I install two modules ,homefeatured and homefeatured2 , they're gonna show the same thing ( men's product and women's product ) , I just want to make homefeatured show men's product , homefeatured2 for women's product :) . Here's my problem , please answer as soon as possible . Thanks !

Link to comment
Share on other sites

×
×
  • Create New...