⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

set_field_upload



joan

joan
  • profile picture
  • Member

Posted 11 December 2014 - 11:49 AM

Hello friends can anyone help me..

 

I have used the option set_field_upload to upload the pdf file.. and it works perfectly..

 

It shows the path for the pdf files as a link ..

 

But now i want to show the icon instead of the url when it reads from the database..

 

so Please help me to set icons..

 

 

 

 


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 12 December 2014 - 06:07 AM

Well that code to generate and show fo the download / link / etc are all piece formed up in the grocerycrud library itself ..

if u wana change it globally .. u will need to alter the library to get the desired output...

if u wana make it available for this project only.. then u will need to use callback_column to display the icon and link attached to it

 

Happy GCing :)