With the standalone installer, I was able to get the Stylesheet Extension working correctly on Solaris so it is something in my setup that is a problem. I am going to drop back and rebuild my Wiki and see why it fails. Sorry about the confusion but thanks for the help! Brett -----Original Message----- From: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Bergquist, Brett Sent: Friday, May 04, 2012 11:16 AM To: XWiki Users Subject: Re: [xwiki-users] A question on Skin Extensions (not working) Ok, I just downloaded the standalone jar installer for 3.5.1 and installed on Windows and following the tutorial works. Now I will do the same thing on Solaris which is where I am having the problem. So it looks like the problem will be related to the environment or other things installed. -----Original Message----- From: users-bounces@xwiki.org [mailto:users-bounces@xwiki.org] On Behalf Of Thomas Mortagne Sent: Friday, May 04, 2012 10:22 AM To: XWiki Users Subject: Re: [xwiki-users] A question on Skin Extensions (not working) On Fri, May 4, 2012 at 4:20 PM, Bergquist, Brett <BBergquist@canoga.com> wrote:
Will do. In fact I am going to download the jar installer fresh for both 3.5.1 and the new 4.0 and follow the tutorial on both and verify it works or does not with these.
Ok great.
Thanks for your input.
Brett Bergquist Principal Software Engineer Canoga Perkins
On May 4, 2012, at 10:17 AM, "Thomas Mortagne" <thomas.mortagne@xwiki.com> wrote:
On Fri, May 4, 2012 at 3:59 PM, Bergquist, Brett <BBergquist@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@xwiki.com> wrote:
On Fri, May 4, 2012 at 2:35 PM, Bergquist, Brett <BBergquist@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@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@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@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
-- Thomas Mortagne _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users _______________________________________________ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users