Jump to content

Home Text Editor Module on Left/right column


Reza-sony

Recommended Posts

Add the following before the last } in modules/editorial/editorial.php:

function hookLeftColumn($params)
{
  return $this->hookHome($params);
}

function hookRightColumn($params)
{
  return $this->hookHome($params);
}



You should then be able to hook the "Home text editor" into the left or right column.

Link to comment
Share on other sites

  • 4 months later...
  • 2 months later...

Hi All iam new to Prestashop and using version 1.4.1. Now i have a problem thing is i have added 2 extra fields inside HOME TEXT EDITOR module editorial.php and created new DB table. Now i need to insert the data which user has entered in my Home Text Editor Interface to my table it is simple insertion i need and am unable to process it. Can any one pls help me in doing this in which file exactly i need to write the insert code and steps to do that ........

Link to comment
Share on other sites

  • 2 years later...

it's probably because you use wrong code or because code you use isn't compatibile with your prestashop version.

code above is based on 1.4.x - what ps version you use?

 

 

in addition, there are several modules to create own content in left/right columns like html block free or contentbox

these modules works similar to home text editor.

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