After i upload a file i get a icon in the text.
How do i lauch the file that i just embedded in the text?

Thank you



2011/9/6 kenji4569 <[email protected]>

> > web2py gives the file in the download
> > directory for example
> >
> 5e74c950-95b2-4843-b4c6-53bc8efca8fe</plugin_elrte_widget/download/plugin_e
> >
> lrte_widget_file.file.9a877c8c8c9d285c.4361726f6c696e61323031305f612e646f63
> .doc>
> The former random string is a display file name, and just for demo.
> The latter one is an actual file name generated by web2py.
>
> Now, I remove the former, since it's confusing:
> http://dev.s-cubism.com/plugin_elrte_widget
>
> Changing the latter would require much work with deeper inspection
> into the web2py upload mechanism.
>
> Changing the look and feel such as replacing icons would be easier,
> and you should see the file_upload_or_choose() function in the usage
> code of the demo.
>
> Note that I do not implement a ready-made image/file chooser, and you
> have to implement it for your own application, starting from the usage
> code, including setting up your db and defining your image and file
> tables.
>
> Regards,
> Kenji
>
>
> On 9月6日, 午後6:01, António Ramos <[email protected]> wrote:
> > Hello Kenji,
> > Thank you for your fast work
> >
> > One problem!
> > The form is not very friendly.
> >
> > In the submit form i choose a pdf for example myfile.pdf but in the name
> > field you write the name that web2py gives the file in the download
> > directory for example
> >
> 5e74c950-95b2-4843-b4c6-53bc8efca8fe</plugin_elrte_widget/download/plugin_e
> lrte_widget_file.file.9a877c8c8c9d285c.4361726f6c696e61323031305f612e646f63
> .doc>
> > This has no meaning to the user!
> >
> > Please see attached file for what i think it would be really helpfull.
> >
> > Thank you again
> >
> > António
> >
> > 2011/9/6 kenji4569 <[email protected]>
> >
> >
> >
> >
> >
> >
> >
> > > Hi António,
> >
> > > I implemented a file chooser for the elrte widget.
> > > Please try it:
> > >http://dev.s-cubism.com/plugin_elrte_widget
> >
> > > Since the file chooser is very primitive, you may need to customize
> > > it.
> > > But, the customization would be easy with the expressive power of
> > > web2py (see the demo code).
> > > (Notice: I applied a small patch for the original elrte.js to make the
> > > file chooser available.)
> >
> > > Thanks again for your valuable feedback,
> > > Kenji
> >
> > > On 9月4日, 午後8:01, António Ramos <[email protected]> wrote:
> > > > Thank you.
> > > > I realy need your plugin ASAP but with the option to attach multiple
> pdf
> > > or
> > > > doc files.
> >
> > > > 2011/9/4 kenji4569 <[email protected]>
> >
> > > > > >the elRTE WYSIWYG Widget does not allow to "import" a file other
> than
> > > an
> > > > > >image.
> > > > > >It would be nice to import for example a pdf or a doc file
> > > > > Thanks for your proposal.
> > > > > I think it would be easy to implement it, because the image chooser
> > > > > can be customized to anything.
> > > > > I'll try to do this.
> >
> > > > > Kenji
> >
> > > > > On 9月4日, 午後6:02, António Ramos <[email protected]> wrote:
> > > > > > Hello
> > > > > > the elRTE WYSIWYG Widget does not allow to "import" a file other
> than
> > > an
> > > > > > image.
> > > > > > It would be nice to import for example a pdf or a doc file
> >
> > > > > > Thank you
> > > > > > António
> >
> > > > > > 2011/9/4 kenji4569 <[email protected]>
> >
> > > > > > > >Maybe the actual datepicker could be of some help to figure
> out
> > > how to
> > > > > > > make it moves...
> > > > > > > Thanks, but I couldn't read the source of the datepicker since
> it's
> > > > > > > compressed (I couldn't find the readable one in the host site).
> > > > > > > Other solution might be using jquery.ui.draggable, but it's not
> so
> > > > > > > light as to just make it draggable.
> > > > > > > So, for now, I leave the anytime.js unmodified.
> >
> > > > > > > Kenji
> >
> > > > > > > On 9月1日, 午後10:53, Richard Vézina <[email protected]>
> > > wrote:
> > > > > > > > Great!
> >
> > > > > > > > It nice that you take care of feedback... Don't worry about
> IE
> > > ;-)
> >
> > > > > > > > For moving, I think it a most have feature since the actual
> > > > > datepicker
> > > > > > > has
> > > > > > > > it...
> >
> > > > > > > > What has to be done to make it available?
> >
> > > > > > > > Maybe the actual datepicker could be of some help to figure
> out
> > > how
> > > > > to
> > > > > > > make
> > > > > > > > it moves...
> >
> > > > > > > > Thank Kenji
> >
> > > > > > > > Richard
> >
> > > > > > > > On Thu, Sep 1, 2011 at 6:35 AM, kenji4569 <
> [email protected]>
> > > > > wrote:
> > > > > > > > > Hi Richard,
> >
> > > > > > > > > thank you for your feedback.
> >
> > > > > > > > > >It works great except that it seems to conflict with
> jQuery UI
> > > > > tabs
> > > > > > > and
> > > > > > > > > dialog...
> > > > > > > > > I fixed it (tested Chrome, FF, IE).
> > > > > > > > > See:
> > > > >http://dev.s-cubism.com/plugin_anytime_widget/test/with_jquery_ui
> > > > > > > > > (The anytime css should precede the jquery ui css)
> >
> > > > > > > > > >It no show up when my form are called with LOAD()
> > > > > > > > > I also fixed it.
> > > > > > > > > See:
> http://dev.s-cubism.com/plugin_anytime_widget/test/_/load
> > > > > > > > > (I implemented a dynamic loader for js and css)
> >
> > > > > > > > > Note however, since IE(<=8?) could not put a dynamic css
> before
> > > > > loaded
> > > > > > > > > css,
> > > > > > > > > the conflict for jquery-ui still occurs for IE(<=8?).
> > > > > > > > > see:
> >
> > > > >
> http://dev.s-cubism.com/plugin_anytime_widget/test/with_jquery_ui/load
> >
> > > > > > > > > >there is no way we can move it like the actual
> datepicker...
> > > > > > > > > This might be difficult to implement.
> >
> > > > > > > > > Regards,
> > > > > > > > > Kenji
> >
> > > > > > > > > On 9月1日, 午前4:25, Richard Vézina <
> [email protected]>
> > > > > wrote:
> > > > > > > > > > Hello,
> >
> > > > > > > > > > I just try anydate plugin... It works great except that
> it
> > > seems
> > > > > to
> > > > > > > > > conflict
> > > > > > > > > > with jQuery UI tabs and dialog... It no show up when my
> form
> > > are
> > > > > > > called
> > > > > > > > > with
> > > > > > > > > > LOAD(), so it also could it be conflicting with LOAD() of
> > > web2py.
> > > > > > >  Also
> > > > > > > > > > there is no way we can move it like the actual
> datepicker...
> >
> > > > > > > > > > Richard
> >
> > > > > > > > > > On Tue, Aug 30, 2011 at 9:47 PM, kenji4569 <
> > > [email protected]>
> > > > > > > wrote:
> > > > > > > > > > > > I still see the same
> > > > > > > > > > > > problem with 'Format', 'Font size' and 'Font'
> dropdown
> > > > > > > selections.
> > > > > > > > > > > Sorry, I addressed the issue, and I think it would be
> > > fixed.
> > > > > > > > > > > The cause for this is null entry for the text area.
> >
> > > > > > > > > > > Kenji
> >
> > > > > > > > > > > On 8月31日, 午前12:14, tomt <[email protected]> wrote:
> > > > > > > > > > > > Hi,
> >
> > > > > > > > > > > > I tried your update, and I can now successfully
> modify
> > > text
> > > > > color
> > > > > > > and
> > > > > > > > > > > > background color with IE7 and IE8. Unfortunately I
> still
> > > see
> > > > > the
> > > > > > > same
> > > > > > > > > > > > problem with 'Format', 'Font size' and 'Font'
> dropdown
> > > > > > > selections.
> > > > > > > > > > > > That is,
> > > > > > > > > > > > the dropdown selection is erased before I can select
> an
> > > > > option.
> >
> > > > > > > > > > > > - Tom
> >
> > > > > > > > > > > > On Aug 30, 4:05 am, kenji4569 <[email protected]>
> > > wrote:
> >
> > > > > > > > > > > > > Hi, Tom.
> >
> > > > > > > > > > > > > Thank you for reporting the bug.
> > > > > > > > > > > > > I just fixed it.
> > > > > > > > > > > > > Please check:
> > >http://dev.s-cubism.com/plugin_elrte_widget
> > > > > > > > > > > > > (you might need to clear the browser cache)
> >
> > > > > > > > > > > > > [modification detail]
> > > > > > > > > > > > > I upgraded theelrteversion from 1.2 to 1.3.
> > > > > > > > > > > > > Additionally, since the version 1.3 had a serious
> IE
> > > > > problem, I
> > > > > > > > > > > > > applied some patches for it.
> > > > > > > > > > > > > I also slightly modified the plugin css not to
> conflict
> > > > > with
> > > > > > > the
> > > > > > > > > site
> > > > > > > > > > > > > css.
> > > > > > > > > > > > > (https://github.com/kenji4569/sqlabs/issues/39)
> >
> > > > > > > > > > > > > Kenji
> >
> > > > > > > > > > > > > On 8月30日, 午前11:38, tomt <[email protected]>
> wrote:
> >
> > > > > > > > > > > > > > Hi,
> >
> > > > > > > > > > > > > > Thanks for the great contributions to web2py.
>  I'm
> > > > > looking
> > > > > > > > > forward to
> > > > > > > > > > > > > > trying them.
> >
> > > > > > > > > > > > > > I implemented web2py.plugin.elrte_widget.w2p and
> > > while it
> > > > > > > worked
> > > > > > > > > > > great
> > > > > > > > > > > > > > with firefox, I had some problems using internet
> > > > > explorer.
> > > > > > > > > > > > > > Specifically, the dropdown boxes, such as the
> > > > > colorpicker,
> > > > > > > > > disappear
> > > > > > > > > > > > > > before I can make a selection.
> >
> > > > > > > > > > > > > > This happened with IE7 and IE8.  I used the same
> IE
> > > > > browser
> > > > > > > to go
> > > > > > > > > to
> > > > > > > > > > > > > > thehttp://
> > > elrte.org/demoandtheproblemdidn'texistthere.
> > > > > Does
> > > > > > > > > > > > > > anyone else see this problem?
> >
> > > > > > > > > > > > > > - Tom- Hide quoted text -
> >
> > > > > > > > > > > > > - Show quoted text -
> >
> >
> >
> >  example1.jpg
> > 91K表示ダウンロード

Reply via email to