Hi!

I am to put together a site which contains both trac-controlled and
non-trac-controlled parts.

I want to display some wiki pages within some pages of the non-trac realm,
via an iframe. Just the wiki text, without the header/footer/navigation
fluff.

For this purpose, I wrote a plugin with a handler for the
"/__wikipure/*" path-spacec [*], which is in fact a trimmed down version
of the usual wiki handler; and I also created a trimmed down clearsilver
template. Using these together has the desired effect.

There is just one gotcha. Wiki links are still rendered as
"/trac/wiki/WhatEver". I want them to be "/trac/__wikipure/WhatEver", in
order to make navigation possible within the __wikipure path-space.
I found no easy way to make such an adjustment... does someone have a
good idea?

(Alternatively, I could implement the "pure wiki pages" as a new format
for the wiki; however, that wouldn't make a difference, because then I'd
need a "/trac/wiki/WhatEver" -> "/trac/wiki/WhatEver?format=pure"
wikilink tweak...)
 
Regards,
Csaba



[*] "/wikipure/*" was also consumed by the wiki engine, that's why I have
the leading underscores

_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to