[xwiki-users] changing some layout details in a single page
Sergiu Dumitriu
sergiu at xwiki.com
Sat Mar 15 10:43:42 CET 2008
[Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
> [Ricardo Rodriguez] Your EPEC Network ICT Team wrote:
>> Sergiu Dumitriu wrote:
>>
>>> A shorter code:
>>>
>>> #if("$!request.skin" != "myskin")
>>> $response.sendRedirect($doc.getURL("view", "skin=myskin")
>>> #end
>>>
>>>
>>>
>> Much more elegant :-) Must this go to a code snippet entry? Thanks!
>>
>> Cheers,
>>
>> Ricardo
>>
>>
> Oops! Sorry, I've misread Guillaume's last message. Adding a snippet
> code entry...
>
> Best,
>
Also, I forgot a closing )
$response.sendRedirect($doc.getURL("view", "skin=myskin"))
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
More information about the users
mailing list