José Fernández Posted February 7, 2013 Share Posted February 7, 2013 Hi there, I have developed an example module as detailed here: http://doc.prestasho...estaShop+module Everything works fine until I create the mymodule_page.php wich seems to be no indexed. When I click in the "Click here!" link in the front end, it drives me to a 404 page. It doesn't matter what the content of the file is, prestashop doesn't find the mymodule_page.php page. When I change the file extension (i.e. test.html instead of mymodule_page.php) and I change the "href" attribute in the mymodule.tpl pointing to "test.html", everything works fine. Hope everything is clear. Sorry if this is a newbie question. :-) Link to comment Share on other sites More sharing options...
be_tnt Posted February 8, 2013 Share Posted February 8, 2013 hello!, Is your php class named as the module name? Link to comment Share on other sites More sharing options...
José Fernández Posted February 11, 2013 Author Share Posted February 11, 2013 Yes it is. I have installed a local prestashop and it is actually working... weird. Link to comment Share on other sites More sharing options...
PascalVG Posted February 11, 2013 Share Posted February 11, 2013 (edited) Does it work if you change test.html into test.php? (also double check you used the same CapiTAlisatiOn of your file name and reference to it. Should be all small letters. I expect you did already, though...). If you hover over the Click me link, is the link URL really pointing to the location of the real file? Edited February 11, 2013 by PascalVG (see edit history) Link to comment Share on other sites More sharing options...
José Fernández Posted February 12, 2013 Author Share Posted February 12, 2013 Yes Pascal, I already checked all that issues. It doesn't work when I change from test.html to test.php. Anyway, we are changing the server so I will check if it works at the new one. :-) Link to comment Share on other sites More sharing options...
PascalVG Posted February 12, 2013 Share Posted February 12, 2013 Keep us informed... Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now