> -----Original Message-----
> From: [email protected] On Behalf Of Craig A
> Sent: 15 June 2011 17:26
> To: Trac Users
> Subject: [Trac] How to automatically list child pages at top 
> of wiki page?
> 
> The breadcrumbs that show wiki parent pages are great, but child pages
> are hard to find. I would like to automatically show all child pages
> at the top of each wiki page - effectively it would be the same result
> as if I had manually typed [[TitleIndex(CurrentPage/)]] as the first
> line of each wiki page.

Not exactly what you want but you can create templates for new wiki
pages that could include boilerplate for this (and any other standard
page elements you want):

http://trac.edgewall.org/wiki/PageTemplates

~ mark c

> It doesn't feel right to have to train every user "don't forget to
> insert the TitleIndex macro at the top of every page that has child
> pages, with a filter of the current pagename and a trailing slash". It
> would be great to have this happen automatically but I am not sure
> what is the best way to hook into Trac to make this happen. I thought
> about site.html, but changes made there are not run through the wiki
> processor. Is a plugin the best choice? Any nudges in the right
> direction would be greatly appreciated.
> 
> Thanks
> Craig
> 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to