Loading...
 
Skip to main content

{toc} with max_depth, file access by name, show_image with random picture of a gallery

Status
Closed
Subject
{toc} with max_depth, file access by name, show_image with random picture of a gallery
Version
1.9.x
Category
  • Feature request
  • Patch
Feature
Wiki (page view, edit, history, rename, etc)
Image Gallery
File Gallery (elFinder or standard UI)
Resolution status
Works For Me
Submitted by
awolff
Volunteered to solve
awolff
Lastmod by
Marc Laporte
Rating
(0)
Description

I've added the following features to my tikiwiki 1-9-5:
1. added max_depth to
with I can limit the depth of the toc created. This is convenient if I only want to show the next level of subsections.

2. get a file by name via tiki-download_file
with galleryId=<id>&name=<?> I can retreive a file by name. If there are files with the same name the most recent is taken. This is convenient as I can reference the files by there name, e.g. schedule, an I can easily update it with out changing pages. Dynamic content would also work but I prefere the name as it is more obvious than 'content id=42'

3. get a random picutre from a gallery via show_image
with galleryId=<id> a random picture of the identified gallery is given.

Files
  1. Feature
Solution
see attached patch
Importance
4
Priority
20
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
916
Created
Thursday 19 October, 2006 09:28:20 UTC
by Unknown
LastModif
Saturday 06 July, 2024 10:21:44 UTC


Show PHP error messages