We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7527
    • 437 Posts
    I am currently using the A-Z snippet to display the pages on my website in an 'A-Z Search'. What I am looking to now achieve is a page with all results listed. The idea is that each page is represented by a picture (I already have this set as TV's) and a title and introtext, a bit like this:

    http://www.arkive.org/species/

    I already have a similar thing set up for my normal search, and using Ajaxsearch and a ranking variable it displays the results as needed. I was wondering if I could achieve the A-Z version with Ditto. Maybe a call that looks for pages and displays them alphabetically and paginated? Does anyone know if this is possible? Obviously the pictures would need strict sizes so as all appear the same height and width. [ed. note: distant_smile last edited this post 13 years, 4 months ago.]
      www.PawsForWildlife.co.uk
      www.Borntobrick.co.uk
      • 7527
      • 437 Posts
      Solved it. With a call as follows:

       [!Ditto? &parents=`1021` &tpl=`Dittosearch`!]


      and a chunk named Dittosearch containing this:

      <div class="grid3">  
      <img src="[[get_fck_thumb? &image=`[+Factfile+]`]]" alt="Factfile" width="100px" style="vertical-align:top; border:1px solid #98d8a1;"/>
       <b><a href="[~[+id+]~]">[+pagetitle+]</a></b>
      
      </div> 
        www.PawsForWildlife.co.uk
        www.Borntobrick.co.uk