Jump to content

were is the ps_hook


Recommended Posts

Hello robchef, there are different ways to access your mysql database. Many hosting providers have access through myphpadmin. You should contact your hosting provider if you plan to edit your database. Also, make sure you back up all your data before playing around within that database! Thanks for choosing PrestaShop!

 

The first thing you should do is call your hosting provider, yeah?

Link to comment
Share on other sites

i put

 

self::$smarty->assign(array(

'HOOK_HEADER' => Module::hookExec('header'),

'HOOK_TOP' => Module::hookExec('top'),

'HOOK_LEFT_COLUMN' => Module::hookExec('leftColumn'),

'HOOK_NEWSLETTER' => Module::hookExec('Newsletter')

in my classes/frontcontroller.php

 

 

but were abouts do i put this in my cms.tpl

 

{if $cms->id == 8}

{$HOOK_NEWSLETTER}

{/if}

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

×
×
  • Create New...