+ Reply to Thread
Results 1 to 3 of 3

Thread: Page Last Modified

Hybrid View

  1. #1
    Join Date
    Jun 2010
    Posts
    49

    Default Page Last Modified

    Is it possible to add a last modified date to the wiki.tree function and sort by that date?

    Basically I have multiple pages for active and inactive clients that I would like to be able to see when the last comment or page modification was. Ideally I would like to use wiki.tree or something similar on the top level page that contains the type of client and a date of some sort.

    Any ideas?

  2. #2
    Join Date
    Jul 2006
    Location
    San Diego, CA
    Posts
    5,450

    Default

    You can assign the output of wiki.tree to a variable, loop over the pageid attributes, load each page using wiki.getpage and do whatever logic you want that way.
    Steve G. Bjorg - Chief Architect
    Did you check the MindTouch FAQ?
    Found a bug? Report it.
    Follow me on Twitter
    Find us on IRC: irc.freenode.net #mindtouch

  3. #3
    Join Date
    Jun 2010
    Posts
    49

    Default

    Ah, that all makes sense. How to accomplish it is a completely different story as I'm not much of a coder. Are there any examples that I could use and modify to work? I wouldn't even have a clue as to where to start looking for guidance on such a template.

    Thanks Steve!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts