Jump to content

Products on CMS Page


learning1983

Recommended Posts

Yes i know, i have found similar topic like mine at this link: http://www.prestashop.com/forums/topic/166142-featured-products-inside-a-cms-page/ and also asked there:

 

 

cms.tpl
<div class="rte{if $content_only} content_only{/if}">
{$cms->content}
{if $cms->id == 8}
{$HOOK_HOME}
{/if}

</div>

CMSController.php
public function displayContent()
{
parent::displayContent();
self::$smarty->assign('HOOK_HOME', Module::hookExec('home'));
self::$smarty->display(_PS_THEME_DIR_.'cms.tpl'); 

}

 

is this tutorial suitable for 1.6 version?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...