Welcome, Guest
Username: Password: Remember me

TOPIC: File field type, eye icon not doing anything

File field type, eye icon not doing anything 06 Jun 2016 11:15 #14020

  • Ferm
  • Ferm's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 6
  • Karma: 2
I am probably missing something really simple but when I use the file field type in a form in the item view, everything works except clicking on the eye icon to view the file. Nothing happens when I click on the icon. When I click on the cross right next to it, the drop-down menu appears and it seems to work.

I get this both on my website as well as in the sandbox so I don't think it is a template issue.

Am I missing something really simple here?
The administrator has disabled public write access.

File field type, eye icon not doing anything 06 Jun 2016 16:05 #14021

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
This icon is NOT for preview. Everything is normal.

If you want the preview included in the field, just click the option 'preview' and enter a size in the form field properties.
I know it is not very ergonomic. Improvable.
Coding is now a piece of cake
The administrator has disabled public write access.

File field type, eye icon not doing anything 06 Jun 2016 16:08 #14022

  • Ferm
  • Ferm's Avatar
  • Offline
  • Junior Member
  • Posts: 39
  • Thank you received: 6
  • Karma: 2
Thanks for your quick reply! Just so I understand: is the eye meant to do anything?

Is is possible to get the file to download from in a form brick in the item view?

Thanks for your help!
The administrator has disabled public write access.

File field type, eye icon not doing anything 06 Jun 2016 16:18 #14023

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
The icons only means this field is an uploader. Nothing more.


About the download, You can only do that in the grid view. On the file column, choose to create a link and choose 'download' task.
It will garanteed a download with indirect access file to hide the real path.

I think you can do the same in a fly, but I am not sure (must check it I don't remember)
But anyways, the grid column will write the JDom call for that, and you can copy it where you like.

Hope it helps.


PS : For life accounts, a surprise is coming very soon. These days precisely.
Stay tuned.
Coding is now a piece of cake
The administrator has disabled public write access.
The following user(s) said Thank You: MorganL

File field type, eye icon not doing anything 06 Jun 2016 19:50 #14024

  • MorganL
  • MorganL's Avatar
  • Offline
  • Platinum Member
  • Posts: 438
  • Thank you received: 53
  • Karma: 16
admin wrote:


PS : For life accounts, a surprise is coming very soon. These days precisely.
Stay tuned.

I will consider this a belated birthday present.. WHAT COULD IT BE?!?!
Morgan Leecy MCSE

Novell / Linux
PHP. MYSQL, Apache, node.js
Coldfusion, JQuery, HTML5
Joomla
The administrator has disabled public write access.

File field type, eye icon not doing anything 07 Jun 2016 11:42 #14026

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Chef
  • Posts: 3711
  • Thank you received: 984
  • Karma: 140
The birthday of Cook is for september. (5 years)

Right now, this opportunity is for YOU.
Also for you Morgan...

Well, I tell you in exclusivity, it is all about affiliation program when you send us new customers with sponsored link.
Normal accounts will have account extended / re-openned, and LIFE accounts will receive direct commissions paid in their paypal.

I delay it a little bit, for a week max (It should have been released today) because I want now to reconsider the prices. Make some degressive prices for longer period. So they become more attractive. The basic price for 3 months will be 48€ instead of 45€, and the others plans will be much cheaper.
The system is deadly simple.

If you like the idea, just stay tune and prepare your social networks to be ready for promoting with your good comments.
I love the idea to build the service together and want to thanks seriously the people who helps Cook to improve everyday.

You gonna love it for sure.
Coding is now a piece of cake
The administrator has disabled public write access.
Time to create page: 0.109 seconds

Get Started