HubDb Filter


<div class="row-fluid"> 
  {% set types = hubdb_table_column(847400, "tag").options %}
  <ul class="tag_list resources-tags">
    <li value="all"><a href="javascript:void(0)">All</a></li>
    {% for choice in types %}
      {% set tag_list = tag_list~choice.id|list%}
      {% if choice.id == request.query_dict.tag%}
        <li><a href="#{{ choice.id }}">{{ choice.name }}</a></li>
      {% else %}
    <li><a href="#{{ choice.id }}">{{ choice.name }}</a></li>
      {% endif %}
    {% endfor %}
  </ul>
</div>



Comments

Popular posts from this blog

Pagination of multiple recent post blog

Service Filter

When You Want to open popup(first time load)