Skip to content

PageListThumbs

Roland Toth Pal edited this page Oct 28, 2019 · 2 revisions

Pagelist thumbnails

Add thumbnails to the main pagelist. Clicking on the thumbnail goes directly to the edit page screen (instead expand/collapse).

  • Style: appearance of the thumbnail image (circle, square or default rectangle)
  • Source: list of "fieldname: selector" pairs to set which page field to use for the thumbnail and what condition has the page meet to show it. The first matching field-selector pair will be used. If there's no match, no thumbnail will be displayed. You can comment out items by adding "//" to the beginning of the lines, these will be skipped. If a multi-image field is supplied, its first image will be used.

Example:

featured_image: template=wine|basic-page, children.count=0, parent!=1
featured_image: parent=1018
hero_image

This example will use image field "featured_image" for pages using "wine" and "basic-page" templates that has no child pages and which parent is not "Home". The second line also uses "featured_image" field, but for pages having the page with id of 1018 as parent. The third line uses no selector (filter), so any pages not matching the first two lines will use the "hero_image" field for thumbnail. Pages having no "hero_image" field or there's no image uploaded will show no thumbnail.

Settings

  • Align thumbs to right: place thumbnails to the right of the pagelist

Tip: to use smaller thumbs, set "Use narrow pagelist rows" (RenoTweaks). The Default theme always gets the smaller thumb size (32px vs 48px).

Right-aligned pagelist thumbs (with narrow pagelist rows ON):

PageListThumbs

Clone this wiki locally