On Fri, May 4, 2012 at 3:59 PM, Bergquist, Brett <BBergquist(a)canoga.com> wrote:
Yes a standalone xwiki set up for scratch.
I just did the velocity macro suggested and it returns true.
Note that I can do as suggested in the tutorial and on demand include the skin extension
in a page and that works fine and I see the style changes so it appears the extension is
ok just not the ability to have it apply to the whole wiki which is what I need.
Ok so unless someone has another idea it looks a lot like a bug to me.
So I would say the next step is to create a bug issue on
http://jira.xwiki.org and put everything you can think of to reproduce
exactly your use case including the version of XE you are using.
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/SkinExtensionsTutorial
>
> 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
http://lists.xwiki.org/mailman/listinfo/users
--
Thomas Mortagne