Tweak Library

Brand Menu

A "brands" menu, which shows all of your brands, as a text list.

Industries

  • Fashion
  • Computers & Electronics
  • Fitness & Supplements
  • Health & Beauty
  • Alcohol
  • Jewellery & Accessories

Wireframe

Review Stars

Coding Instructions

Step 1. Add the menu

Open cms/includes/sidebar.template.html and add the below code directly below the closing [%/cache%] tag underneath [%/categorymenu%]:

[%cache type:'menu' id:'brands_menu'%]
    [%list type:'content' filter:'content_type=brand' sort:'sortorder'%]
        [%param header%]
            <div class="panel panel-default hidden-xs">
                <div class="panel-heading">
                    <h3 class="panel-title">Brands</h3>
                </div>
                <ul class="list-group">
        [%/PARAM%]
        [%param *body%]
                    <li><a href="[@url@]" class="list-group-item">[@content_name@]</a></li>
        [%/param%]
        [%param footer%]
                </ul>
            </div>
        [%/param%]
    [%/list%]
[%/cache%]

Final Result

Download Files

Download Files

Was this article useful?

Be notified when this page is updated. Optional.