arslantabassum Posted June 27, 2014 Share Posted June 27, 2014 (edited) What i have Done:Modification: Path: prestashop16/themes/default-bootstrap Find {$HOOK_CUSTOMER_ACCOUNT} Add After <li><a href="{$link->getPageLink('parcelmix', true)|escape:'html':'UTF-8'}" title="Parcelmix"><i class="icon-wrench "></i><span>Parcemix Configutrations</span></a></li> New Files File: Parcelmix.tpl Path: prestashop16/themes/default-bootstrap/ File: ParcelmixController.php Path: prestashop16/controllers/front/ Preferences->seo Ulrs ->add New Page: parcelmix Page Title: Parcelmix Configuration Rewrite Url: parcelmix-configurationError occurs & solved: http://www.prestashop.com/forums/topic/340269-solved-error-when-adding-new-controller/?do=findComment&comment=1716543Now i am not getting page display....Which to die(); e.g controller or some other file for checking ? Edited June 27, 2014 by arslantabassum (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 27, 2014 Share Posted June 27, 2014 Now i am not getting page display....Which to die(); e.g controller or some other file for checking ? hello so what you see instead of page? 1 Link to comment Share on other sites More sharing options...
arslantabassum Posted June 27, 2014 Author Share Posted June 27, 2014 hello so what you see instead of page? sorry it's where to die()? i'm getting blank page, instead i have page with form. Link to comment Share on other sites More sharing options...
arslantabassum Posted June 27, 2014 Author Share Posted June 27, 2014 (edited) Thanks Vekia and Nemo1 For Reading My Problem..I missed initContent function in my controller that's why it's not displaying....Now i add this function in my controller and Working fine.....File: ParcelmixController.php public function initContent() { parent::initContent(); $this->setTemplate(_PS_THEME_DIR_.'parcelmix.tpl'); } Edited June 27, 2014 by arslantabassum (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts