Jump to content

$page_name for custom page


Rahvin

Recommended Posts

Hello,

 

I have added some custom pages to my shop. I have put the *.php-files in the root directory and the *.tpl-files in my current theme folder. Then I've added corresponding links in the blocktopmenue.php.

 

So far this solution is working and my custom pages are shown. The problem is, that the body-id in header.tpl is always set to pagenotfound.

 

How can I set $page_name to have the name of my custom page? I'm using PrestaShop 1.5.3.

 

Many thanks in advance.

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