Loading ...

View More Footer | Communifire Support

Communifire Support

Leave Space :

Are you sure you want to leave this space?

Join this space:

Join this space?

Edit navigation item

Required The name that will appear in the space navigation.
Required
Required
Required 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: Communifire API & Developers

View More Footer

Subscribe to RSS
  • Hello,

    I am looking for the field that is used to get the space name from the Spaces field in a content widget so the More Footer will select from there instead of the Details Space name

    The page builder template widget that I am trying to change is called Icon List Collapsable Test and the code shows ParentContentID for the directory.  I want to change that to what is defined in the widget:  

    <div class="axero-widget-footer">
    {{{FooterHTML}}}
    {{#each Contents}}
    <a class="small hide" href="./{{{EntityTypeText}}}s?directoryID={{ParentContentID}}">View More <i class="icon-chevron-right"></i></a>
    {{/each}}
    </div>

    Thank you for the help

  • Hi Chris,

    Could you clarify what you want to do? You want "View More" to link to the space selected in the widget?

    Grace

    Chris Bunts
    Chris Bunts
    Hi Grace,

    I am looking to use the space that is selected in the drop down in the widget itself. It seems to be using the space from the details portion of the page definition. For the example above, the View more link goes to TCPR Credit Department instead of of the space of Test Dealer from the drop down of the widget.
    4 days ago
  • Answered

    Hi Chris,

    Edit the widget and in the Advanced tab, check Show Footer. Then you should see a Footer tab. In the Footer tab, you can configure the View More link.

    For example, you can select Content List, the space, and File to make the View More link open the Files section of a specific space.

    Then in the template, add the following code before the last </div> :

    {{#if ShowWidgetFooter}}
    <div class="axero-widget-footer">
    {{{FooterHTML}}}
    </div>
    {{/if}}

    This code renders the View More link based on the options you selected in the Footer tab of the widget.

    You can remove this code from your template:

    {{#each Contents}}
    <a class="small hide" href="./{{{EntityTypeText}}}s?directoryID={{ParentContentID}}">View More <i class="icon-chevron-right"></i></a>
    {{/each}}

    Grace

  • Thank you Grace.  This was a new feature that I have not tried.

     

Page 1 of 1 (4 items)