Re: [xwiki-users] WYSIWYG editor: Title 1 formatting generates html syntax instead xwiki syntax
WYSIWYG editor is not stable. and "dislikes" html code. - Original Message From: Cristian SPIESCU <[EMAIL PROTECTED]> To: users@xwiki.org Sent: Tuesday, September 23, 2008 11:06:20 PM Subject: [xwiki-users] WYSIWYG editor: Title 1 formatting generates html syntax instead xwiki syntax I have just installed XWiki, which I think is a great tool from what I have seen until now. However I'm experiencing a quite annoying problem: the WYSIWYG editor from my instance of XWIKI doesn't behave like the one from the playground instance: 1. when I select a text and mark it as "Title 1", it generates "" instead of "1" 2. the wysiwyg editor doesn't display the horizontal line below the text (as it is displayed when the page is viewed). I saw that the demo version from playground.xwiki.org displayis these bars while editing a content. Perhaps there is some configuration that needs to be changed? Thank you in advance for your answer. Cristi. ___ 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
[xwiki-users] target
sorry. concerning this link: http://n2.nabble.com/attach-with-target-td1097762.html i did not explained myself very good. i want for a link (attachment link) that i create in a page(not the actual attachment part from the bottom) to open in a new window.. all the office documents: .doc etc can be downloaded but pdf can be seen. i want them to be seen in a new window. so i wasn't talking about the actual attachment part, but about creating an attachment link inthe page: {attach:sthinh.pdf}/ this has to open in a new window. i was looking in the editor and tiny_mce files... a lot of them. so lost. thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] edit class in page
i have a xwiki class. and a document created with that class. how do i edit that document ? thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] attach with target
no this does not work. :( --- On Thu, 9/18/08, adoro <[EMAIL PROTECTED]> wrote: From: adoro <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] attach with target To: users@xwiki.org Date: Thursday, September 18, 2008, 12:19 PM Nohinder wrote: > > Hello. trying to link to an attach(PDF file) from my page and i don;t know > how to add the target = "_blank" property. > i found this thread... but it does not give the sollution, it just sais > that it is possible. how weird is that? > > http://n2.nabble.com/Attachment-link-with-target-td506932.html#a506933 > > Hi, if you want to display all your attachments in a new window (or in a new tab in FF), you can add target="_blank" in attachmentsinline.vm: $doc.getAttachmentURL( #packName($attach.filename) Regards, Alla -- View this message in context: http://n2.nabble.com/attach-with-target-tp1097762p1097795.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] attach with target
Hello. trying to link to an attach(PDF file) from my page and i don;t know how to add the target = "_blank" property. i found this thread... but it does not give the sollution, it just sais that it is possible. how weird is that? http://n2.nabble.com/Attachment-link-with-target-td506932.html#a506933 thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] macros
hello if i wanna create a simple macro that shows an internal space link is this correct? does not work: //mymacros.vm #macro(includeForm $doc.web) #set($space = $doc.web) Project Home Page #end //calling into the page #template("mymacros.vm") thanks ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] alternative to wyisywg editor
Hello, with an older problem i was thinking to use the fckeditor instead of the wysiwyg as a temporary sollution. looking in the vm files at xwiki, i think it's gonna be a tricky one. did anyone tried this one? ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] wysiwyg
hello, some time ago i had a problem with the editor...wysiwyg...and then i changed to the wiki editor. but now it seems that i have to come back to the wysiwyg editor and it freaks me out. i have a menu in a div and it simply changes my page even if i do nothing. for example..i have this page..i click the edit button(wysiwyg) and then it alters my html code. does anyoane know what to do to make it stop, please?? Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] xwiki how to I create new links in current page
[nameofthelink>page] for the current page and if you wanna make a link to a page for another space use the name of the space [nameoflink>Space.Page] Take care , Gabriela Radu :) www.gabrielaradu.com --- On Mon, 7/14/08, techdragon <[EMAIL PROTECTED]> wrote: From: techdragon <[EMAIL PROTECTED]> Subject: [xwiki-users] xwiki how to I create new links in current page To: users@xwiki.org Date: Monday, July 14, 2008, 12:48 AM Hello, First post! I am an IT administrator and I have been given the task of setting up a small internal WIKI, which I have successfully done. However it does not seem overly user friendly and I want to check if I am just missing a setting. Here is what I am wanting to do. I created a new page called "Vista Testing" on that page I want employees to be able to create a new page with details on the issues they are having and I would like for the new page to be linked to the "Vista Testing" page automatically using the title line that the employee typed in. The way it is now they create a new page and then have to go back to the "Vista Testing" page edit it and link the page they created to it. This doesn't sound difficult but to the technically inept it is like climbing a mountain. I simply want to make it easier for them. -- View this message in context: http://www.nabble.com/xwiki-how-to-I-create-new-links-in-current-page-tp18426058p18426058.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 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] doctree again
the doctree jar available on the xwiki.org is only one level. is there a n-level tree available? Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] doctree plugin
hello people i am trying to modify the doctree 1.5 plugin jar to meet my needs. i have imported the files into my new java project (that were consistent into the jar) and added a new library: commons-collections-3.1 the jar contents: DocumentTree.java DocumentTreePlugin.java DocumentTreePluginApi.java the first one was ok, but the 2 and 3rd have loads of errors. it cannot find my imports: import com.xpn.xwiki.XWikiContext; import com.xpn.xwiki.XWikiException; import com.xpn.xwiki.api.Api; import com.xpn.xwiki.doc.XWikiDocument; import com.xpn.xwiki.plugin.XWikiDefaultPlugin; import com.xpn.xwiki.plugin.XWikiPluginInterface; i don't understand how it is ok in the plugin , but still i am asked to create new interfaces or classes. Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Fw: Re: html form
Take care , Gabriela Radu :) www.gabrielaradu.com --- On Mon, 6/16/08, Gabriela Radu <[EMAIL PROTECTED]> wrote: From: Gabriela Radu <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] html form To: "Tiago Rinck Caveden" <[EMAIL PROTECTED]> Date: Monday, June 16, 2008, 11:27 AM this is from the page source of the page: <form action="/xwiki/bin/view/Factory/CustomSearch"> <table> <tr> <td> <input type="text" name="text" value="" size="30"/> </td> <td> <input type="submit" value="Search"/> </td> </tr> </table> so it's the same... </form> Take care , Gabriela Radu :) www.gabrielaradu.com --- On Mon, 6/16/08, Tiago Rinck Caveden <[EMAIL PROTECTED]> wrote: From: Tiago Rinck Caveden <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] html form To: [EMAIL PROTECTED] Cc: "XWiki Users" <users@xwiki.org> Date: Monday, June 16, 2008, 11:24 AM It seems the reply only came to me, so I'm sending it to the list again. The HTML generated by XWiki is the same one you wrote? I mean, this snippet you sent is also what your browser gets or is it different? Regards, -- Tiago Rinck Caveden http://caveden.multiply.com On Mon, Jun 16, 2008 at 10:18 AM, Gabriela Radu <[EMAIL PROTECTED]> wrote: sorry. i have a form. this table is included in a form. Take care , Gabriela Radu :) www.gabrielaradu.com --- On Mon, 6/16/08, Tiago Rinck Caveden <[EMAIL PROTECTED]> wrote: From: Tiago Rinck Caveden <[EMAIL PROTECTED]> Subject: Re: [xwiki-users] html form To: [EMAIL PROTECTED], "XWiki Users" <users@xwiki.org> Date: Monday, June 16, 2008, 11:13 AM On Mon, Jun 16, 2008 at 10:02 AM, Gabriela Radu <[EMAIL PROTECTED]> wrote: Hello all:) Has anyone a problem like this ? this is my form <table> <tr> <td> <input type="text" name="text" value="$!request.text" size="20"/> </td> <td> <input type="submit" value="Search" /> </td> </tr> </table> but in browser the button "search" is not clickable. have no idea why You must have a form definition somewhere, with the inputs enclosed by it, otherwise the button won't do anything... Regards, -- Tiago Rinck Caveden http://caveden.multiply.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] html form
Hello all:) Has anyone a problem like this ? this is my form <table> <tr> <td> <input type="text" name="text" value="$!request.text" size="20"/> </td> <td> <input type="submit" value="Search" /> </td> </tr> </table> but in browser the button "search" is not clickable. have no idea why Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] sessions?
hello :) how to place parameters in a request session/session ? a similar thing to what i want is in java: getSession etc thank you Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] set content
hmm... it's the same problem. if i use the first idea...it does not do anything, and if i use the second one, i get to the same problem i originally had. it takes me only the last template included. :( Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: Gabriela Radu wrote: > this only adds one template.. > how do i add all my templates. more than 5 in my case. > > Sergiu Dumitriu wrote: Gabriela Radu wrote: >> hello. is it possible to set content into a page , with code that comes from >> different templates? for example: treeheader, treepanelleft, treepanelright >> >> $mydoc.setContent('#template("treeheader.vm")') >> $mydoc.setContent('#template("treepanelleft.vm")') >> >> >> this does not work. it takes only my last template. >> i know i can just put the all templates in one template and then include >> that template. but i don;t want to do that and i want to include all the >> templates one by one. >> do you know a way to do this? thx > > setContent is a setter, not an adder. Try: > > $mydoc.setContent("${mydoc.getContent()}#template('treepanelleft.vm')") > If you already know the templates, just do: $mydoc.setContent("#template('template1.vm')#template('template2.vm')#template('template3.vm')#template('template4.vm')#template('template5.vm')") Otherwise, just repeat the previous statement as many times as you want: $mydoc.setContent("${mydoc.getContent()}#template('template1.vm')") $mydoc.setContent("${mydoc.getContent()}#template('template2.vm')") ... $mydoc.setContent("${mydoc.getContent()}#template('template5.vm')") -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] set content
this only adds one template.. how do i add all my templates. more than 5 in my case. Sergiu Dumitriu <[EMAIL PROTECTED]> wrote: Gabriela Radu wrote: > hello. is it possible to set content into a page , with code that comes from > different templates? for example: treeheader, treepanelleft, treepanelright > > $mydoc.setContent('#template("treeheader.vm")') > $mydoc.setContent('#template("treepanelleft.vm")') > > > this does not work. it takes only my last template. > i know i can just put the all templates in one template and then include that > template. but i don;t want to do that and i want to include all the templates > one by one. > do you know a way to do this? thx setContent is a setter, not an adder. Try: $mydoc.setContent("${mydoc.getContent()}#template('treepanelleft.vm')") -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] set content
hello. is it possible to set content into a page , with code that comes from different templates? for example: treeheader, treepanelleft, treepanelright $mydoc.setContent('#template("treeheader.vm")') $mydoc.setContent('#template("treepanelleft.vm")') this does not work. it takes only my last template. i know i can just put the all templates in one template and then include that template. but i don;t want to do that and i want to include all the templates one by one. do you know a way to do this? thx Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] wrong?
this does not work: http://code.xwiki.org/xwiki/bin/view/Snippets/DeleteSpaceSnippet thx Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] list of pages/spaces
Hello I know that this code retrieves all the documents: $xwiki.getSpaceDocsName($doc) my question is this: is it possible to specify which documents can be left unwritten in the list? for instance if i have these spaces: Website1, Website2, XWiki, Main etc and i don't wanna show "XWiki, Main", how can i approach this in velocity code? Thanks Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] save with a different url?
Hi Tiago, I don't think i need the yahoo api. i have to work around xwiki and the doctree jar. for instance: $leaf.fullName gives me the root.nameofthechild if this is the first level of children of the tree, it's correct. but if i am on >2 levels it's not. for the second level from the tree, the first level leafs become roots for the new children that will be created. and so on for the next levels. i have to save info for each level in a generic way. i mean to be able to save it in a dinamicaly way. hope this makes sense... :D Tiago Rinck Caveden <[EMAIL PROTECTED]> wrote: On Wed, May 28, 2008 at 1:14 PM, Gabriela Radu wrote: > Hello people, > I am using a tree and i would be interested in changing the link,url, "a > href", (SAVE) of the child, when i am adding a new page as a child and > saving that element. You mean the Yahoo treeview? If it's so you can find good documentation here: http://developer.yahoo.com/yui/treeview/ Best regards, -- Tiago Rinck Caveden http://caveden.multiply.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] save with a different url?
Hello people, I am using a tree and i would be interested in changing the link,url, "a href", (SAVE) of the child, when i am adding a new page as a child and saving that element. Thank you so much :) Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] Cannot make recursive include
i have tried this way around the template stuff. i have made a page in XWiki and placed there my templates. include templates. if i include only one template: #template("smthing.vm") it works fine, but if i wanna include more i receive this message : "Cannot make recursive include". i don;t know how to work around this one. any ideas? :) Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] include #template
hello i wanna include a template like this: $mydoc.setContent(#template("treemenu.vm")) but the syntax is not right. I have tried this too: $mydoc.setContent("#template("treemenu.vm")") but same. do you know the right way to write this line of code? thx Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] xeclipse problem
Hello! Did anyone encoutered such a problem with XEclipse? My operating system is: Windows XP Java: java 6 update 4 Xeclipse version: xwiki-eclipse-rcp-win32-win32-x86-1.1 xeclipse log: !SESSION 2008-05-23 10:59:36.078 --- eclipse.buildId=unknown java.version=1.6.0_04 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=ro_RO Command-line arguments: -os win32 -ws win32 -arch x86 !ENTRY org.eclipse.core.runtime 2 0 2008-05-23 10:59:37.234 !MESSAGE Authorization infrastructure (org.eclipse.core.runtime.compatibility.auth) not installed. !STACK 0 java.lang.NoClassDefFoundError: org/eclipse/core/internal/runtime/auth/AuthorizationHandler at org.eclipse.core.internal.runtime.InternalPlatform.initializeAuthorizationHandler(InternalPlatform.java:603) at org.eclipse.core.internal.runtime.InternalPlatform.start(InternalPlatform.java:745) at org.eclipse.core.internal.runtime.PlatformActivator.start(PlatformActivator.java:31) at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:999) at java.security.AccessController.doPrivileged(Native Method) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:993) at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:974) at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:350) at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1118) at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:634) at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:508) at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:282) at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:468) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:195) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:297) Caused by: java.lang.ClassNotFoundException: org.eclipse.core.internal.runtime.auth.AuthorizationHandler at java.lang.ClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:429) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369) at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357) at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) ... 16 more I cannot connect to any server. and I haven't got a clue of what is that. THX! Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] subtree
the tree thing works following the example from the website. i have an idea and i would like to ask for your feedback. i wanna make the tree dynamic. from(only) the user interface the user to be capable of creating new pages and children to the pages.(and delete them) to autodetect where i am as a user, and when i press the 'add button' to make a new page that is a child of the page i am in. and so on. n levels. i hope i have explained myself,...i reallly wanna know if you think this is possible in xwiki. thx Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create new xwiki page in code. done
hi. i found my error: it should be: #set($space = $doc.web) and it takes my current space. in which it creates the new page. #set($space = $doc.web) spaceul meu : $space #set($text = $!request.text ) afisare textfield: $text #set ($mydoc = $xwiki.getDocument("${space}.${text}")) $mydoc.setContent("test") $mydoc.save() Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create new xwiki page in code
Hello, no..it does not work, because it creates a new space(website) this is my code from the interface: #template("createPage.vm") Write the name of the new page: and in createPage.vm i have the code from bellow. and it creates the space(website) called createPage and the page: vm this is so confunzing... it should haev only create a page in my current space. Jean-Vincent Drean <[EMAIL PROTECTED]> wrote: Does this script produce an error ? Do you see a new page with a wrong name in the what's new ? Btw at first sight I'd try to protect velocity variables : #set($space = $!request.space) #set($text = $!request.text ) afisare textfield: $text #set ($mydoc = $xwiki.getDocument("${space}.${text}")) $mydoc.setContent("test") $mydoc.save() Some tests to avoid empty strings would be good to have too. On Wed, May 14, 2008 at 4:11 PM, Gabriela Radu wrote: > hello Vincent, > i found your link most usefull , but it's made static. when i tried to give > the parameters dinamically(the name of the space, and the text from a > textfield) like this...it does not let me : > > #set($space = $request.space) > #set($text = $!request.text ) > afisare textfield: $text > #set ($mydoc = $xwiki.getDocument("$space.$text")) >$mydoc.setContent("test") >$mydoc.save() > > i know this question is kind of a long shoot to ask..but i have no ideea why > can't it work. > > Vincent Massol wrote: > On May 14, 2008, at 1:49 PM, Vincent Massol wrote: > >> Hi, >> >> On May 14, 2008, at 1:41 PM, Gabriela Radu wrote: >> >>> hello! >>> >>> where can i find the code that creates a new xwiki page? i know i >>> can create new pages from xeclipse. but i wanna be able to create >>> the pages from an interface. for instance to have a text field and a >>> button, and when the button is pressed a new page will be created >>> with the name given in the text field. >>> >>> thank you for your time >> >> See http://code.xwiki.org/xwiki/bin/view/Snippets/CreatePageSnippet >> >> For HTML forms, see the FAQ or TODO tutorial for example. > > Would be good if you update the > http://code.xwiki.org/xwiki/bin/view/Snippets/CreatePageSnippet > page when you find out how to use a form to create a new page for ex. > > Another hint: check the Create Panel which does exactly this. > > Thanks > -Vincent > > ___ > 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 > -- Jean-Vincent Drean ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create new xwiki page in code
hello Vincent, i found your link most usefull , but it's made static. when i tried to give the parameters dinamically(the name of the space, and the text from a textfield) like this...it does not let me : #set($space = $request.space) #set($text = $!request.text ) afisare textfield: $text #set ($mydoc = $xwiki.getDocument("$space.$text")) $mydoc.setContent("test") $mydoc.save() i know this question is kind of a long shoot to ask..but i have no ideea why can't it work. Vincent Massol <[EMAIL PROTECTED]> wrote: On May 14, 2008, at 1:49 PM, Vincent Massol wrote: > Hi, > > On May 14, 2008, at 1:41 PM, Gabriela Radu wrote: > >> hello! >> >> where can i find the code that creates a new xwiki page? i know i >> can create new pages from xeclipse. but i wanna be able to create >> the pages from an interface. for instance to have a text field and a >> button, and when the button is pressed a new page will be created >> with the name given in the text field. >> >> thank you for your time > > See http://code.xwiki.org/xwiki/bin/view/Snippets/CreatePageSnippet > > For HTML forms, see the FAQ or TODO tutorial for example. Would be good if you update the http://code.xwiki.org/xwiki/bin/view/Snippets/CreatePageSnippet page when you find out how to use a form to create a new page for ex. Another hint: check the Create Panel which does exactly this. Thanks -Vincent ___ 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
[xwiki-users] create new xwiki page in code
hello! where can i find the code that creates a new xwiki page? i know i can create new pages from xeclipse. but i wanna be able to create the pages from an interface. for instance to have a text field and a button, and when the button is pressed a new page will be created with the name given in the text field. thank you for your time ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] html tags?
hello i would answer question if i only knew the answers. and question of this kind(legitimate) "is xwiki safe?" etc. i cannot explain. because i don;t know the specific facts.(although i have a clear oppinion about it) maybe i am at the beggining and i am looking for answers if i cannot find documentation only. :) Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Gabriela, On May 13, 2008, at 2:26 PM, Guillaume Lerouge wrote: > Hi Gabriela, > > >> and another thing, is this comunity using skype? so that all of >> this(asking/respoinding) can be done much faster? is there an id >> for skype? >> thx >> > > The XWiki team is available on IRC, #xwiki on irc.freenode.net . But please note that the mailing list is really the best. We recommend using the list as much as possible as: 1) it allows the full xwiki community to participate. Lots of people have day jobs and can only participate in their free time 2) it is recorded and archived 3) it spreads the support load on to everyone and not just on the xwiki committers Re the response time this is an open source project so you can't expect some fast/guaranteed response time (btw you must also answer to other's questions if you expect them to answer your questions, it's a give-give relationship). If you're looking for quick and guaranteed response time you could consider paying for XWiki support. The XPertNet company is offering such a kind of support (http://xwiki.com). Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] html tags?
i have this html code for a button that calls a javascript function: can i do the same in xwiki for a text link? if so..how? and another thing, is this comunity using skype? so that all of this(asking/respoinding) can be done much faster? is there an id for skype? thx Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] document tree plugin
thank you Thomas Mortagne <[EMAIL PROTECTED]> wrote: Hi, You can get the plugin from http://code.xwiki.org/xwiki/bin/view/Snippets/ChildPageSnippet which is not very clear... On Tue, May 13, 2008 at 11:45 AM, Gabriela Radu wrote: > hello. i have a simple question this time, i have this link.. > http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin and i want to > download this plugin. but i cannot see from where. this is where i should > have down it from, but i have no link, nothing. > thx > > > > > > > Take care , > Gabriela Radu :) > www.gabrielaradu.com > > > > > - > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > ___ > 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 Take care , Gabriela Radu :) www.gabrielaradu.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] document tree plugin
hello. i have a simple question this time, i have this link.. http://code.xwiki.org/xwiki/bin/view/Plugins/DocumentTreePlugin and i want to download this plugin. but i cannot see from where. this is where i should have down it from, but i have no link, nothing. thx Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] show results
i did not have that page. i have a changed xwiki platform and this page was deleted. that is what i wanted Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Gabriela, On May 6, 2008, at 8:56 AM, Gabriela Radu wrote: > i was blabling about XWiki.Results and asked about it. this is what > i needed and asked: > (the code from the results so that i can see my results).(did not > have this code) Sorry can you tell us exactly what is your problem? You seem to have copied the XWiki.Results page below but I'm not sure why you did that... Thanks -Vincent [snip - XWiki.Results here] ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] show results
i was blabling about XWiki.Results and asked about it. this is what i needed and asked: (the code from the results so that i can see my results).(did not have this code) #set($showdata = 0) #set($formatDate = " dd, HH:mm") ## WARNING: Do not add any empty line inside the table element. This will potentially break ## the Javascript we're using for filtering/sorting columns. It might work in FF but will break ## in other browsers like IE. This is because empty lines add elements ## when rendered. Page Space Date Last Author #if($isScored) Score #end #if($xwiki.hasAdminRights()) Actions #end #foreach ($item in $list) #set($troubi = "non") #if ($xwiki.hasAccessLevel("view", $context.user, "${context.database}:${item}")) #if ($item.class == "class java.lang.String") #set($bentrydoc = $xwiki.getDocument($item)) #elseif ($item.class == "class com.xpn.xwiki.plugin.lucene.SearchResult") #set($bentrydoc = $item) #end #set($cclass = $xwiki.getDocument("XWiki.XWikiComments").getxWikiClass()) #set($comment = $cclass.newObject()) #if($xwiki.getWebPreferenceAsInt("commentsorder",1)==0) #set($comments = $bentrydoc.getComments()) #else #set($comments = $bentrydoc.getComments(false)) #end #set($createur = $xwiki.getUserName($bentrydoc.author)) #set($ptitle = $bentrydoc.getDisplayTitle()) ## LUCENE : entries are typed #if ($bentrydoc.type) #if ($bentrydoc.type == "attachment") ${bentrydoc.filename}\\ Attachment of #end #end #if($comments.size()>0) #set($i = 0) #set($cobj = $comments.get($i)) #set($comment = $bentrydoc.display("comment", "view", $cobj)) #set($date = $cobj.getXWikiObject().get("date").value) #if($date) #set($date2 = $!xwiki.formatDate($date," MM dd HH:mm:ss") ) #end #if($bentrydoc) #set($date1 = $!xwiki.formatDate($!bentrydoc.date," MM dd HH:mm:ss") ) #end #if($date1.equals($date2) ) [$ptitle>${bentrydoc.web}.$bentrydoc.name] - 1 new comment #set($troubi ="oui") #set($desc = $cobj.getXWikiObject().get("comment").value) #else [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name] #if ($ptitle != $bentrydoc.name) - $ptitle#end #end #else #set($comment = "") [$bentrydoc.name>${bentrydoc.web}.$bentrydoc.name.replaceAll("@","%40")] #if ($ptitle != $bentrydoc.name) - $ptitle#end #end [$bentrydoc.web>${bentrydoc.web}.WebHome] $xwiki.formatDate($bentrydoc.date," MMM dd") at $xwiki.formatDate($bentrydoc.date,"HH:mm") #if($troubi =="oui") #set($createur = $xwiki.getUserName($cobj.author) ) #end #if ($createur == "XWikiGuest") Guest #else $createur #end #if ($isScored) #set($resval=$bentrydoc.score*100) #set($starurl=$xwiki.getSkinFile("icons/search/star.png")) #set($star = "") $bentrydoc.score #if($resval>10) $star #end #if($resval>20) $star #end #if($resval>40) $star #end #if($resval>60) $star #end #if($resval>90) $star #end #set ($perc = $resval.toString()) ${perc.substring(0, $perc.indexOf("."))}% #set ($bentrydoc = $xwiki.getDocument("${bentrydoc.web}.${bentrydoc.name}")) #end #if($xwiki.hasAdminRights()) Copy - Delete - Rename - Rights #end #end #end Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] looking for answers?
hello. i found this on the official website of xwiki ( http://dev.xwiki.org/xwiki/bin/view/Design/DistributedXWikiSearchEngine ) - was this developed? " Week 11-12: Implementation of customized search depending on document types, Code documentation and User documentation" still in strungle with search thing. if i copy the code from the FAq from the website. it does absolutely nothing. if i use Lucene Search it appears to do the search but it does not show them. does anyone have a clue about these things? and why the don't work? :-| Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] custom search
yeah..i know i am not admin. but my real question was about the search thing...how is it connected to those 2 files and why after i copy paste the code from the FAQ Search it does not show me the results. Thomas Mortagne <[EMAIL PROTECTED]> wrote: Hi, By default only admin users (and you are not on xwiki.org) can edit pages in XWiki space but everyone can view it. On Fri, May 2, 2008 at 10:42 AM, Gabriela Radu wrote: > a small correction to the previous email. the first image can be found here: > http://linu.s46.eatj.com/licenta/1.JPG > > Gabriela Radu wrote: Hello > > > > so far i have chosen the lucene search plugin. ( > http://linu.s46.eatj.com/licenta/lucsearch.txt ) but the results are not > displayed that is why i came back to this example of search from the faq > page from the http://www.xwiki.org/xwiki/bin/edit/FAQ/FAQSearch?&editor=wiki . > > BUT again..something is missing.. > I have 2 photos to make my point today :) > in 1.jpg .( http://linu.s46.eatj.com/licenta/l1.JPG )...on the right...the 2 > ( http://linu.s46.eatj.com/licenta/2.JPG ) included documents..xwiki.results > and xwiki.websearchcode, i cannot see what are those about. > > thanks > > > > > Take care , > Gabriela Radu :) > www.gabrielaradu.com > > > > - > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > > > > > > > Take care , > Gabriela Radu :) > www.gabrielaradu.com > > > > - > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > ___ > 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 Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] custom search
a small correction to the previous email. the first image can be found here: http://linu.s46.eatj.com/licenta/1.JPG Gabriela Radu <[EMAIL PROTECTED]> wrote: Hello so far i have chosen the lucene search plugin. ( http://linu.s46.eatj.com/licenta/lucsearch.txt ) but the results are not displayed that is why i came back to this example of search from the faq page from the http://www.xwiki.org/xwiki/bin/edit/FAQ/FAQSearch?&editor=wiki . BUT again..something is missing.. I have 2 photos to make my point today :) in 1.jpg .( http://linu.s46.eatj.com/licenta/l1.JPG )...on the right...the 2 ( http://linu.s46.eatj.com/licenta/2.JPG ) included documents..xwiki.results and xwiki.websearchcode, i cannot see what are those about. thanks Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] custom search
Hello so far i have chosen the lucene search plugin. ( http://linu.s46.eatj.com/licenta/lucsearch.txt ) but the results are not displayed that is why i came back to this example of search from the faq page from the http://www.xwiki.org/xwiki/bin/edit/FAQ/FAQSearch?&editor=wiki . BUT again..something is missing.. I have 2 photos to make my point today :) in 1.jpg .( http://linu.s46.eatj.com/licenta/l1.JPG )...on the right...the 2 ( http://linu.s46.eatj.com/licenta/2.JPG ) included documents..xwiki.results and xwiki.websearchcode, i cannot see what are those about. thanks Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create my own search...
hi i have used the Lucene Search but it does not show me the results. is there some code in Xwiki.Results that i have no access at? thx Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Gabriela, On Apr 30, 2008, at 8:27 AM, Gabriela Radu wrote: > hey. > i have followed the guidence from the links but it does not show any > result. i am sure i am doing something wrong, ...but on the website > the search form didn't work either. or i am doing something wrong > tthere..:-| i have put the word "box" in the search tag (on the > website: http://www.xwiki.org/xwiki/bin/view/FAQ/ ) i am writing the > word:'box' or 'faq' and there is no result either. do you know the > problem here? it should have searched in the current page for one.. > cause the words are from there...but no luck. Thanks for pointing that out. I've fixed the FAQ search now. But as I said below you can also look at the Main.WebSearch page. Thanks -Vincent > Vincent Massol wrote: Hi Gabriela, > > On Apr 29, 2008, at 12:21 PM, Gabriela Radu wrote: > >> hello >> i am looking at how the search property is created in xwiki because >> i wanna make my own "search" for a specific space. does anyone know >> where does the function for this operation has to be written. what >> i can tell so far... i found the search tag in more .vm files, like: >> global.vm, suggest, viewtoolbar etc but still don;t know where can i >> writte my own code. >> if u know something give a buzz. thanks:) > > No need to look at vm files at all. It's actually much simpler :) > > The best is for you to look at your Main.WebSearch or > Main.LuceneSearch page in your wiki (just edit them in wiki mode). > > Alternatively you can look at how it's done on xwiki.org for the FAQ > space for example: > > http://www.xwiki.org/xwiki/bin/view/FAQ/?viewer=code > http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?viewer=code > > Thanks > -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create my own search...
hey. i have followed the guidence from the links but it does not show any result. i am sure i am doing something wrong, ...but on the website the search form didn't work either. or i am doing something wrong tthere..:-| i have put the word "box" in the search tag (on the website: http://www.xwiki.org/xwiki/bin/view/FAQ/ ) i am writing the word:'box' or 'faq' and there is no result either. do you know the problem here? it should have searched in the current page for one.. cause the words are from there...but no luck. thx Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Gabriela, On Apr 29, 2008, at 12:21 PM, Gabriela Radu wrote: > hello > i am looking at how the search property is created in xwiki because > i wanna make my own "search" for a specific space. does anyone know > where does the function for this operation has to be written. what > i can tell so far... i found the search tag in more .vm files, like: > global.vm, suggest, viewtoolbar etc but still don;t know where can i > writte my own code. > if u know something give a buzz. thanks:) No need to look at vm files at all. It's actually much simpler :) The best is for you to look at your Main.WebSearch or Main.LuceneSearch page in your wiki (just edit them in wiki mode). Alternatively you can look at how it's done on xwiki.org for the FAQ space for example: http://www.xwiki.org/xwiki/bin/view/FAQ/?viewer=code http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?viewer=code Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] create my own search
thank you very much for your help. i will look into it :) Vincent Massol <[EMAIL PROTECTED]> wrote: Hi Gabriela, On Apr 29, 2008, at 12:21 PM, Gabriela Radu wrote: > hello > i am looking at how the search property is created in xwiki because > i wanna make my own "search" for a specific space. does anyone know > where does the function for this operation has to be written. what > i can tell so far... i found the search tag in more .vm files, like: > global.vm, suggest, viewtoolbar etc but still don;t know where can i > writte my own code. > if u know something give a buzz. thanks:) No need to look at vm files at all. It's actually much simpler :) The best is for you to look at your Main.WebSearch or Main.LuceneSearch page in your wiki (just edit them in wiki mode). Alternatively you can look at how it's done on xwiki.org for the FAQ space for example: http://www.xwiki.org/xwiki/bin/view/FAQ/?viewer=code http://www.xwiki.org/xwiki/bin/view/FAQ/FAQSearch?viewer=code Thanks -Vincent ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] create my own search
hello i am looking at how the search property is created in xwiki because i wanna make my own "search" for a specific space. does anyone know where does the function for this operation has to be written. what i can tell so far... i found the search tag in more .vm files, like: global.vm, suggest, viewtoolbar etc but still don;t know where can i writte my own code. if u know something give a buzz. thanks:) Take care , Gabriela Radu :) www.gabrielaradu.com - Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] special rights
hello again. i have tried to solve this paragraph rights for the last couple of days. didn't work :))) i made a var similar to $isAdvancedUser called $isMyUser and tried to give it or not access to parts of a page. then i tried to create a macro that i can add in my page where i want to protect the text. i was probably doing something very much wrong . and so i am starting again. i have read your idea more times to be sure i get it:) i am curious where did u put the #includeTopic('Sandbox.FirstParagraph') or more importantly where have u explained what does that mean. i see this as a method. i still don;t know if xwiki knows about methods. lost :))) Take care , Gabriela Radu :) www.gabrielaradu.com - Original Message From: [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> To: XWiki Users Sent: Tuesday, April 1, 2008 1:36:38 PM Subject: Re: [xwiki-users] special rights Hi Gabriela, Gabriela Radu wrote: > hello.. > i don't think i get what you said about the rights on space.. > i was talking about sections from the page that can have different rights(to > edit or not) then the page. > this is what i am trying to make... and yep...i said trying. a bit lost. if > you have some pointers they are more then welcomed :D > i have to write something like macros? in .vm files? > thank you Sorry if I have not been able to explain myself. In fact, the problem is that I am also a bit lost! Let's try to start again (it will help me with this issue! It is important for our group as well): We are speaking about being able to create a "page" where "sections" can have different assigned rights. Look at this: http://xepecnet..environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu It seems a "page" including text, but it only includes five "calls" to other "pages". Look at the code: #includeTopic('Sandbox.Title') #includeTopic('Sandbox.FirstParagraph') #includeTopic('Sandbox.SecondParagraph') #includeTopic('Sandbox.ThirdParagraph') #includeTopic('Sandbox.FourthParagraph') In this case I am using a page (a single XWiki entry in a single space, in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I can assign rights to any of the pieces as you do with any other page. I must not be difficult to add a button close to the starting point of each paragraph that only appears if the logged user has edit rights on each "section" and allow him/her to edit it. Please, let me know if this makes sense for you! It will be help me to decide if this makes sense for me! Then, we could go ahead completing this solution. XWiki is PLENTY of tools/features. The "only" point is to put it in the correct order :-) Cheers, Ricardo BTW: I think it is time to add XWiki to your CV ;-) -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] a quick one
does anybody know where the var $isAdvancedUser is used ? the code below is found in the xwikivars.vm but i don;t get it where it is explained, defined... #if($context.user == "XWiki.superadmin") #set($isAdvancedUser = true) thx Take care , Gabriela Radu :) www.gabrielaradu.com You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] special rights
Hello Ricardo, let me present 2 cases. 1- you are a user and u will access ca page. there you are allowed to edit the "text" part but not the "links" part. and "text" and "sumbit" are on the same page 2 - you are superadmin(administrator) and you can edit all: text and links this is what i want to do :)) i have attached a "photo"...sorry for it...didn;t have much time:)) so...if i understood correctly from your email..i do not wanna have a special button placed on the page..."edit this part" what do you think? - Original Message From: [Ricardo Rodriguez] Your EPEC Network ICT Team <[EMAIL PROTECTED]> To: XWiki Users Sent: Tuesday, April 1, 2008 1:36:38 PM Subject: Re: [xwiki-users] special rights Hi Gabriela, Gabriela Radu wrote: > hello. > i don't think i get what you said about the rights on space.. > i was talking about sections from the page that can have different rights(to > edit or not) then the page. > this is what i am trying to make... and yep..i said trying. a bit lost. if > you have some pointers they are more then welcomed :D > i have to write something like macros? in .vm files? > thank you Sorry if I have not been able to explain myself. In fact, the problem is that I am also a bit lost! Let's try to start again (it will help me with this issue! It is important for our group as well): We are speaking about being able to create a "page" where "sections" can have different assigned rights. Look at this: http://xepecnet.environmentalchange.net/xwiki/bin/view/Sandbox/NichitaStanescu It seems a "page" including text, but it only includes five "calls" to other "pages". Look at the code: #includeTopic('Sandbox.Title') #includeTopic('Sandbox.FirstParagraph') #includeTopic('Sandbox.SecondParagraph') #includeTopic('Sandbox.ThirdParagraph') #includeTopic('Sandbox.FourthParagraph') In this case I am using a page (a single XWiki entry in a single space, in this case, Sandbox.NichitaStanescu) as a "document" metaphor and I can assign rights to any of the pieces as you do with any other page. I must not be difficult to add a button close to the starting point of each paragraph that only appears if the logged user has edit rights on each "section" and allow him/her to edit it. Please, let me know if this makes sense for you! It will be help me to decide if this makes sense for me! Then, we could go ahead completing this solution. XWiki is PLENTY of tools/features. The "only" point is to put it in the correct order :-) Cheers, Ricardo BTW: I think it is time to add XWiki to your CV ;-) -- Ricardo Rodríguez Your EPEC Network ICT Team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] special rights
hello. i don't think i get what you said about the rights on space.. i was talking about sections from the page that can have different rights(to edit or not) then the page. this is what i am trying to make... and yep..i said trying. a bit lost. if you have some pointers they are more then welcomed :D i have to write something like macros? in .vm files? thank you Take care , Gabriela Radu :) www.gabrielaradu.com - Original Message From: Sergiu Dumitriu <[EMAIL PROTECTED]> To: XWiki Users Sent: Wednesday, March 26, 2008 5:36:53 PM Subject: Re: [xwiki-users] special rights Gabriela Radu wrote: > hi. > i was wondering if xwiki can be managed in that way that i can give users > rights for some part of the page. for instance : they can edit the text but > not the menu in the page. > Thank you. > What menu? There's no menu inside the page... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users No Cost - Get a month of Blockbuster Total Access now. Sweet deal for Yahoo! users and friends. http://tc.deals.yahoo.com/tc/blockbuster/text1.com ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] special rights
i was talking about a menu that i create inside...some links actually. and i don't want the user to be able to edit anything there. Take care , Gabriela Radu :) www.gabrielaradu.com - Original Message From: Sergiu Dumitriu <[EMAIL PROTECTED]> To: XWiki Users Sent: Wednesday, March 26, 2008 5:36:53 PM Subject: Re: [xwiki-users] special rights Gabriela Radu wrote: > hi. > i was wondering if xwiki can be managed in that way that i can give users > rights for some part of the page. for instance : they can edit the text but > not the menu in the page. > Thank you. > What menu? There's no menu inside the page... -- Sergiu Dumitriu http://purl.org/net/sergiu/ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] special rights
hi. i was wondering if xwiki can be managed in that way that i can give users rights for some part of the page. for instance : they can edit the text but not the menu in the page. Thank you. Never miss a thing. Make Yahoo your home page. http://www.yahoo.com/r/hs ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] photo clarity problems?
hi. i have attached a photo to my page...(the photo clarity is very high) and when seen in xwiki...it looks very unclear. does anybody knows why this happends? it's very strange. i made a image map for it but i have to add that i did nothing to the photo clarity, pixel etc..just upload it for an image map and when attached to xwiki...it;s unclear. Take care , Gabriela Radu :) www.gabrielaradu.com Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] how can i see the created tables from xwiki db?
hi. i don;t want to export my projects, i just want to see the tables that xwiki creates when i make a new space(project). how can i see that? like in using mysql you can see the db from the ".sql" . do i have something similar here? pls say yes :) Thank you! Take care , Gabriela Radu :) www.gabrielaradu.com Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] hello :D
hello regarding the css use for links .. "{style:type=div|align=left}*{style:type=span|font-size=12px|color=#ff|background-color=#FF} a {color:#FFCCDF;}[Review product feedback to designers>Rev_Desfeed]{style}*{style} " it does not work..it just shows me the css code...but the colors are the same(default) that is why i said last time that i don't think i get the use of css in xwiki. can u help me with it, pls? thanks Take care , Gabriela Radu :) www.gabrielaradu.com - Original Message From: Guillaume Lerouge <[EMAIL PROTECTED]> To: XWiki Users Sent: Monday, March 10, 2008 4:31:54 PM Subject: Re: [xwiki-users] hello :D Hi 1. changing colors of a link... i have this code: "{style:type=div|align=left}*{style:type=span|font-size=12px|color=#ff|background-color=#DE2626}[Review product feedback to designers>Rev_Desfeed]{style}*{style} " it worked fine before i made it a link:))) now i have no idea how to control the colors. i saw something on the internet about using css.. i have used css so far but in xwiki i think i don't get it. You can use CSS. the color attribute targets text color. To change a link color you need to target the element using something like a {color: #000;} 2. i wanna merge 2 cells of a table . do ya have any idea how to do that... and another thing..is there something like a forum for xwiki, or a website where all the questions have been answered can be found there? so that i won't ask question that were already asked.:) AFAIK XWiki doesn't support cell merging as of now. However you can combine the table macro with html to create merged cells, as in http://www.xwiki.com/xwiki/bin/view/Solutions/Subscription?viewer=code -> look at how the table is written. You'll find a lot of info here : http://www.xwiki.org/xwiki/bin/view/FAQ/ . Please take the time to add new entries there once you find answers to your questions. Thanks, Guillaume -Inline Attachment Follows- ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] hello :D
hi again:D as u may already now..i am a newbie at xwiki. these are my issues now: 1. changing colors of a link... i have this code: "{style:type=div|align=left}*{style:type=span|font-size=12px|color=#ff|background-color=#DE2626}[Review product feedback to designers>Rev_Desfeed]{style}*{style} " it worked fine before i made it a link:))) now i have no idea how to control the colors. i saw something on the internet about using css.. i have used css so far but in xwiki i think i don't get it. 2. i wanna merge 2 cells of a table . do ya have any idea how to do that... and another thing..is there something like a forum for xwiki, or a website where all the questions have been answered can be found there? so that i won't ask question that were already asked.:) thx Take care , Gabriela Radu :) www.gabrielaradu.com Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] a possibly stupid question but pls endulge me
i have another question besides the one with the special links... where does xwiki saves all the projects that i have made? for obvious reasons i am asking thisbecause i wanna make a backup, or if i have to update xwiki. thank you! Take care , Gabriela Radu :) www.gabrielaradu.com - Original Message From: Gabriela Radu <[EMAIL PROTECTED]> To: users@xwiki.org Sent: Monday, March 10, 2008 11:21:11 AM Subject: links hello :) i would like to add some hotspots links over an image in xwiki. is it possible? if yes..please send me a link with info(looked but no luck so far). Thank you :) Take care , Gabriela Radu :) www.gabrielaradu.com Never miss a thing. Make Yahoo your homepage. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] links
hello :) i would like to add some hotspots links over an image in xwiki. is it possible? if yes..please send me a link with info(looked but no luck so far). Thank you :) Take care , Gabriela Radu :) www.gabrielaradu.com Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users