Jump to content

Using Image Mapping for "Home" category


Psysub

Recommended Posts

Hi there,
I would like to be able to add the checkbox for selecting the "home" category when using Image Mapping. This is a topic that has been brought up and discussed before HERE However, I have added the lines of code as stated:

$smarty->assign('scenes', Scene::getScenes(1, intval($cookie->id_lang), true, false));


in the root index.php before $smarty->display:

and

{if $scenes}
   <!-- Scenes -->
   {include file=$tpl_dir./scenes.tpl scenes=$scenes}
{/if} 


in index.tpl of my theme directory (which only had a hook home tag in it and nothing else strangely)

as well as

$css_files = array(__PS_BASE_URI__.'css/jquery.cluetip.css' => 'all', _THEME_CSS_DIR_.'scenes.css' => 'all');



in index.php in between

if(intval(Configuration::get('PS_REWRITING_SETTINGS')) === 1)
   $rewrited_url = __PS_BASE_URI__;



and

include(dirname(__FILE__).'/header.php');



I noticed that the code on this thread was meant for ver 1.3 and I have 1.4. Also, it was stated in the bug tracker that this problem would be fixed in the next version.

Any help is appreciated.

  • Like 1
Link to comment
Share on other sites

  • 5 months later...

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...