Jump to content

create 2 main pages in one module, accessible via URL


Recommended Posts

Hi

 

I just start using Prestashop this week. I installed prestashop 1.4.7 version in a server.

 

I create a new module (called mymodule) and a function hookHome inside to redirect to the page called firstpage.tpl with mydomain.com/myshop/

 

Now I create another page called newpage.php in mymodule. I tried to go to this page with mydomain.com/myshop/modules/mymodule/newpage.php

 

but it does not work. How can I access to this page on the browser?

 

Another question, how can I change URL of the first page from mydomain.com/myshop/ to mydomain.com/myshop/firstpage ?

 

Please help me I have to deliver this shop next week.

 

Thanks,

Netty

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