Re: New build of the plugin
I've reported these three bugs. Perhaps others can verify. I've only tested under XP and Firefox. This sequence will crash RevWeb: set the defaultfolder to specialfolderpath("desktop") put the detailed files - This does not appear to work during runtime: click at 0,0 mousedoubledown requires 3 mouse clicks... not 2 during runtime --- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Where to store data under Windows
I know this topic has been talked about before where to store Rev stacks that will be frequently (and automatically) updated when running under Windosw. As a result, I've followed the general guidance of storing these stacks in the Documents folder. This seems to avoid any problems with the Windows "virtual folders" issue. I haven't actually tested this under Windows 7, but I assume it is still a valid and safe place. However, I'm running into a new issue. My program stores video files in this same location, as these videos are tightly integrated into the program. I wouldn't mind storing the videos elsewhere if there is a better location, provided Windows will not interfere with any deleting or modifying of the video data. The issue I have is that my users could easily be storing several GB's of video data... perhaps too much for their default C drive (where the Documents folder is). Right now, my program uses the specialfolderpath("documents") command to initially determine where to store the Rev stacks and videos. I wouldn't want to offer the user the option to choose a different location for the Rev stacks, as they could easily choose a location that is effected by the virtualization issue. My current thinking: 1. Keep storing the Rev stacks in Documents folder on the C drive, so these files don't take up much room. 2. Give the user the option to select where to put the video files... ASSUMING that no matter where they choose, Windows won't interfere with adding, deleting and modifying these files. I'm not sure that this assumption is correct. If it is not, where should I restrict them to placing these videos? Is it a good assumption that if they choose any location NOT on their C drive, Windows won't interfere? Thanks. Richard Miller ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to store data under Windows
On Nov 7, 2009, at 12:12 PM, Richard Miller wrote: I know this topic has been talked about before where to store Rev stacks that will be frequently (and automatically) updated when running under Windosw. As a result, I've followed the general guidance of storing these stacks in the Documents folder. This seems to avoid any problems with the Windows "virtual folders" issue. I haven't actually tested this under Windows 7, but I assume it is still a valid and safe place. However, I'm running into a new issue. My program stores video files in this same location, as these videos are tightly integrated into the program. I wouldn't mind storing the videos In the Dictionary, searching with specialfolderpath I find the following: For Windows systems, you can also specify a CSIDL number that identifies a special folder. Some Commonly used CSIDL values are: 0x001a: The user application data folder (e.g. "C:/Documents and settings/Fred/Application Data") 0x0023: The "all users" application data folder (e.g. "C:/ Documents and settings/all users/Application Data") 0x000d: The "My Music" folder 0x000e: The "My Videos" folder 0x0027: The "My Pictures" folder Is there any reason why 0x000e: The "My Videos" folder is a not considered? Seems like an appropriate choice. sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to store data under Windows
Hi Jim, The reason for not necessarily selecting the "My Videos" folder is that the user may not wish (or be able to) store several GB's of video data under that folder... which presumably is always on their C drive. They may want it on an external drive. I know for many somewhat older computers, disk space on the C drive is limited. Richard Jim Sims wrote: On Nov 7, 2009, at 12:12 PM, Richard Miller wrote: I know this topic has been talked about before where to store Rev stacks that will be frequently (and automatically) updated when running under Windosw. As a result, I've followed the general guidance of storing these stacks in the Documents folder. This seems to avoid any problems with the Windows "virtual folders" issue. I haven't actually tested this under Windows 7, but I assume it is still a valid and safe place. However, I'm running into a new issue. My program stores video files in this same location, as these videos are tightly integrated into the program. I wouldn't mind storing the videos In the Dictionary, searching with specialfolderpath I find the following: For Windows systems, you can also specify a CSIDL number that identifies a special folder. Some Commonly used CSIDL values are: 0x001a: The user application data folder (e.g. "C:/Documents and settings/Fred/Application Data") 0x0023: The "all users" application data folder (e.g. "C:/Documents and settings/all users/Application Data") 0x000d: The "My Music" folder 0x000e: The "My Videos" folder 0x0027: The "My Pictures" folder Is there any reason why 0x000e: The "My Videos" folder is a not considered? Seems like an appropriate choice. sims ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to store data under Windows
Have it default somewhere (like the "My Documents" folder) and give the user an option (preference) to move it to where they see fit.. Check if the user picks one of the no-no folders and inform them about the issues if they are not admin.. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: How to put unicode text into a field?
Hi Devin! thanks for your help. I tried it with unicode, also utf8, but I failed. I guess the problem is, that polish is not a complete other font. There are only some charakters that are different and not part of ANSI. Therefore a word contains unicode-charakters and ANSI-charakters. But I was successful in using HTML. I could not use it in a tablefield (no TAB possible), but with some sleight of hand I build my table-field with several simple fields. :-) Reinhold Hello Reinhold, Since my stack didn't help you much with this problem I'll suggest another approach. :-) One of the difficulties in using unicode in Rev comes when mixing ASCII and Unicode text. I can think of a couple of approaches you could try (not tested): 1. Use UTF-8 as a transitional encoding. So, using your example: repeat with i = 1 to the number of marked cds put unidecode(fld "German","utf8") into tGmn put unidecode(fld "Polish","utf8") into tPol if fld "vocTable" of stack "vocListening" is empty then put tGmn & tab & tPol into tCombined else put unidecode(fld "voctable","utf8") & tab & tCombined into tCombined end if set the unicodeText of fld "vocTable" to uniencode(tCombined,"utf8") end repeat 2. Use htmlText (not sure how or if this would work with table fields): repeat with i = 1 to the number of marked cds put the htmlText of fld "German" into tGmn put the htmlText of fld "Polish" into tPol if fld "vocTable" of stack "vocListening" is empty then put tGmn & tab & tPol into tCombined else put the htmlText of fld "voctable" & tab & tCombined into tCombined end if set the htmlText of fld "vocTable" to tCombined end repeat Hope this helps. Regards, Devin Hi! Learning polish I want to use unicode text in my stack. I have a lot of cds with polish vocabularies and now I want to list them in a table with this code: repeat with i = 1 to num of marked cds if fld "VocTable" of stack "VocListing" is empty then put fld "German" & TAB into fld "VocTable" of stack "VocListing" else put fld "German" & TAB after fld "VocTable" of stack "VocListing" end if put fld "Polish" & CR after fld "VocTable" of stack "VocListing" end repeat Although in my fields the polish text is well readable in the table the special polish letters are transformed to unreadable special charakters. I studied the stack "Unicode in Revolution: Taming the Beast" by Devin Asay but I only found the code: set the unicodeText of fld "VocTable" to the unicodeText of of fld "Polish" < ... but the content of my table-field is compound of the contents of two or two hundred fields. Do anybody knows a solution? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New build of the plugin
Hello, The installer bounces a very long time in the Dock and then its stalls and makes the fans of my MacBook Pro go crazy. I have to force quit the installer. Even if the plugins are first removed from the Internet plugins folder, nothing is installed. Best, ÉrIC Le 6 nov. 2009 à 22:25, Kevin Miller a écrit : Hi all, We’ve uploaded new plugin builds to revweb.runrev.com. The following issues have been fixed: IE not returning a result from do ... in browser Plugin not working on Windows x64 Plugin not working in Firefox on MacOS 10.3.9 8410 - mouseLoc issue when scrolling 8408 - crash on stack with metal texture 8407 - mouseclick doesn't work 8403 - mouseDoubleUp not working 8392 - backdrop in revlet doesn't work 8387 - clicking links to substacks causes crash 8386 - tooltips don't appear in webplugin 8383 - popup menus in the wrong place 8380 - popup/pull down menus don't work properly 8379 - revlets won't load from p/word protected folders in Safari Kind regards, Kevin Kevin Miller ~ ke...@runrev.com ~ http://www.runrev.com/ RunRev - Software construction for everyone ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution -- My NeXT computer will Be a Mac too! -- ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: New build of the plugin
Many thanks for this new build! Effectively, this solves the mousedoubleup problem that i reported. Keep up your great good work on this landmarking release! Alejandro ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
iRev on line Page Editor
I'm wondering if anyone has already build a page editor, kind of like a wiki thing... where you are on an iRev page, you click a button and (in my case) you get the html content for # all the content of the page minus fixed headers and footers etc. # the area to be edited put that into a form field for editing, then send it back and update the page. I suspect someone has done this already and if so can you share your page code? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to store data under Windows
Hi Shao, Yes... this is what I was planning. But exactly which are the "no-no" folders under Vista and Windows 7? Are there any such folders on any drive other than C? Thanks. Richard Shao Sean wrote: Have it default somewhere (like the "My Documents" folder) and give the user an option (preference) to move it to where they see fit.. Check if the user picks one of the no-no folders and inform them about the issues if they are not admin.. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Question
Chris, Thanks for your suggestion! I could not download the zipped file you uploaded to Nabble in your last e-mail. Could you e-mail it to me? ChrisWood wrote: > > Trevor, > > That is excellent, its cut the code I was using inhalf (and I learnt about > the dispatch command)! > > > >put "" into theNewRecord["First"] >put "" into theNewRecord["Last"] >put "" into theNewRecord["DOB"] >put "" into theNewRecord["Age"] > >put 1 into theLineNo >dispatch "AddData" to Group "dataGrid 1" with theNewRecord, theLineNo > > --Select the first cell to start editing >dispatch "EditCell" to Group "dataGrid 1" with "First", theLineNo > > <\code> > > Regards > > Chris > > -- View this message in context: http://n4.nabble.com/DataGrid-Question-tp347601p584542.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iRev on line Page Editor
One of the tools that is really valuable to those doing web programming is: The free FireBug plugin for FIrefox. ( http://getfirebug.com/ ) Also a lite version for IE, Opera, and Safari This lets you drill down through all the parts of the web page being shown, and then make changes, or copy-paste, or... In the Firebug panel that pops up on the bottom half of the page, Go to 'html' tab, then right-click on "", choose 'Copy Html', then paste where you like The right click menu choices are Copy Html Copy Inner Html Copy XPath Log Events Scroll into View New Attribute... Inspect in DOM tab -- Tons of features and info This is a very well-supported plugin (add on) and used by most anyone serious about web design/management. Jim Ault Las Vegas On Nov 7, 2009, at 12:59 PM, Sivakatirswami wrote: I'm wondering if anyone has already build a page editor, kind of like a wiki thing... where you are on an iRev page, you click a button and (in my case) you get the html content for # all the content of the page minus fixed headers and footers etc. # the area to be edited put that into a form field for editing, then send it back and update the page. I suspect someone has done this already and if so can you share your page code? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Jim Ault jimaultw...@yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iRev on line Page Editor
But Firebug does not actually save edits back to the web server...I've used it myself from time to time, but I don't see any place to enter FTP info for uploading edited content. FB is amazingly useful if you are trained but I'm looking for an interface for very naive users. Click, edit, save, like a wiki, but for an individual page, though they will face the "raw" html in the div where we let them work. Should be pretty easy to build in iRev and I'll do it myself later this week but I just did not want to re-invent this if someone else had done it already. Andre... you had a simple CMS right? Jim Ault wrote: One of the tools that is really valuable to those doing web programming is: The free FireBug plugin for FIrefox. ( http://getfirebug.com/ ) Also a lite version for IE, Opera, and Safari This lets you drill down through all the parts of the web page being shown, and then make changes, or copy-paste, or... In the Firebug panel that pops up on the bottom half of the page, Go to 'html' tab, then right-click on "", choose 'Copy Html', then paste where you like The right click menu choices are Copy Html Copy Inner Html Copy XPath Log Events Scroll into View New Attribute... Inspect in DOM tab -- Tons of features and info This is a very well-supported plugin (add on) and used by most anyone serious about web design/management. Jim Ault Las Vegas On Nov 7, 2009, at 12:59 PM, Sivakatirswami wrote: I'm wondering if anyone has already build a page editor, kind of like a wiki thing... where you are on an iRev page, you click a button and (in my case) you get the html content for # all the content of the page minus fixed headers and footers etc. # the area to be edited put that into a form field for editing, then send it back and update the page. I suspect someone has done this already and if so can you share your page code? ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution Jim Ault jimaultw...@yahoo.com ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: Where to store data under Windows
Hello Richard, I often try writing a little text file to the location that they pick (and then delete it if successful.) If I can't create/write the text file then I know that they probably don't have sufficient permission and that I'm not going to be able to write anything else. Scott Morrow Elementary Software (Now with 20% less chalk dust!) web http://elementarysoftware.com/ email sc...@elementarysoftware.com -- On Nov 7, 2009, at 1:22 PM, Richard Miller wrote: Hi Shao, Yes... this is what I was planning. But exactly which are the "no- no" folders under Vista and Windows 7? Are there any such folders on any drive other than C? Thanks. Richard Shao Sean wrote: Have it default somewhere (like the "My Documents" folder) and give the user an option (preference) to move it to where they see fit.. Check if the user picks one of the no-no folders and inform them about the issues if they are not admin.. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iRev on line Page Editor
Swami -- check out the incredible CKEditor 3.0 -- I am working with it at this very moment... it uses the CDATA form to substitute a custom rich text window for a tag. It has everything you desire in an online rich text editor and more. Use it to make an "included" page for the user contributions yeah, I know - Javascript - but it is a thing of coding beauty... http://ckeditor.com/ not sure how the licensing works in your case but I think it might be pretty open..(dare I say free?) - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/7 Sivakatirswami > But Firebug does not actually save edits back to the web server...I've used > it myself from time to time, but I don't see any place to enter FTP info for > uploading edited content. FB is amazingly useful if you are trained but > > I'm looking for an interface for very naive users. Click, edit, save, like > a wiki, but for an individual page, though they will face the "raw" html in > the div where we let them work. > > Should be pretty easy to build in iRev and I'll do it myself later this > week but I just did not want to re-invent this if someone else had done it > already. > > Andre... you had a simple CMS right? > > > > > > > Jim Ault wrote: > >> One of the tools that is really valuable to those doing web programming >> is: >> >> The free FireBug plugin for FIrefox. >> ( http://getfirebug.com/ ) >> Also a lite version for IE, Opera, and Safari >> >> This lets you drill down through all the parts of the web page being >> shown, and then make changes, or copy-paste, or... >> >> In the Firebug panel that pops up on the bottom half of the page, >> Go to 'html' tab, then right-click on "", choose 'Copy Html', >> then paste where you like >> >> The right click menu choices are >> Copy Html >> Copy Inner Html >> Copy XPath >> Log Events >> Scroll into View >> New Attribute... >> Inspect in DOM tab >> -- >> Tons of features and info >> >> This is a very well-supported plugin (add on) and used by most anyone >> serious about web design/management. >> >> Jim Ault >> Las Vegas >> >> On Nov 7, 2009, at 12:59 PM, Sivakatirswami wrote: >> >> I'm wondering if anyone has already build a page editor, kind of like a >>> wiki thing... where you are on an iRev page, you click a button and (in my >>> case) you get the html content for >>> >>> >>> >>> # all the content of the page minus fixed headers and footers etc. >>> # the area to be edited >>> >>> >>> >>> put that into a form field for editing, then send it back and update the >>> page. >>> >>> I suspect someone has done this already and if so can you share your page >>> code? >>> >>> >>> ___ >>> use-revolution mailing list >>> use-revolution@lists.runrev.com >>> Please visit this url to subscribe, unsubscribe and manage your >>> subscription preferences: >>> http://lists.runrev.com/mailman/listinfo/use-revolution >>> >> >> Jim Ault >> jimaultw...@yahoo.com >> >> >> >> ___ >> use-revolution mailing list >> use-revolution@lists.runrev.com >> Please visit this url to subscribe, unsubscribe and manage your >> subscription preferences: >> http://lists.runrev.com/mailman/listinfo/use-revolution >> >> ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
from integer to floating point
Can somebody help me ? I just got something strange with 4-rc-1 and I would like I have two successive handlers, shortened here, but the beginning is exact: command changeClimat niveau lock screen set cursor to busy changeCouleur "Niveau1",niveau -- do something end changeClimat command changeCouleur lacarte,depart put depart * 4 + 1 into debut -- do something end changeCouleur well, "niveau" is an integer, say 1159 "depart" is also an integer, 1159 as you would expect ... but "debut" is 4638.568627 (instead of 4637) The variable names are NOT used anywhere else in the stack. If I past and test these handlers in another stack, they work as expected, so it is probably due to something in this stack, but what ? I just started with it this evening and it contains practically nothing except one slider (calling changeclimat with its thumbposition) and six images. Many thanks for any idea - I have none left... Jacques ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: from integer to floating point
when working with sliders or any time fractional numbers might involved, it's useful to use the round( function on such situations. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/7 Jacques Hausser > Can somebody help me ? > > I just got something strange with 4-rc-1 and I would like > > I have two successive handlers, shortened here, but the beginning is exact: > > command changeClimat niveau > lock screen > set cursor to busy > changeCouleur "Niveau1",niveau > -- do something > end changeClimat > > command changeCouleur lacarte,depart > put depart * 4 + 1 into debut > -- do something > end changeCouleur > > well, "niveau" is an integer, say 1159 > "depart" is also an integer, 1159 as you would expect > ... but "debut" is 4638.568627 (instead of 4637) > > The variable names are NOT used anywhere else in the stack. If I past and > test these handlers in another stack, they work as expected, so it is > probably due to something in this stack, but what ? I just started with it > this evening and it contains practically nothing except one slider (calling > changeclimat with its thumbposition) and six images. > > Many thanks for any idea - I have none left... > > Jacques > > ** > Prof. Jacques Hausser > Department of Ecology and Evolution > Biophore / Sorge > University of Lausanne > CH 1015 Lausanne > please use my private address: > 6 route de Burtigny > CH-1269 Bassins > tel/fax:++ 41 22 366 19 40 > mobile: ++ 41 79 757 05 24 > E-Mail: jacques.haus...@unil.ch > *** > > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: from integer to floating point
> The variable names are NOT used anywhere else in the stack. If I past and > test these handlers in another stack, they work as expected, so it is > probably due to something in this stack, but what ? I just started with it > this evening and it contains practically nothing except one slider (calling > changeclimat with its thumbposition) and six images. It's an oddity of scrollbars that they appear to produce integers, but actually they are floating point numbers. Round the thumbPositon before sending it on and everything should be OK. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iRev on line Page Editor
On Sun, Nov 8, 2009 at 6:59 AM, Sivakatirswami wrote: > I'm wondering if anyone has already build a page editor, kind of like a wiki > thing... where you are on an iRev page, you click a button and (in my case) > you get the html content for I have written a page like this that allows me to edit some of my pages online. The trick is in setting the page up at the start. I use text files that contain the actual data and the displaying page reads that in and formats it for display. This means that my editing page just needs to list the existing text files and allow me to select one of them for editing, or create a new text file. The form then saves the edited or new text back to one of the text files so it can be displayed as usual. I make sure to replace ampersands, less-than and greater-than signs with their HTML entities before saving. And when saving a new file, On-Rev has a nasty habit of saving the file name at the start, so I write empty to the file first, then write my text to the file in a second write). My editing page is in a protected folder since I don't allow anyone but me to edit these pages, but I can send you the scripts if you would like. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: iRev on line Page Editor
CKEditor 3.0 handles all entities -- no filtering needed, and can display source on command. It has hooks for saving and loading, etc. It's output can go right to the page with no coding. The demo even shows an Ajax thing that pops up the editor in the middle of the text it's about to edit! This is *almost* a mini version of CODA in a web page. - Stephen Barncard San Francisco http://houseofcubes.com/disco.irev 2009/11/7 Sarah Reichelt > On Sun, Nov 8, 2009 at 6:59 AM, Sivakatirswami wrote: > > I'm wondering if anyone has already build a page editor, kind of like a > wiki > > thing... where you are on an iRev page, you click a button and (in my > case) > > you get the html content for > > I have written a page like this that allows me to edit some of my > pages online. The trick is in setting the page up at the start. I use > text files that contain the actual data and the displaying page reads > that in and formats it for display. This means that my editing page > just needs to list the existing text files and allow me to select one > of them for editing, or create a new text file. The form then saves > the edited or new text back to one of the text files so it can be > displayed as usual. > > I make sure to replace ampersands, less-than and greater-than signs > with their HTML entities before saving. And when saving a new file, > On-Rev has a nasty habit of saving the file name at the start, so I > write empty to the file first, then write my text to the file in a > second write). > > My editing page is in a protected folder since I don't allow anyone > but me to edit these pages, but I can send you the scripts if you > would like. > > Cheers, > Sarah > ___ > use-revolution mailing list > use-revolution@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-revolution > ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: from integer to floating point
Thanks, Sarah and Stephen. It works ! So scrollbars issue bananaskinish integers... useful to know. I did never meet this problem till now. Have a good sunday Jacques Le 8 nov. 2009 à 00:22, Sarah Reichelt a écrit : The variable names are NOT used anywhere else in the stack. If I past and test these handlers in another stack, they work as expected, so it is probably due to something in this stack, but what ? I just started with it this evening and it contains practically nothing except one slider (calling changeclimat with its thumbposition) and six images. It's an oddity of scrollbars that they appear to produce integers, but actually they are floating point numbers. Round the thumbPositon before sending it on and everything should be OK. Cheers, Sarah ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution ** Prof. Jacques Hausser Department of Ecology and Evolution Biophore / Sorge University of Lausanne CH 1015 Lausanne please use my private address: 6 route de Burtigny CH-1269 Bassins tel/fax:++ 41 22 366 19 40 mobile: ++ 41 79 757 05 24 E-Mail: jacques.haus...@unil.ch *** ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: including a file on on-rev
Claudi Cornaz wrote: Well anyway here are some pieces of what I tried and failed. include "../lib/ccStats.irev" -- failed with "FTP error file "/testing/..//lib/cc_PageStats.irev" not present. the include call was made from a page in the "testing" folder. Why that folders name is added I don't know include "http://claudi.on-rev.com/lib/cc_PageStats.irev"; - fails I think that was a misleading error message, in that it was a failure that occurred when the on-rev client tried to download the included file to allow you to view/edit it. I suspect this because the on-rev client uses ftp, while the processing of an include in the interpreter doesn't. Still doesn't explain why it failed, or why the double '/' is in there - but if I'm right about this being an on-rev client error, then it does explain why the 'testing' was in the file path. btw - include '../lib/file.irev' does work for me. Try checking with an ftp program, rather than the irev client, that all your files are exactly where you expect them to be. -- Alex. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: DataGrid Question
Charles, See attached file, hope it is useful. Best Regards Chris On 8 Nov 2009, at 05:31, charles61 [via Runtime Revolution] wrote: > Chris, > > Thanks for your suggestion! I could not download the zipped file you > uploaded to Nabble in your last e-mail. Could you e-mail it to me? > > > ChrisWood wrote: > Trevor, > > That is excellent, its cut the code I was using inhalf (and I learnt > about the dispatch command)! > > > >put "" into theNewRecord["First"] >put "" into theNewRecord["Last"] >put "" into theNewRecord["DOB"] >put "" into theNewRecord["Age"] > >put 1 into theLineNo >dispatch "AddData" to Group "dataGrid 1" with theNewRecord, > theLineNo > > --Select the first cell to start editing >dispatch "EditCell" to Group "dataGrid 1" with "First", theLineNo > > <\code> > > Regards > > Chris > > > View message @ http://n4.nabble.com/DataGrid-Question-tp347601p584542.html > To unsubscribe from Re: DataGrid Question, click here. > -- View this message in context: http://n4.nabble.com/DataGrid-Question-tp347601p584587.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution