Album-based content using a gallery image as a thumbnail
Jump to navigation
Jump to search
Overview[edit]
An album-based content class, where its thumbnail record is a pointer to one of the image link records its the gallery.
PHP class structure[edit]
[MyContentClass] extends album_class | +- $site_section:site_section_class | | | +- $gallery_thumbnail:boolean_checkbox_input_class | | | | | +- value=true | | | +- [...] | +- $gallery:gallery_class | | | +- $tn:image_link_class | | | +- [...] | +- [...]
Logic[edit]
Creating a new thumbnail[edit]
- Add New from CMS
- URL:
/content_root/edit.php - Content templates:
/content_root/_templates/forms/edit_template.php- include
(CMS_COMMON_TEMPLATE_DIR."forms/images/select_thumbnail_link_container.php");
- URL: