Fullscreen
Loading...
 
Skip to main content

Plugin Lastmod

Status
Closed
Subject
Plugin Lastmod
Version
14.x
8.x
Category
  • Error
Feature
Wiki (page view, edit, history, rename, etc)
Resolution status
Fixed or Solved
Submitted by
Zac
Lastmod by
lindon
Rating
(1)
Description

Plugin Lastmod does not default to current page when page name is not specified.

The documentation for the Lastmod PluginQuestion says if you don't specify the page name, Lastmod defaults to the current page.

From forum threadQuestion posted by user TomJarvis:

I have now tested:
{LASTMOD()/}
and
Saturday 25 July, 2026 09:01:18 UTC
in the HomePage of Tiki versions 2 through 9.

In each version of Tiki, the plugin with the pagename specified worked correctly (other than the '%0' in Tiki 2 mentioned in the documentation).

When Lastmod is coded without specifying the page name, the current date and time are returned in Tiki versions 2 through 6, and nothing at all is returned in Tiki versions 7 through 9.

There appears to be a problem with how the Lastmod plugin get the page name when it is not specified.

This is a bug that could be reported. The workaround is to specify the page name.

Solution
This has been fixed with r56276Question, which will be in Tiki 14.1 and 15.0. I am closing the report but feel free to reopen if any remaining issues.
Importance
5
Priority
25
Demonstrate Bug on Tiki 19+
Demonstrate Bug (older Tiki versions)
Ticket ID
4210
Created
Tuesday 01 May, 2012 17:57:38 UTC
by Zac
LastModif
Monday 23 November, 2015 04:04:41 UTC


Show PHP error messages