Loading ...

Content List - Icon LIst template | Communifire Support

Home » Spaces » Communifire Support » forum » Features and Functionality » Content List - Icon LIst template
Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Add a new tab

Add a hyperlink to the space navigation. You can link to internal or external web pages. Enter the Tab name and Tab URL. Upload or choose an icon. Then click Save.

The name that will appear in the space navigation.
The url can point to an internal or external web page.
Login to follow, share, and participate in this space.
Don’t have a support community login?Create your account now
Posted in: Features and Functionality

Content List - Icon LIst template

Subscribe to RSS
  • cbunts

    Hello,

    I am trying to add a footer to the below HTML in a new template.  I am not receiving either the ContentURL or the SpaceUL.  Any ideas?

    <div class="axero-widget axero-widget-entity-icon-list {{CustomCSSClass}} {{#if HideContainerBorder}}axero-widget-no-border{{/if}}">
        {{#if ShowWidgetHeader}}
        <div class="axero-widget-header">
            <h3>{{{WidgetTitle}}}</h3>
        </div>
        {{/if}}
        <div class="axero-widget-content axero-widget-content-padded">
            <ul>
           
                {{#each Contents}}
                <li>
                    <div class="entity-icon">
               <i class="{{EntityIconCssClass}}"></i>
        </div>
                    <div class="entity-title">
                        <a title="{{{Title}}}" href="{{ContentURL}}">{{{Title}}}</a>
                    </div>
                </li>
                {{/each}}
               
            </ul>
        </div>
        {{#if ShowWidgetFooter}}
        <div class="axero-widget-footer">
             <a href="{{ContentURL}}/file">{{Resources.GlobalAllSmallText}} <i class="icon-plus-sign"></i></a>
        </div>
        {{/if}}
    </div>

  • nvstiers

    Hi Chris,

    Which page you are trying to link to in the footer?

  • nvstiers
    Answered

    If you are wanting the link to take the user to the files section of the space the widget is in you would want to use this mark up:

    <div class="axero-widget axero-widget-entity-icon-list {{CustomCSSClass}} {{#if HideContainerBorder}}axero-widget-no-border{{/if}}">
    {{#if ShowWidgetHeader}}
    <div class="axero-widget-header">
    <h3>{{{WidgetTitle}}}</h3>
    </div>
    {{/if}}
    <div class="axero-widget-content axero-widget-content-padded">
    <ul>

    {{#each Contents}}
    <li>
    <div class="entity-icon">
    <i class="{{EntityIconCssClass}}"></i>
    </div>
    <div class="entity-title">
    <a title="{{{Title}}}" href="{{ContentURL}}">{{{Title}}}</a>
    </div>
    </li>
    {{/each}}

    </ul>
    </div>
    {{#if ShowWidgetFooter}}
    <div class="axero-widget-footer">
    <a href="./files">{{Resources.GlobalAllSmallText}} <i class="icon-plus-sign"></i></a>
    </div>
    {{/if}}
    </div>

     

    You will also want to add: GlobalAllSmallText

    to the Resource Key field CSV of the template.

     

  • cbunts

    Thank you for the guidance.  It worked

Page 1 of 1 (4 items)