[xwiki-users] Display HTML Download Button with xwiki download link
I'd like to display a simple download button with a certain text, which downloads a file attached to this xwiki page when clicked. The link has to be relative to the current page (file is attached there). I tried the following variations of the html macro with no success. Is it possible? Otherwise we will just create images for download buttons and links on them. (xwiki 8.4.3) {{html wiki="true"}} {{/html}} {{html wiki="true"}} {{/html}} {{html}} {{/html}} {{html wiki="true"}} Download {{/html}} {{html}} Download {{/html}} Thanks.
[xwiki-users] Lots of questions and issues
Dear devs, over the past few months we have moved over to using xwiki as a replacement for your old sharepoint and mediawiki servers. Meanwhile we have accumulated a list of problems and questions we are unable to solve. Some of which open JIRA bugs might already exist. In my opinion this mailinglist is not suitable for this many questions (needs attachments, screenshots). How may we proceed? Should we create a jira entry for every issue? An extract of some problems (now running 8.4.3): - PDF Export: The pdf misses some elements of the page, for example display of info/warn/error marcros (see your sandbox page info and warning macro examples) and other stuff. Layout has big issues (images cut off, Tables cut off) - Multipage PDF Export: Pdf export collection extension is broken, MultipagePdfExport Space Export extension too. - No image lightbox by default, unclear how to implement it in the wysiwyg editor - Document tree is really cumbersome for normal users (we use currently use some velocity to show children), new children macro insufficient (shows translations and attachment) - DocumentTree Macro "finder" does not work correctly (finds only some pages?) As for just "questions", should be ask each one of them in an separate mail here on the list? Thank you very much, Mario
Re: [xwiki-users] [ANN] XWiki 8.2.2 released
The downloadlink has not been updated yet? BR -- View this message in context: http://xwiki.475771.n2.nabble.com/ANN-XWiki-8-2-2-released-tp7601945p7601963.html Sent from the XWiki- Users mailing list archive at Nabble.com.
Re: [xwiki-users] Change Numbering in TOC Macro
Clemens Klein-Robbenhaar wrote > to avoid confusion with a numbered list in the navigation I had to > restrict the numbering to the content-area, like: > > #xwikicontent ol { list-style-type: none; counter-reset: say; } > #xwikicontent ol li:before { counter-increment: say; content: > counters(say,".") ". "; } Thank you, this did the trick. This time, the original example also displayed the numbering, but wrong as you stated. Not sure why it didn't have any effect last time, I tried different browser. I briefly tried different settings for "Caching policy" and "use this extension", but all combinations seem to work now. I will update the documentation of the TOC macro. -- View this message in context: http://xwiki.475771.n2.nabble.com/Change-Numbering-in-TOC-Macro-tp7601718p7601734.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Change Numbering in TOC Macro
There is an example on how to change TOC numbering: http://extensions.xwiki.org/xwiki/bin/view/Extension/TOC+Macro#HExample3:Differentnumberingofsublists However, it does not work, and even the screenshot on that page does not display the expected result, namely "Level 2" with prefix "1.1" Can you provide a working example and update the TOC macro documentation? Our desired result is like this: http://i.imgur.com/J1V7Z5n.png (as it was the default in mediawiki) Thank you, Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] XWiki search on missing page translations
Our documentation subwiki is multilingual, english and german. Unfortunately, at the moment only some pages are translated, some exist in german only, some in english only (doh!). If a user is using german (default) as interface language, and searches for a page what only exists in english, the page is not found. You have to selected "english" unter language in the advanced search options. We noticed that deleting the language setting of a page results in the page beeing found in either language, it is listet as "No Language" in the search results. Is this the recommanded approach? Thanks. -- View this message in context: http://xwiki.475771.n2.nabble.com/XWiki-search-on-missing-page-translations-tp7601551.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Parameters for children macro
With xwiki 8.3 the new children marcro is available, something we were waiting for. Unfortunately the macro does not have any configuration parameters at the moment. Currently we use the following snippet in a huge number of ours pages to display child-documents: because translations and attachments are unnecessary for our navigation. But inserting this code requires switching to sourcecode in ckeditor, which does not work correctly in Internet Explorer. Are there plans to extend the children macro to enable hiding translations and attachments? This would make it possible for our users to use this macro instead via macro GUI of ckeditor. Otherwise maybe we need to start looking into extension development and do it ourselves. Thank you Mario -- View this message in context: http://xwiki.475771.n2.nabble.com/Parameters-for-children-macro-tp7601545.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Edit other user profiles without admin in xwiki space
To edit user profil information (e.g. the profile picture), it seems you need to have admin rights, if the profile is not your own. Since the profiles reside in the xwiki space (a subspace would have been nice), it's I can't allow admin rights on that space. How may we achive that specific users can edit all user profiles withouth giving them admin rights in xwiki space? Thx Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Issues when I upgraded my xwiki 7.0.1 to xwiki 8.2.1: FCKeditor on textarea and annotations with HTML code
PascalB wrote > - when I use "annotation", input field is filled with HTML code instead of > empty: > https://snag.gy/3dxoIK.jpg We too have this issue on our 8.2.1 system (tomcat war). However, on a 8.2.1 windows Standalone dummy system this issue is not present. The annotation editor does not use the CkEditor even though the user perference is set to use wysiwyg. Still haven't found a solution, other than setting the user preference to not to use wysiwyg. Thx Mario -- View this message in context: http://xwiki.475771.n2.nabble.com/Issues-when-I-upgraded-my-xwiki-7-0-1-to-xwiki-8-2-1-FCKeditor-on-textarea-and-annotations-with-HTMLe-tp7601440p7601441.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Database indexes for XWiki 8.2.1 on Postgresql
vmassol wrote > Indeed the page was not very clear :) I have modified it. Could you check > it now and let me know if it’s better? Thanks, the doc is more clear now. We will test the index modifications on our testsystem to see if there's a noticable performance increase. One more question: Is there a system configuration (stack) that is recommended for use by the xwiki dev team? For example, which operating system / application server / database / ... ist used bei xwiki.org ? I only found the parameters as stated in http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HMemory We are currently using Windows Server + Tomcat + Postgresql. Would you recommond switching the server to a linux os? Our system admins work mostly on windows though. We'd also prefer to use MS SQL Server, but http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMSSQL looks outdated and troublesome. Thanks. Mario -- View this message in context: http://xwiki.475771.n2.nabble.com/Database-indexes-for-XWiki-8-2-1-on-Postgresql-tp7601432p7601435.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Database indexes for XWiki 8.2.1 on Postgresql
We are running xwiki 8.2.1 on tomcat using a postgresql database. In your performance guide is a link to http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Database+Administration So for our installation, we have to create the indexes in section "Indexes for XWiki Enterprise versions after 4.3", more specifically 1. the indexes found in the blue information message (from xws_number till xda_docid1), IF hibernate has not created them automatically 2. and the indexes in the grey area (xwl_value till ase_param5) Is this correct? Thank you. Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Watchlist email links use localhost instead of server hostname [SOLVED]
Clemens Klein-Robbenhaar wrote > If I remember correctly, XWiki uses the first incoming request to store > the information by which hostname it is called It seems this was the issue. After a xwiki server restart the mails use the correct URL. I have probably logged in to xwiki on localhost after the last restart. Thank you for your help. -- View this message in context: http://xwiki.475771.n2.nabble.com/Watchlist-email-links-use-localhost-instead-of-server-hostname-tp7601324p7601382.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Watchlist email links use localhost instead of server hostname
The watchlist mail notifications we are receiving from our xwiki server have hyperlinks to the corresponding pages, but the link starts with "http://localhost/; as opposed to the actual server hostname. How may we fix this? Thank you Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Menu created with menu application shows up when the page is printed (XWIKI-13452)
Hi Marius, I'm somewhat embarrassed, it's not the menu that gets printed but the breadcrumb navigation bar. Because it was a long url we mistook it for the menu. Sorry for that. I will open a new topic so that the subject line is correct. Thank you. -- View this message in context: http://xwiki.475771.n2.nabble.com/Menu-created-with-menu-application-shows-up-when-the-page-is-printed-XWIKI-13452-tp7601127p7601137.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Menu created with menu application shows up when the page is printed (XWIKI-13452)
Hi, this issues http://jira.xwiki.org/browse/XWIKI-13452 seems to be still present in XWiki 8.2.1. We have a Menu in current wiki, positioned after header, and it is visible in both the print preview and the actual print out. Any advice? Thank you in advance Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Add Extensions Search broken
It seems the search for extensions within the extension manager is broken, if the searched phrase has more than 1 char that is. This works: myserver/xwiki/bin/admin/XWiki/XWikiPreferences?section=XWiki.AddExtensions=p= This does not work: myserver/xwiki/bin/admin/XWiki/XWikiPreferences?section=XWiki.AddExtensions=pdf+viewer= ("There were no extensions found matching 'pdf viewer'.") It seems this is the case since you upgraded xwiki.org to 8.2.1? Best regards Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configuring CKEditor Plugins
Mario wrote > Edit Page: > Object > > > Find > Remove * > colorbutton * > from this line: *Warning*, do not save this object if your Default Editor is WYSIWYG,* it will break the code *thus preventing ckeditor from loading from then on. Edit your user Profile preferences so your default editor is "text", then modify CKEditor/EditSheet. -- View this message in context: http://xwiki.475771.n2.nabble.com/Configuring-CKEditor-Plugins-tp7600998p7601074.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Configuring CKEditor Plugins
To enable the Color Options in CKEditor I did the following: as written in (Option 1) http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration#HConfiguretheeditor Edit Page: Object Find Remove *colorbutton *from this line: After that, font color and background color are available in the CKeditor Toolbar. Greetings -- View this message in context: http://xwiki.475771.n2.nabble.com/Configuring-CKEditor-Plugins-tp7600998p7601060.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [xwiki-devs] [ANN] Tour Application 1.0.3 Released
I'm unable to update the Tour Application from 1.0.2 to 1.0.4: I'm running xwiki 8.2.1 (standalone sandbox on Windows). If i click on dependency [org.webjars:bootstrap-tour-0.11.0] it Displays "Version 0.10.2-1 is pre installed", but no option to update? Thank you Mario -- View this message in context: http://xwiki.475771.n2.nabble.com/ANN-Tour-Application-1-0-3-Released-tp7600865p7600889.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Use file path in office macro
vmassol wrote > The office macro states that you can use a URL or an attachment, so I > guess you could use a file: URL (make sure to use only forward > slashes). I tried file: (four slashes?) as well as file:/// and file:// but non seem to work. E.g. {{office reference="URL:file://serverhostname/folder/folder/MyFile.xlsx" filterStyles="false"/}} This link works when pasted to windows Explorer (on the xwiki server) Also tried with the "URL": {{office reference="file://serverhostname/folder/folder/MyFile.xlsx" filterStyles="false"/}} The macro exception stack (see http://pastebin.com/Q9vwCYhe ) using URL:file:// clearly states that it is looking for an attachment as opposed to a file link. (Attachment [Attachment ax:Sandbox.WebHome@URL:file://serverhostname/folder/folder/MyFile.xlsx] does not exist.). The same goes for file:// Any ideas? I could still try some of the other windows file uri Schemas as shown in https://en.wikipedia.org/wiki/File_URI_scheme Thank you. -- View this message in context: http://xwiki.475771.n2.nabble.com/Use-file-path-in-office-macro-tp7600777p7600801.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Use file path in office macro
We currently display an attached excel file on a wiki page using the office macro and syntax {{office filterStyles="false" reference="attach:MyFile.xlsx"/}}. Instead we'd like to use the path of an file saved on our server, a working url for this is [[unc:\\serverhostname\folder\folder\MyFile.xlsx]] However, {{office reference=" unc:\\serverhostname\folder\folder\MyFile.xlsx " filterStyles="false"/}} does not work (Failed to view office attachment). The Office Macro documentation states: "The supported resources are URLs (url:) and attachments (attach:)." Is there currently a way to use a file path with the office macro? I tried variants using url: but none of them worked. Thank you. Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Translate FAQ Pages in another language
Is it possible to create multilingual Pages for the FAQ Application? My test xwiki (8.2.1) is set to multilanguage=yes; supported languages=en,de ; default language=en If I create a new FAQ question, the WXSIWYG Editor does not provide the ability to translate the page (because it defaults to inline form edit) If I open the page in wiki syntax mode, the translation options appear on the right side panel. I may switch language and translate the Page Title but the translated title is not displayed in view mode and furthermore the question content is not shown because it is stored in an FAQCode.FAQClass Object. Are multilingual FAQs possible? Thank you. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Use image popup as default behavior
vmassol wrote > I’m not exactly sure what you’re looking after I want the image to open as a popup / overlay as seen in e.g. wikipedia. vmassol wrote > The following seems to do what you want: > image:myimage.png||width=“100"]]>>attach:myimage.png]] > It’ll display the image resized to a width of 100 pixels and when clicked > it’ll display the image in full. This is kind of a compromise as it enables image manipulation in WYSIWYG but two issues remain: when clicking the image you leave the actual wiki page (which is inconvenient) and for each image file the user is pasting in the editor he has to create the attachment link afterwards. But its easier than using Macros. Is it possible to configure CKEditor so that when pasting an image file (via Ctrl+V from the clipboard) the editor is inserting image:myimage.png||width=“100"]]>>attach:myimage.png]] ? I guess we'd have to dig into its source code for this feature? Thank you -- View this message in context: http://xwiki.475771.n2.nabble.com/Use-image-popup-as-default-behavior-tp7600684p7600691.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Use image popup as default behavior
The default xwiki image syntax does not provide the ability to click an image to enlarge it. There seem to be two extensions that provide this feature: - Lightbox Macro - Thumbnail Macro But using a macro for this is not an option because: - they need to be inserted manually in CKEditor (no copy paste into browser) - you have to type in the image attachment name (no autocomplete) - It is not possible to resize the macro (image) visually in CKEditor, you have to type in the desired image width - Both macros do not have an option for horizontal alignment (e.g. right) - Lightbox Macro seems buggy in CKEditor, its killing content below the macro This is a major issue for us, we have to provide our users as much WYSIWYG handling as possible. What are our options? Is it possible to replace the default syntax ckeditor is using for images and provide it with a code template so it uses for example the Thumbnail Macro? Am I missing some awesome extension? Thank you in advance Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Document Tree Macro order by last page edit timestamp
Hi, using the Document Tree Macro to display a tree of children pages of the current pages always generates a alphabetically sorted tree. Is it possible to order the tree by the last edit timestamp of the pages (descending) or other criteria? Neither the Document Tree Macro nor the Tree Macro extension pages seem to say anything about "order" or "sort". Thank you in advance Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How to create a link to a page translation?
An even shorter sytax for this usecase ist: *[[English>>||queryString="language=en"]]* since I always want to link to the current page. Thank you for your help. -- View this message in context: http://xwiki.475771.n2.nabble.com/How-to-create-a-link-to-a-page-translation-tp7600574p7600602.html Sent from the XWiki- Users mailing list archive at Nabble.com. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] How to create a link to a page translation?
Hello, I want to create a wiki link which opens the current page in a given language. I tried the following: {{velocity}} [[English>>doc:$doc.fullName/?language=en]]{{/velocity}} But it does not work, it generates a create page link. I could not find anything on http://platform.xwiki.org/xwiki/bin/view/Main/XWikiSyntax?syntax=2.1=Links either. How may I achieve this? Thank you. Mario ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users