Please enable JavaScript to use file uploader.
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
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> :
</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}}
Thank you Grace. This was a new feature that I have not tried.
Choose a location
Forum :