Welcome, Guest
Username: Password: Remember me

TOPIC: browse button

browse button 09 Oct 2011 12:13 #171

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
Is there any way to put a browse button on a form field? can do this later but just wondered if there is a way that I have missed.
Last Edit: 15 Nov 2011 14:26 by admin.
The administrator has disabled public write access.

Re: browse button 10 Oct 2011 13:10 #176

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Do you mean a file browser ?

Not yet, no.

The "File" type will be present in future version.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: browse button 10 Oct 2011 13:22 #177

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
thanks, yes, I did mean a file browser. great tool anyway but looking forwards to the next step. Just getting images in views is something I seem to spend alot of time doing.
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 09:58 #832

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Files and Images are now handled since 1.4.7

www.j-cook.pro/news/releases

Have fun !!
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: mossss

Re: browse button 05 Jan 2012 10:35 #834

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
great, going to try it now!
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 11:16 #837

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
I'm trying it in my colour project just as a test, just one table and one backend and front end collection and view. Running in the sandbox, I try an upload. It enters the filename into the field but when I try to save, it just freezes on a blank screen.

Any ideas?
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 11:26 #839

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Fixed
Should be working now.

Regenerate your component.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 11:33 #840

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
ok, speedy reply, just have to pop out and will try in 30 minutes
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 11:36 #841

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
ok, tried quickly, not freezing now, but whichever type of file I try, it's saying not allowed. have tried png and jpg. extensions definitely lowercase as in the allowed field types box.
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 11:46 #842

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Yes because you didn't specified any Mime type (allowed file type).

But, now, I just fixed this to have default extensions as 'JPEG, JPG, GIF, PNG, BMP'

Please regenerate.
Coding is now a piece of cake
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 11:59 #843

  • mossss
  • mossss's Avatar
  • Offline
  • Premium Member
  • Posts: 100
  • Thank you received: 7
  • Karma: 9
ok, I thought they were ticked by default, but. just regenerated, this time it save ok, but if I then go back to edit it it comes up with error: JError: Unable to load JDom class : JDomHtmlFormInputHidden.

update

All works fine on the fly, just on a form edit that get the error.

Like the modal preview - nice touch!
Last Edit: 05 Jan 2012 12:19 by mossss.
The administrator has disabled public write access.

Re: browse button 05 Jan 2012 14:03 #845

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 987
  • Karma: 140
Try again, it should works now.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.083 seconds

Get Started