Jump to content

How to create a new page in front end


Recommended Posts

Hi Vekia,,

 

 

When I install the testmodule and configure it, It is showing Exception

 

[PrestaShopException]

 

Method of module can't be found

at line 594 in file controllers/admin/AdminModulesController.php

 

588. $echo = '';

589. if ($key != 'update')

590. {

591. // We check if method of module exists

592. if (!method_exists($module, $method))

593. throw new PrestaShopException('Method of module can\'t be found');

594.

595. // Get the return value of current method

596. $echo = $module->{$method}();

597. }

598.

 

Please help. Also provide allproducts.php file because it is also not working on front-end.

When I try to access www.mydomain.com/index.php?fc=module&module=testmodule&controller=allproducts

it is showing 404 error.

Link to comment
Share on other sites

  • 6 months later...

 

What If I'd like to create a new page, which has its parameters hide in the url. such as

 

http://xxx.com/module/ moduleName / controllerName / itemId.

 

 

I want to create several piece of content about my products and website, like a small blog. Could you give me some advices? Thank you in advance.

Edited by JasonWang (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...