Brett Bergquist
Principal Software Engineer
Canoga Perkins
On May 4, 2012, at 9:21 AM, "Thomas Mortagne" <thomas.mortagne(a)xwiki.com>
wrote:
On Fri, May 4, 2012 at 2:35 PM, Bergquist, Brett
<BBergquist(a)canoga.com> wrote:
> Logged in as Admin so I believe so.
Admin on main wiki or admin on a subwiki ? Or maybe it's a standalone wiki.
To have programming right you need to have admin right on main wiki
(so you need to use a global user). A simply way to test it is by
putting the following code in a page:
{{velocity}}
$hasProgramming
{{/velocity}}
You should get "true" if you have programming right.
>
> Brett Bergquist
> Principal Software Engineer
> Canoga Perkins
>
>
> On May 4, 2012, at 3:08 AM, "Thomas Mortagne"
<thomas.mortagne(a)xwiki.com> wrote:
>
>> Hi,
>>
>> Are you saving the document with a users having programming
>> rights like the tutorial suggest ?
>>
>> On Thu, May 3, 2012 at 10:33 PM, Bergquist, Brett <BBergquist(a)canoga.com>
wrote:
>>> I tried doing exactly what I see in this tutorial:
>>>
>>>
http://platform.xwiki.org/xwiki/bin/view/DevGuide/SkinExtensions
>>> Tutorial
>>>
>>> to to the Minimal StyleSheet eXtension. I do everything as the tutorial
says but there is no effect.
>>>
>>> So is the tutorial wrong or does the option "Always on this wiki"
not work?
>>>
>>> I can do:
>>>
>>> {{velocity}}
>>> $xwiki.ssx.use("XWiki.MyFirstStylesheetExtension")
>>> {{/velocity}}
>>>
>>> In a page and have it work, but I want to have an extension for all of the
Wiki so I want to use the "Always on this wiki".
>>>
>>> Thanks for any pointers one might give.
>>>
>>> Brett
>>>
>>> _______________________________________________
>>> users mailing list
>>> users(a)xwiki.org
>>>
http://lists.xwiki.org/mailman/listinfo/users
>>
>>
>>
>> --
>> Thomas Mortagne
>> _______________________________________________
>> users mailing list
>> users(a)xwiki.org
>>
http://lists.xwiki.org/mailman/listinfo/users
>>
>
> _______________________________________________
> users mailing list
> users(a)xwiki.org
>
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
users(a)xwiki.org