On Fri, Apr 3, 2015 at 6:27 AM, pineapplehandler <[email protected]>
wrote:

> I tried modifying templates/site.html but with less-than-spectacular
> results. Is there a way to add custom html to a wiki page?
> I don't want to change every wiki page, just the landing page after login.
> Specifically, I'd like to insert code from this page
> <http://www.outsharked.com/imagemapster/examples/usa.html> to allow users
> to click a point on the map.
>

You could try using IncludeMacro:
http://trac-hacks.org/wiki/IncludeMacro

Make sure to read the documentation. The page you cited uses JavaScript, so
you'll probably need to set [wiki] render_unsafe_content to true if you
wish to retain all the functionality of the page. Using that setting has
consequences, and it should probably be set to true only in the case that
your site does not allow anonymous visitors.
http://trac.edgewall.org/wiki/TracIni#wiki-section

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to