Re: [Trac] Including PageOutline Macro on all new Pages
14 views
Skip to first unread message
Olemis Lang
unread,
Aug 12, 2012, 4:22:06 PM8/12/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to trac-...@googlegroups.com
Please read PageTemplates wiki page in your Trac environment . Maybe
that can help .
;)
On 8/10/12, Mark Schoonover <mark.sc...@gmail.com> wrote:
> I'm trying to configure Trac to include the [[PageOutline]] macro on all
> new pages. I tried editng the site.html file but that didn't work. I'm
> rather new to Trac, did the usual, checked the FAQ, installed the macro,
> googled around.
>
> Thanks
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/trac-users/-/-iTqTqZlZEsJ.
> To post to this group, send email to trac-...@googlegroups.com.
> To unsubscribe from this group, send email to
> trac-users+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.
>
>
Although in that case the default wikipage content needed to be dynamic (so the page title could be passed as a parameter to the macro). The solution was to use a plugin instead to achieve the desired effect. It may be that a plugin solution is required for your situation also. Sorry, I know this is not much help.
>> on all new pages. The one issue with using PageTemplates is that it requires the end user to know that they must select the proper template, and to actually remember to choose it each time a page is created. I don't know of a way to remove the (blank) choice.
Craig
RjOllos
unread,
Aug 13, 2012, 8:44:01 PM8/13/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to trac-...@googlegroups.com
On Monday, August 13, 2012 6:31:11 PM UTC-4, Craig A wrote:
The one issue with using PageTemplates is that it requires the end user to know that they must select the proper template, and to actually remember to choose it each time a page is created. I don't know of a way to remove the (blank) choice.
I have had the need for that in the past. It would be nice if a page named DefaultTemplate always appeared as the default entry when the page exists, rather than 'blank', or else have a trac.ini setting for controlling this behavior. I didn't find an existing ticket for this request, but there is a ticket that is similar to the original posters request: