Hello,
Using XWIKI 3.0M2 =>
1) installing the SVG Macro from the XAR document
2) Granting all access rights (testing) to the 3 x SVG documents installed
in the Xwiki workspace.
I get:
Unknown macro: svg
The "svg" macro is not in the list of registered macros. Verify the
spelling or contact your administrator.
. when an individual user (authenticated and with rights to display the
page) hit one page which include this macro.
I have the following in the xwiki.cfg file:
#-# List of active plugins.
xwiki.plugins=\
com.xpn.xwiki.monitor.api.MonitorPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.JsSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.CssSkinFileExtensionPlugin,\
com.xpn.xwiki.plugin.skinx.LinkExtensionPlugin,\
com.xpn.xwiki.plugin.feed.FeedPlugin,\
com.xpn.xwiki.plugin.ldap.LDAPPlugin,\
com.xpn.xwiki.plugin.google.GooglePlugin,\
com.xpn.xwiki.plugin.mail.MailPlugin,\
com.xpn.xwiki.plugin.packaging.PackagePlugin,\
com.xpn.xwiki.plugin.query.QueryPlugin,\
com.xpn.xwiki.plugin.svg.SVGPlugin,\
com.xpn.xwiki.plugin.charts.ChartingPlugin,\
com.xpn.xwiki.plugin.fileupload.FileUploadPlugin,\
com.xpn.xwiki.plugin.image.ImagePlugin,\
com.xpn.xwiki.plugin.userdirectory.UserDirectoryPlugin,\
com.xpn.xwiki.plugin.usertools.XWikiUserManagementToolsImpl,\
com.xpn.xwiki.plugin.zipexplorer.ZipExplorerPlugin,\
com.xpn.xwiki.plugin.autotag.AutoTagPlugin,\
com.xpn.xwiki.plugin.lucene.LucenePlugin,\
com.xpn.xwiki.plugin.diff.DiffPlugin,\
com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin,\
com.xpn.xwiki.plugin.jodatime.JodaTimePlugin,\
com.xpn.xwiki.plugin.scheduler.SchedulerPlugin,\
com.xpn.xwiki.plugin.mailsender.MailSenderPlugin,\
com.xpn.xwiki.plugin.activitystream.plugin.ActivityStreamPlugin, \
com.xpn.xwiki.plugin.watchlist.WatchListPlugin, \
com.xpn.xwiki.plugin.tag.TagPlugin
What is wrong ?
Many thanks for your help,
Christophe
Hello community,
I'm stuck on a problem to query average ratings data from pages - I
installed the Ratings plugin, of course.
The following query works as expected, and shows the pages having average
votes, ordered by ratings then date :
#set($xwql = "select doc.fullName, ratings.averagevote from Document doc,
doc.object(XWiki.AverageRatingsClass) as ratings order by
ratings.averagevote desc, doc.date desc")
Of course, it will return only those pages for wich
XWiki.AverageRatingsClass exists.
Of course, what I would like, is this query to return ALL documents ordered
by ratings, considering no rating equals to value 0.
There are two problems that make this impossible to achieve with XWQL (or
I'd better say that I didn't find how) :
- first, to get all documents I would have to perform a LEFT JOIN. I tried
many syntaxes but could not achieve that. Even in pure JPQL I would not be
able to perform the LEFT JOIN and specify an ON clause anyway ...
- second, I planned to use COALESCE(ratings.averagevote, 0), to consider
that no ratings equal to average 0, but this keyword is not recognized by
XWQL
I realize that this is more a JPQL/Database issue than XWiki issue, but
ordering pages by average ratings is a very common and evident use-case as
long as you activate ratings, so I believe there must be a solution to find
... And sorting things in memory is really not a very attractive solution :(
(adding a XWiki.AverageRatingsClass object to all pages would also do the
trick but it seems really expensive ...)
Thanks,
Jeremie
--
View this message in context: http://xwiki.475771.n2.nabble.com/XWQL-and-ratings-tp7505249.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
How do you test a colortheme in colibri skin (the ?... parameter in the url)
How can you change the theme programatically in velocity?
example if browser language = nl set theme to nl
Gerritjan
Hi, all,
I am trying to add an addComments sub-menu item to image button from the
menu bar of WYSIWYG editor, what it does is to add comments for an image
inserted in the editor because I need to explain what each image is about
after I put it in the editor, I checked the
class:XWiki.WysiwygEditorConfigClass and the wysiwyg.js, I added a
sub-menu in
the WysiwygEditorConfigClass for image menu, but after that, I got lost,
this sub-menu button is supposed to connect to a plugin to trigger java to
run I believe since it is a plugin and each sub-menu like
imageInsertAttached, imageInsertURL is a plugin, but I could not find the
code where it calls a plugin, so how is the sub-menu button hooked to the
plugin? when a user clicks on the submenu button in the editor (inline
form) page, which javascript function gets called?
Thanks very much in advance!!
Dave
I have been running a simple xwiki farm with 2 sub wikis for some time and
I recently tried to add a macro with a groovy script in the sub-wiki and
got the "You don't have the right to execute this script". I tried to
grant programming to the user by logging into the wiki farm site and
granting programming to the group and to the user I am using in the
sub-wiki. I imported the Admin tools application and ran the Programming
rights Check and applied the config.
I still am not able to grant the user programming rights and my macro with
the script will not run, same permissions error.
I have tried to create a new user in the wiki farm and grant programming to
it, but when I login to the subwiki it has no permissions so I don't
believe I have him setup quite right.
This is running XWiki Enterprise 2.3.1.29183 build, not sure where to go
from here.
Any help appreciated.
Bob
Hi, all,
I am using jQuery for javascript, since it is conflicting with prototype, I
use the jQuery help extension:
http://extensions.xwiki.org/xwiki/bin/view/Extension/jQuery+Helpers, so far
everything works fine on Firefox, the problem is the IE7, I got jQuery is
undefined error from the UI library: $xwiki.jsx.use("jQuery.jQueryUI"), I
can see the javascript code in firebug with last par of the code:
.bind("blur",h)})})})(jQuery);
I noticed that there is a ";" in the end, but in IE7, I checked the code
from Microsoft Script Editor when I debug, it shows no ";", not sure if
that is the problem.
In IE7, I clicked the jQuery helper extension demo pages:
bin/view/jQuery/Demo1 page and bin/view/jQuery/Demo2 page, they both gave
me "jQuery is undefined" error. so this error happens to the extension as
well.
Could anybody help me with is issue?
Thanks very much.
Dave
Hi,
The below solution does not create a new document with the expected object;
{{html}}
<form action="${newATEQA}.getURL("objectadd","language=$lang")" id="newdoc"
method="post">
<div>
<input type="hidden" name="parent" value="${doc.fullName}"/>
<input type="hidden" name="template"
value="CdLSATEPublic.CdLSATEPublicTemplate"/>
<input type="hidden" name="sheet" value="1"/>
<input type="hidden" name="spaceName" value="CdLSATEPublic"/>
<input type="hidden" name="CdLSATEPublicClass_ID" value="6"/>
<input type="hidden" name="CdLSATEPublicClass_ CountryCode" value="us"/>
<input type="hidden" name="CdLSATEPublicClass_language" value="en"/>
Document: <input type="text" name="CdLSATEPublicClass_subject"
value="Enter your question here" class="withTip" size="50"/>
<span class="buttonwrapper"><input type="submit" value="Create this
FAQ" class="button"/></span>
</div>
</form>
{{/html}}
I've define a new document name, the intention is that the new document
will be created as a child of the current document with the language
specified and a object of specified class with the attributes as specified
in Inputs.
But I get a dialog for creating a new page that des not exist (which is
correct from the wiki perspective), if i select OK it will create a empty
document with a empty object
What should i do to make this work?
Gerritjan
The XWiki development team is proud to announce the availability of
XWiki Commons, XWiki Rendering, XWiki Platform, XWiki Enterprise and
XWiki Enterprise Manager 3.5.1.
This is the first bugfix release for the 3.5 series, and, since 3.5 is
the final major release in the 3.x cycle, a bugfix release for the whole
3.x cycle. The main focus has been on quality assurance, improving the
compatibility with various database systems, polishing the new sheet
mechanism, the new extension manager, the skin, the WYSIWYG, and other
parts of the XWiki platform.
See the full release notes at
http://www.xwiki.org/xwiki/bin/ReleaseNotes/ReleaseNotesXWikiEnterprise351
for more details.
--
Sergiu Dumitriu
http://purl.org/net/sergiu/
Hi All,
I had a look on projects powered with xwiki. Really i am completely
amazed!!!. Just to start with,I am planning to use the xwiki site to use
it as my blog page.i have created the DivBlog space and gave Unregistered
Users the view rights on DivBlog.Everything looks great here. But i want to
hide icons like WIKI,Space and Page name (all on top left corner of global
menu bar), LOGIN(on top right corner) for unregistered users.
Similary iwant to hide the Export and More Action options for unregistered
users(on menu bar of page). On top of it, i want to introduce 3 tabs(or
links) on top of page (exactly
in the palce of global menu bar showing space name and page name). Can i do
such configuration in xwiki?How should i go about it.?
Just a suggestion if there is document which can state these kind of
customization , i am
sure it will help the masses.
Like Tabs mentioned at
http://www.xwiki.org/xwiki/bin/view/References/ALPHABib
Like Home,Repository,Blog,WikiLinks are mentioned at
https://ec.europa.eu/employment_social/anticipedia/xwiki/bin/view/Main/
Hi!
Please, could we expect XEM 4.0 in April?
Thanks!
Ricardo
--
Ricardo Rodríguez
Research Management and Promotion Technician
Technical Secretariat
Health Research Institute of Santiago de Compostela (IDIS)
http://www.idisantiago.es
Nota: A información contida nesta mensaxe e os seus posibles documentos adxuntos é privada e confidencial e está dirixida únicamente ó seu destinatario/a. Se vostede non é o/a destinatario/a orixinal desta mensaxe, por favor elimínea. A distribución ou copia desta mensaxe non está autorizada.
Nota: La información contenida en este mensaje y sus posibles documentos adjuntos es privada y confidencial y está dirigida únicamente a su destinatario/a. Si usted no es el/la destinatario/a original de este mensaje, por favor elimínelo. La distribución o copia de este mensaje no está autorizada.
See more languages: http://www.sergas.es/aviso_confidencialidad.htm