Problems, need help? Have a tip or advice? Post it here.
2 posts Page 1 of 1
So, here we go!

I've set up a set of nested pages for each location of my client's operation, divided up by county. I'd originally done it in folders, but as each location is going to be sharing some common subpages I felt doing nested pages allowing for virtual links to the shared elements while still allowing for breadcrumbs/auto-generated menus would be pretty nice.

Anyway.

The issue is my list-view is showing all the locations, but not the picture of the location associated with the page. How do I access the elements of information on the page from the nested_page loop?

Code: Select all
<cms:nested_pages masterpage='branches.php' depth='1' >
         <div class="row">
            <cms:nested_pages masterpage="branches.php" childof=k_nestedpage_name depth='1' >
               <div class="col-md-3 thumbnail text-center">
                  <a href="<cms:show k_nestedpage_link />"><img style="height: 150px;" src="<cms:show branch_image />">
                     <div class="caption"><cms:show k_nestedpage_title /></div>
                  </a>
               </div>
            </cms:nested_pages>
         </div>   
      </cms:nested_pages>
Solved it - found the "include_custom_fields" parameter in the documentation.
2 posts Page 1 of 1
cron