⚠ 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 forum is read-only and soon will be archived. ⚠


Juampi Mayoral

Member Since 27 Jul 2012
Offline Last Active Jan 16 2013 01:59 PM
-----

Posts I've Made

In Topic: url missing when i upload a file

18 October 2012 - 01:20 PM

Thanks Victor for your reply! I tried your code but I'm getting an error:

Undefined property: stdClass::$image

when I return $row->path.'/'.$row->image

In Topic: How can I change upload path according to the date?

17 September 2012 - 04:15 PM

Victor thanks a lot! It's worked wonderful! I was making a mistake with the path cause I wrote base_url() and my real path is "/var/www/application_name/assets/uploads"... that was the reason... :D  Problem Solved!

In Topic: How can I change upload path according to the date?

14 September 2012 - 02:32 PM

Thanks for your reply midnigther! but I still have doubt about how can I change the upload path according to the date... thankssss

In Topic: How can I change upload path according to the date?

14 September 2012 - 01:03 PM

I wanna create the folder according to some date selected by user in datepicker... for example:

If the user choose 10/07/2012 I'll have to create a folder in a path like this: assets/uploads/2012/July...

According to groceryCRUD docs I saw the callback_before_upload and I thought I'd change the folder path with this but... I tried to with no success...

I tried your code but it didn't work...

In Topic: How can I change upload path according to the date?

14 September 2012 - 02:20 AM

Hi victor thanks for your reply! But it didn't work for me... My question is if I can use 'callback_before_upload' function in order to change the upload path according to a specific date... Thanksss!