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
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.
>
>


--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

Craig A

unread,
Aug 13, 2012, 6:31:11 PM8/13/12
to trac-...@googlegroups.com
Somewhat related topic here:
https://groups.google.com/d/topic/trac-users/D8HtOSavqVQ/discussion

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
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:
Reply all
Reply to author
Forward
0 new messages