Create a template for the Content List Widget that displays the full content body right on a Page Builder page. Save people a click and give them everything they need to know right on the page.
<div class="axero-widget axero-widget-content-list-with-body {{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"> {{#each Contents}} <div class="item"> <div><a title="{{{Title}}}" href="{{ContentURL}}">{{{Title}}}</a></div> <div id="content-body-{{ContentID}}"></div> <script> var xhttp = new XMLHttpRequest(); xhttp.open("GET", "/api/content/{{ContentID}}", false); xhttp.setRequestHeader("Content-type", "application/json"); xhttp.send(); var response = JSON.parse(xhttp.responseText); var contentHTML = response.ResponseData.ContentBody; var contentBodySection = document.getElementById("content-body-{{ContentID}}"); contentBodySection.innerHTML = contentHTML; </script> </div> {{/each}} </div> {{#if ShowWidgetFooter}} <div class="axero-widget-footer"> </div> {{/if}} </div>
/*Style for Content List with Body template*/ .axero-widget-content-list-with-body div.item { list-style: none; margin: 0; padding: 15px; border-bottom: solid 1px #efefef; } .axero-widget-content-list-with-body div.item:last-child { border-bottom: none; }
is requesting access to a wiki that you have locked: https://my.axerosolutions.com/spaces/5/communifire-documentation/wiki/view/25638/content-list-with-body-template?locale=en-US%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1%2525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252525252f1
Your session has expired. You are being logged out.