Jump to content

[solved] How to call right column content to center column?


Recommended Posts

Suppose I want to show new product from right to center column then...

 

I will go to its module folder and then will open its php file i.e. blocknewproducts.php

 

here i can see

 

public function hookRightColumn($params){
// functions code do not change this code
}

 

no need to change any code i will just copy and paste above code just below it.

 

public function hookRightColumn($params){

// functions code do not change this code

}

Now i will change the name of pasted function as hookDisplayHome($params)

 

So now the code will be

public function hookDisplayHome($params){

// functions code do not change this code

}

 

File changes are completed. Now I will make some changes in position setting from admin panel to see the effect.

 

Now I will go to admin panel and position and new product then transplant a module

then i will select displayHome

save.

 

Now the right column content will be visible in center column.

Edited by rajesh.yadav (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...