Tweak Library
Note: We have updated our folder structure in Neto 6 and this has not been updated on all tweaks yet. More info.

Banners

A carousel of banners to promote certain areas of your business. This is included on the homepage of most themes, but your custom design may have it removed.

Industries

  • Fashion
  • Furniture & Homewares
  • Music & Instruments
  • Gifts
  • Toys & Games
  • Jewellery & Accessories
  • Food & Beverages

Wireframe

Banners

Coding Instructions

Step 1. Add the banner code to the home page

Open cms/home.template.html and paste the below code directly below the sidebar include ([%load_template file:'cms/includes/sidebar.template.html'/%]):

[%advert type:'text' template:'carousel' limit:'10' ad_group:''%]
    [%param *header%]
        <div id="homepageCarousel" class="carousel slide">
            [%if [@total_showing@] > 1%]
                <ol class="carousel-indicators">
                    [%site_value id:'counter' type:'load'/%]
                </ol>
            [%/if%]
            <div class="carousel-inner">
    [%/param%]
    [%param *footer%]
            </div>
            [%if [@total_showing@] > 1%]
                <a class="left carousel-control" href="#homepageCarousel" data-slide="prev">
                    <span class="fa fa-chevron-left"></span>
                </a>
                <a class="right carousel-control" href="#homepageCarousel" data-slide="next">
                    <span class="fa fa-chevron-right"></span>
                </a>
            [%/if%]
        </div>
    [%/param%]
    [%param *ifempty%]
        <a class="neto-placeholder neto-placeholder-rotator btn-loads" data-loading-text="<i class='fa fa-spinner fa-spin' style='font-size: 14px'></i>" href="[@config:home_url@]/_cpanel?item=adw&page=view&id=New&plan_id=1">
            Click to add a banner<br/>
        </a>
    [%/param%]
[%/advert%]

Notes On The Above Code

This advert code uses an empty advert group, which means that all adverts which aren't assigned to a specific advert group will show. It also uses the carousel template, so that if multiple adverts are uploaded, they'll scroll through.

Final Result

Multi-Item Add

Download Files

Download Files


1 related articles found: