Jump to content

de6ir

Members
  • Posts

    6
  • Joined

  • Last visited

Profile Information

  • Activity
    Freelancer

de6ir's Achievements

Newbie

Newbie (1/14)

1

Reputation

  1. shacker's suggestion did the trick. Here are the steps I took to show the homeslider in all pages: - In \prestashop\themes\default-bootstrap\modules\homefeatured.tpl remove {if $page_name =='index'} and the closing {/if} tag at the end. - In \prestashop\modules\homeslider.php find the lines (there are two) if (!isset($this->context->controller->php_self) || $this->context->controller->php_self != 'index') and change them with if (!isset($this->context->controller->php_self) || $this->context->controller->php_self == 'index') That's all.
  2. There are two language buttons next to Label and Link fields. You can try to choose the language that you use in the front office before adding the custom link to the menu.
  3. I want to add a link to the header section that will take you to a random product page every time you click on it. Something like this: <a href="{shuffle products , take the href of the first item}">Random Product Link</a> Do you have any suggestions on how to do that in Prestashop 1.6 ?
  4. I've tried inserting the following lines into the product-list.tpl and removed the if statements in the homeslider.tpl files , but still the slider is not visible other than homepage. {include file="$tpl_dir./../../modules/homeslider/views/templates/hook/homeslider.tpl"} {include file="$tpl_dir./modules/homeslider/homeslider.tpl"}
  5. Adding homeslider.tpl file to ptoduct-list.tpl or to category.tpl didn't work.
  6. I want to show the homeslider on all pages. Right now it only appears on homepage. I've tried to delete the below statement in "modules/homeslider/vews/templates/hook/homeslider.tpl" and "themes/default-bootstrap/modules/homeslider/homeslider.tpl" {if $page_name =='index'}...{/if} but still the slider appears only on homepage. Is there a way to make it visible on all pages? Version: Prestashop 1.6
×
×
  • Create New...