On 05/04/2012 09:59 AM, Bergquist, Brett 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.
One thing to check is that you're not actually getting an older version of the extension, try to clear the browser cache.
Brett Bergquist Principal Software Engineer Canoga Perkins
On May 4, 2012, at 9:21 AM, "Thomas Mortagne"<[email protected]> wrote:
On Fri, May 4, 2012 at 2:35 PM, Bergquist, Brett<[email protected]> 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"<[email protected]> 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<[email protected]> 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.
-- Sergiu Dumitriu http://purl.org/net/sergiu/