Force Skin Snippet

It is possible to configure a entire wiki, a space or user to display contents with a given skin, but it is not so easy to do the same with only one page. This code proposed by Guillaume Lerouge and modified by Sergiu Dumitriu does the trick. Include it in your page and modify "myskin" accordingly.

#if("$!request.skin" != "myskin")
$response.sendRedirect($doc.getURL("view", "skin=myskin"))
#end
Version 2.1 last modified by rrodriguez on 15/03/2008 at 11:06

Comments 0

No comments for this document

Attachments 0

No attachments for this document

Creator: rrodriguez on 2008/03/15 11:05
This wiki is licensed under a Creative Commons license
1.4.1.10194