Loading...
 
Skip to main content

since_last_visit on doc.tw.o doesn't link to individual new files but to their gallery

Status
Closed
Subject
since_last_visit on doc.tw.o doesn't link to individual new files but to their gallery
Version
12.x
3.x
Category
  • Regression
  • Usability
  • Dogfood on a *.tiki.org site
Feature
File Gallery (elFinder or standard UI)
Modules
Resolution status
Fixed or Solved
Submitted by
Xavier de Pedro
Volunteered to solve
manivannans
Lastmod by
Xavier de Pedro
Rating
(0)
Description

At doc.tw.o I just saw, at the since_last_visit_module, among many other infos, some report of new files being added, like:

  1. Batch Category Creation - Figure 3 (Batch Category Creation - Figure 3.PNG)
  2. Batch Category Creation - Figure 1.PNG (Batch Category Creation - Figure 1.PNG)
  3. Batch Category Creation - Figure 2.PNG (Batch Category Creation - Figure 2.PNG)
  4. Batch Category Creation - Figure 3.PNG (Batch Category Creation - Figure 3.PNG)


However, those files all link to the same url, which is the gallery url,
http://doc.tikiwiki.org/tiki-list_file_gallery.php?galleryId=2Question

and not their single url's.
Example:
http://doc.tikiwiki.org/tiki-download_file.php?fileId=126&previewQuestion


-


UPDATE: was that an intentional move? I still consider that the former (1.x?) behavior was better from the point of view of usability.


Solution

link to the specific url for the file, like:
http://doc.tikiwiki.org/tiki-download_file.php?fileId=126&previewQuestion

instead of

http://doc.tikiwiki.org/tiki-list_file_gallery.php?galleryId=2Question



I had changed the link as per the given solution.

Please check this commit id: 48883


Thanks mani, that worked. However, in current tiki versions there is an even better url, to display the file, metadata and the syntax to use it, etc.: tiki-list_file_gallery.php?galleryId=1&fileId=1&view=page

I've commited the new url in r48917. Thanks to your previous commit, I found out what I had to change and where: great!

Importance
4
Easy to solve?
7
Priority
28
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
2632
Created
Wednesday 15 July, 2009 12:04:02 UTC
by Unknown
LastModif
Monday 02 December, 2013 22:40:40 UTC


Show PHP error messages