Last active
July 4, 2021 17:35
-
-
Save iftee/cb564d26cf03ba6c8330 to your computer and use it in GitHub Desktop.
PrestaShop Custom Page without CMS - Custom Page File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Create a custom page in PrestaShop without CMS - Custom Page File | |
* Read the detailed tutorial at https://www.linkedin.com/pulse/prestashop-how-create-custom-page-without-cms-iftakhar-hasan/ | |
*/ | |
include(dirname(__FILE__).'/config/config.inc.php'); | |
Tools::displayFileAsDeprecated(); | |
include(dirname(__FILE__).'/header.php'); | |
$smarty->display(_PS_THEME_DIR_.'custom-page.tpl'); | |
include(dirname(__FILE__).'/footer.php'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Nothing is working for me. i followed the same method which is mentioned in the following blog,
but i am not able to open my page, with the following url [xyz.com/index.php?page=custom-page], please help me, what can be the cause??