V2_Tag_Cloud


{% set tagCloud = module('V2_Tag_Cloud', null, {
  bid: null,
  cid: null,
  eid: null,
  field: null,
  start: '1000-01-01 00:00:00',
  end: '9999-12-31 23:59:59'
}) %}

{% if tagCloud.items is not empty %}
  <div>
    {{ include('/admin/module/setting.twig', { moduleInfo: tagCloud.moduleInfo }) }}
    <ul class="acms-list-inline" aria-label="タグクラウド">
      {% for tag in tagCloud.items %}
        <li>
          <span class="acms-label acms-label-success tagSize{{ tag.level }}">
            <a href="{{ tag.url }}" title="{{ tag.amount }}件">#{{ tag.name }}</a>
          </span>
        </li>
      {% endfor %}
    </ul>
  </div>
{% endif %}