Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#41 UnfoldSubpages - modest title

1.3.x
closed
nobody
None
5
2012-10-11
2002-12-17
Cuthbert Cat
No

I know somebody is looking at a CalendarListPlugin,
which might fit my needs, but here I have a
not-quite-blog, showing the 4 latest subpages to a
particular page, on the front page of a site.
Three changes - first, I've added a page= link as per
IncludePage. Second, I've added a 'smalltitle=true'
option, which if selected removes the
transclusion-title (as in my IncludePage patch earlier)
but includes the title of the subpage (just the subpage
part) at the start of the text. Third, I've reversed
the order of inclusion to cope with dates. Since I have
my dates as YYYY-MM-DD, a simple lexical sort on these
produces correct ordering every time :)

The upshot of this is that I get a set of 4 boxes,
containing things like:

2002-12-17: Added a patch to sourceforge/phpwiki
2002-12-16: Made modification to UnfoldSubpages plugin

Discussion

  • Cuthbert Cat
    Cuthbert Cat
    2002-12-17

    Logged In: YES
    user_id=11619

    And now, the patch....

     
  • Cuthbert Cat
    Cuthbert Cat
    2002-12-17

    Logged In: YES
    user_id=11619

    Oops - and now the patch - this time I'll upload it for sure!

     
  • Carsten Klapp
    Carsten Klapp
    2003-01-05

    Logged In: YES
    user_id=369655

    I modified this patch slightly to properly handle names of
    subpages of subpages when using smalltitle. Checked into CVS.