Categories

Featured templates

PrestaShop 1.6.x. How to set up slider and banners manually using source scripts

Charlotte Bennett September 29, 2015
Rating: 5.0/5. From 4 votes.
Please wait...

It often happens that after activation of your new theme you find the whole layout of the home page disordered. That is because the sample data wasn’t installed. But sometimes you cannot install it as you already have some data in your store, and using sample data will completely overwrite it.

In this tutorial we will show you how to set up slider and banners in your PrestaShop site with the help of source scripts without using sample data.

PrestaShop 1.6.x. How to set up slider and banners manually using source scripts

  1. The necessary files are located in the sources/custom_html folder of your template package.

    Note: the sources folder is usually zipped and password-protected. Check these tutorials for unzipping a template:

  2. The files are named after the modules they include scripts for. For example, “homeslider.html”, “themeconfigurator.html”, etc.

Setting the slider

  1. Access the “Image slider for your homepage” module in Modules->Modules (“Modules and Services” in PrestaShop 1.6.1) section of your admin panel.

  2. Input the slider width into the “Maximum image width” field. You can check the dimensions of your slides in the “theme/manual_install/your theme/modules/homeslider/images” folder of your template package:

    PrestaShop_1.6_How_to_set_up_the_slider_and_banners_maually_using_the_source_scripts_1

  3. You can either edit the default PrestaShop slides or remove them and add re-add them with correct images from “theme/manual_install/modules/homeslider/images” folder of your template package:

    PrestaShop_1.6_How_to_set_up_the_slider_and_banners_maually_using_the_source_scripts_2

  4. Paste the script from the “homeslider.html file into the “Description” field using the “Source code” feature, and press firstly the “Ok” then “Save” button to save the new slide:

    PrestaShop_1.6_How_to_set_up_the_slider_and_banners_maually_using_the_source_scripts_3

    PrestaShop_1.6_How_to_set_up_the_slider_and_banners_maually_using_the_source_scripts_4

  5. Check your site after clearing the browser cache.

  6. Perform the same procedure for other slides.

Setting the banners

  1. Usually the banners in PrestaShop (1.6 version) are added with the help of the “Theme Configurator” and the “TM HTML Content” module.

  2. The images for the banners are located in the “theme/manual_install/your theme/modules/themeconfigurator/img” and “theme/manual_install/your theme/modules/tmhtmlcontent/img” folders of your template package.

    Note: Mind that not all the PrestaShop templates include the “TM HTML Content” module, it depends on specific design.

  3. You may remove the existing default banners from the “Theme Configurator” module for more convenient work:

    PrestaShop_1.6_How_to_set_up_the_slider_and_banners_maually_using_the_source_scripts_5

  4. Press the “Add Item” button on the left, and fill in the necessary fields:

    • Select a correct hook for the banner.

    • Browse the image from “theme/manual_install/your theme/modules/themeconfigurator/img” folder or use your own image with the same dimensions to avoid layout issues.

    • Input the URL as the hovering style effects will not appear if you use no link.

    • Paste the code from the “themeconfigurator.html file into the HTML field.

    • Press the “Save” button.

    • Repeat the procedure with other banners:

      PrestaShop_1.6_How_to_set_up_the_slider_and_banners_maually_using_the_source_scripts_6

  5. Refresh the page and check your site frontend.

  6. The procedure of setting the “TM HTML Content” module is analogical to setting the “Theme Configurator”.

You may also need to set the “TM Media parallax module” to achieve the same look of your home page as the template demo.

We hope the tutorial was useful for you. Feel free to check the detailed video tutorial below:

PrestaShop 1.6.x. How to set up slider and banners manually using source scripts

Premium Prestashop Templates
This entry was posted in PrestaShop Tutorials and tagged banner, manually, Prestashop, set, slider. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket