On 15/03/2008, [Ricardo Rodriguez] Your EPEC Network ICT Team < [EMAIL PROTECTED]> wrote: > > Guillaume Lerouge wrote: > > What you can do is to append ?skin= at the end of your page name to force > it to use that given skin, for instance : > > mywiki.com/xwiki/bin/view/Main/WebHome?skin=albatross (or toucan) > > Then you can add this code to your selected pages (it's not clean but it > will work) : > > #if(!$request.skin || $request.skin && $request.skin != 'myskin') > > #set($skin = '?skin=myskin') > > #set($url = $xwiki.getURL($doc.fullName)) > > #set($pageurl = $url + $skin) > > $response.sendRedirect($pageurl) > #end > > > Oh! How powerful is this stuff! The "only" problem is to know how to use > all the resources this framework provides us. > > Don't you think this must go to Code Snippets? >
Sure, please feel free to add it ;-) Thank you so much, > > Ricardo > > -- > Ricardo RodrÃguez > Your EPEC Network ICT Team > > > _______________________________________________ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > -- http://wikibc.blogspot.com/
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users