Jump to content

tbamy

Members
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • First Name
    Test
  • Last Name
    test

tbamy's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I think it's not the width I have to change. I just want to split some columns because they are too long, so maybe it has to do with the height? I tried, but nothing changed.
  2. Hi, I know this is an old post but it describes exactly what I want to do. I have some subcategories with many sub-sub-categories and I want to split a column into 2-3 columns. I tried to modify the css as you said but I can't find this code line, maybe because I use prestashop 1.6 and it's different. Any suggestions on how to do it? If it's possible with just some css modifications I would prefer that than changing the module code.
  3. @Nemo1: I followed the steps I found here: http://prestatips.info/adding-new-hook-prestashop/ First I inserted a new entry in ps_hook table. Then I created a file named CategoryController.php in the override/controllers/first folder, which contains the following code: class CategoryController extends CategoryControllerCore { /** * @see CategoryControllerCore::initContent() */ public function initContent() { parent::initContent(); $this->context->smarty->assign( 'HOOK_CATEGORY_TOP', Hook::exec('displayCategoryTop') ); } } And finally I added the following code in the themes/default/category.tpl {if $HOOK_CATEGORY_TOP} <div class="hook_category_top"> {$HOOK_CATEGORY_TOP} </div> {/if} Is anything wrong here?
  4. Hi, I just created a shop choosing the cloud option and I would like to ask if there is a way to access the database. Thanks
×
×
  • Create New...