You can also create your own .tpl file (located in your theme directory), where you can insert your own HTML tags, and create a .php page (at the root of your shop) which will call the .tpl file.
Here is an example:
First, your_page.php:
<?php
include(dirname(FILE).’/config/config.inc.php’);
include(dirname(FILE).’/header.php’);
$smarty->display(PS_THEME_DIR.’your_page.tpl’);
include(dirname(FILE).’/footer.php’);
?>
With that, your_page.tpl contains your HTML code.
No comments:
Post a Comment