Project

General

Profile

Actions

Feature proposal #7155

closed

Implement type specific templates

Added by krileon over 7 years ago. Updated 26 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
16 May 2018
Due date:
% Done:

100%

Estimated time:

Description

Currently if a gallery only has videos for example it still shows the photo like container boxes. However, for videos it should just be a string of videos 1 after another (see GJ Videos). For music it should be a nice playlist and for files should just be a table of data. The gallery should pick the template structure to use based off the types being displayed. If the gallery only has files then show the file tab. If it's mixed fallback to container boxes.

Actions #1

Updated by krileon about 7 years ago

These should just be separate templates that Admins can then select the template relevant to the galleries intended usage. No need to force them.

Actions #2

Updated by krileon 10 months ago

  • Target version changed from 4.0.0 to 3.0.0
Actions #3

Updated by krileon 8 months ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Media is routed to a media.php template file, which then routes to type specific (e.g. video.php). This will allow for per-type handling. Per-gallery templating is also available now.

Actions #4

Updated by krileon 26 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF