Loading...
 
Features / Usability

Features / Usability


Display Template Page in Pretty Tracker Display

posts: 758 United States

Good day folks, I have been working on a way to display files in a page created by tracker submission, each file will have its own page with description of the file/image, source info, attribution info, and copyright info.

I would like our users to be able to select a copyright from a drop down menu or radials, and the selected copyright is displayed on the file image page.
For an example of what I am talking about, Mediawiki has templates that display copyright information, please see on image with copyright information below the image.
https://commons.wikimedia.org/wiki/File:Parantica_aglea_at_Nayikayam_Thattu.jpg
You'll see a Creative Commons copyright notice displayed that is a template in Wikipedia.

I currently have one template page created for a test at https://thepatriotwoodwiki.org/CC-BY-SA-4.0.tpl

I would create more copyright pages for insertion to a file image page. And ideally have a drop down selector during tracker item creation to choose the copyright that applies. Then that copyright is displayed.

What tracker feature would I choose that would invoke the copyright to display on the page created?
Thanks for any help.

posts: 2428 Czech Republic

Hi John,
I think you could simply check for the value of the dropdown selector field in the template page like:

Copy to clipboard
{if $f_123 eq "0"} Display Public Domain here {elseif $f_123 eq "1"} Display CC-BY-SA here {else} Display some other license here {/if}


luci


posts: 1 Iran
hi John Morris, thanks for sharing....

posts: 758 United States
Thank you for the feedback gents, I'll give it a try!

Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting