IRC Archive for channel #xwiki on 08 August 2008

Last modified by Vincent Massol on 2012/10/18 18:30

BBurns - (08/08/2008 10:44): jvdrean: is there an explanation anywhere of how the wysiwyg editor works anywhere? I assumed it just displayed the wiki  markup as it would be displayed on the page and then if the user makes any changes it translates those changes into wiki mark-up, is that the case?
jvdrean - (08/08/2008 10:45): yes
jvdrean - (08/08/2008 10:45): afaik we don't have any doc about how the wysiwyg works
BBurns - (08/08/2008 10:47): hmm, so is there a clear divide in the folders(i.e. the actual files that make up the wiki) between the part that displays code in the wysiwyg editor and the part that translates that back into wiki markup (jvdrean)
BBurns - (08/08/2008 11:14): jvdrean: Do you think I will have any hope of editing the WYSIWYG editor to insert images in the form {image:imagename.png| document=Main.documentname} or will it be too difficult?
jvdrean - (08/08/2008 11:15): I still don't get why you want to insert the document name :)
jvdrean - (08/08/2008 11:15): bburns: yep there's still hope
jvdrean - (08/08/2008 11:15): search for insertImage() in the wysiwyg folder
xwikibot - (08/08/2008 11:15): Results for [for insertImage() in the wysiwyg folder] (5 results only)
BBurns - (08/08/2008 11:16): jvdrean: I'll give you the long  version. I have various country pages which are each displayed on one wiki page
BBurns - (08/08/2008 11:16): each country has various section, e.g overview, introduction, etc.
BBurns - (08/08/2008 11:18): I want to be able to display all the overviews on a separate page. I have done this using the get ContentofSection() command and it now works well. The problem is that when I view the section on the page the images aren't displayed because the document which returns the search results obviously doesn't have those results attached
BBurns - (08/08/2008 11:19): ideally I would use  something along the lines of #includesection but this doesn't exist yet. so for now my solution is to ensure that all images have the document name in their code so that they can be displayed when I getContentofSection to another oage
BBurns - (08/08/2008 11:22): jvdrean: where is the wysiwyg folder?
jvdrean - (08/08/2008 11:23): bburns: xwiki/tiny_mce/
BBurns - (08/08/2008 11:23): aaah, I thought you mean a folder nameed wysiwyg
jvdrean - (08/08/2008 11:26): tiny_mce/themes/wikieditor/editor_template.js
BBurns - (08/08/2008 11:29): jvdrean: ok, I'll see what I can figure out, thank you
BBurns - (08/08/2008 11:38): jvdrean: I have change lots of different little things in my .js files but they seem tro make absolutely no difference. (I would have thought that I would have broken it if nothing else?)
BBurns - (08/08/2008 11:38): do I need to restart the wiki?
jvdrean - (08/08/2008 11:40): if you've made it directly in you deployed webapp you just have to clear the browser's cache
jvdrean - (08/08/2008 11:40): ctrl+shift+r with ff
BBurns - (08/08/2008 11:40): aah, ok
bburns - (08/08/2008 11:41): lol, did it in the wrong window
bburns - (08/08/2008 11:53): jvdrean: no luck, I'm thinking of giving up I'm afraid
jvdrean - (08/08/2008 11:57): bburns: the html>wiki conversion is done in xwiki/wiki_editor/plugins/core.js
xwikibot - (08/08/2008 12:49): XWiki.AndersonGodoi was modified by XWiki.AndersonGodoi (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/AndersonGodoi
xwikibot - (08/08/2008 14:22): XWiki.razmatei was modified by XWiki.razmatei (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/razmatei
xwikibot - (08/08/2008 17:00): DevGuide.Creating a form with validation and tooltips was modified by xwiki:XWiki.Sergiu (Added comment) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips
xwikibot - (08/08/2008 17:00): DevGuide.Creating a form with validation and tooltips was modified by xwiki:XWiki.Sergiu (Added comment) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips
xwikibot - (08/08/2008 17:11): DevGuide.Creating a form with validation and tooltips was modified by xwiki:XWiki.Sergiu (Deleted object) - http://platform.xwiki.org/xwiki/bin/view/DevGuide/Creating+a+form+with+validation+and+tooltips
xwikibot - (08/08/2008 19:22): XWiki.jyau10 was modified by XWiki.jyau10 (Created user) - http://www.xwiki.org/xwiki/bin/view/XWiki/jyau10

Get Connected