Re: [xwiki-users] How to insert name and date (signature, ~~~~)?

2014-10-27 Thread markus schnalke
[2014-10-15 10:25] Clemens Klein-Robbenhaar c.robbenh...@espresto.com
 On 10/14/2014 08:02 PM, markus schnalke wrote:
  
  in Mediawiki it's possible to insert one's name and the current
  date quite easily with four tilde characters: .
  
  Is it possible to do this in a convenient way in Xwiki, as well?
  And if so, how?
  
  
  I think it should be possible by creating a macro. However, I
  would appreciate if inserting the signature would be a simpler
  tag than: {{sign/}}.
 
 A macro has the disadvantage that it is evaluated every time the page is
 rendered, and it will not remember when it has been inserted.
 
 What you want here is something that is evaluated when the page is saved,
 remembering the author / current date when saving.

Exactly.

 To me this looks more like a use case for an Event Listener, e.g.:
 
   
 http://platform.xwiki.org/xwiki/bin/view/DevGuide/WritingEventListenerTutorial
 
 You will have to replace
 
  docSource.setContent(docSource.content + \n\nSome extra content...)
 
 in the tutorial by something like:
 
  docSource.setContent(docSource.content.replaceAll('',xcontext.user  + ' 
 ' + docSource.date) )

Thanks. I'm sure this is how it could be done. However, in the
meantime, I think that using the annotation plugin/application
might be the more XWiki-like way to go -- although less familiar
to me it might actually be more familiar to most of the users of
our wiki.

Thanks for your help!


meillo
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] How to insert name and date (signature, ~~~~)?

2014-10-27 Thread vinc...@massol.net
Hi Markus,

FTR I’ve created http://jira.xwiki.org/browse/XRENDERING-371

Thanks
-Vincent 

On 14 Oct 2014 at 20:02:35, markus schnalke 
(mei...@marmaro.de(mailto:mei...@marmaro.de)) wrote:

 Hoi,
  
 in Mediawiki it's possible to insert one's name and the current
 date quite easily with four tilde characters: .
  
 Is it possible to do this in a convenient way in Xwiki, as well?
 And if so, how?
  
  
 I think it should be possible by creating a macro. However, I
 would appreciate if inserting the signature would be a simpler
 tag than: {{sign/}}.
  
  
 meillo
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Flaming Less to CSS processor

2014-10-27 Thread Gerritjan Koekkoek
Does the Less to CSS preprocessor in the Flamingo themes app run on the
server?
What documentation is available (or examples of what kind of Less code can
be entered in the Advanced Less box?
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Diagram Application

2014-10-27 Thread vinc...@massol.net
 




On 24 Oct 2014 at 07:37:30, Hamster 
(teun...@hotmail.com(mailto:teun...@hotmail.com)) wrote:

 Time for another BUMP.
  
 We are more than a year later, and all bugs mentioned are still present in
 this application.
  
 I would realy like to see this application work like it should. Now it is
 still useless to me, which is making me sad ;-)

BTW please don’t forget that this extension is NOT supported by the XWiki dev 
team (the author is not “XWiki Development Team” at 
http://extensions.xwiki.org/xwiki/bin/view/Extension/Diagram+Application

Thanks
-Vincent

 JIRA's:
 http://jira.xwiki.org/browse/XADIAGRAM-7?jql=project%20%3D%20XADIAGRAM

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Flaming Less to CSS processor

2014-10-27 Thread Guillaume Louis-Marie Delhumeau
Hi.

Yes the LESS compiler is running on the server, except for the preview box
of the Flamingo Theme Application.

You should be able to put any valid LESS code in the advanced section of
that application.

For example, if you want to set a bootstrap variable that the application
does not handle, you could add:

@modal-content-bg: red;

But you can also add new CSS classes, like:
.myClass{
  background-color: red;
}
and this class can use LESS functions and bootstrap mixins:
.myClass{
  background-color: darken(red, 10%); // LESS function
  .make-xs-column(12); // Bootstrap mixin
}

And the class will be added to the default style.css. I am updating
http://extensions.xwiki.org/xwiki/bin/view/Extension/Flamingo+Theme+Application

I hope this helps,

2014-10-27 16:01 GMT+01:00 Gerritjan Koekkoek gerritjankoekk...@gmail.com:

 Does the Less to CSS preprocessor in the Flamingo themes app run on the
 server?
 What documentation is available (or examples of what kind of Less code can
 be entered in the Advanced Less box?
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users




-- 
Guillaume Delhumeau (gdelhum...@xwiki.com)
Research  Development Engineer at XWiki SAS
Committer on the XWiki.org project
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] [ANN] XWiki 6.3 Milestone 2 released

2014-10-27 Thread Eduard Moraru
The XWiki development team is proud to announce the availability of XWiki
6.3 Milestone 2.

This milestone brings a couple of improvements to Extension Manager, Panels
Application and the Space Deletion UI, together with a couple of developer
oriented features such as a JSON service for Solr and a better and cleaner
(HTML5-friendly) way of storing and obtaining in JavaScript information
about the current document.

Also, 31 bugs were fixed in this release, so this makes it yet another
reason to upgrade and try it out.

You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download

Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki63M2

Thanks
-The XWiki dev team
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users