Jump to content

How do I create simple module from already existing PHP script that will display on the main column


Recommended Posts

I have already working guestbook script, which I'd like to add to my prestashop on a separate page. The problem is, that I can't find where to place it.

I've browsed through a lot of modules, but it looks like all of them are registering to either left or right column hook. What I need is to display the script in the middle column, which basically consists of only calling one or two methods that will render out the correct html.

I don't need to do anything with configuration or accessing the prestashop database, or even create a page in the administration. Basically the same thing I'm trying to achieve could be done using an iframe in a CMS page, where the iframe's url would link to the guestbook script, but that really doesn't seem like a clean solution to me.

Is there any simple way to make a separate php script display on the "main" center column?

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