Re: Filesystem browser with Cake?
Okay, so someone correct me if I'm wrong, but you don't have to have a model, you could just write a controller called files or something. Just don't set the uses property. Create the views you want, and the controller methods to go with them. Methods would be pretty standard, like index, view, delete, etc.. These methods would use the directory PHP functions (http://www.php.net/dir). Search this group for file uploading if you need that. Good luck! HTH, Eric On 2/15/07, Fedya [EMAIL PROTECTED] wrote: i'm new to cakephp and have yet to try to create anything with it. i need to create a file browser and am considering using cake, but i can't see how it would work exactly. from what i've gathered from watching the different tutorials i would need to create a component? how would i interface with the filesystem, for example let's say cake is installed in /var/www/cake and the root of the file repository is / var/files which the file browser is supposed to see. i'd like to come up with something along the lines of this: http://blog.jc21.com/ 2006-08-21/php-ajax-file-browser/ any guidance is appreciated :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: Filesystem browser with Cake?
While I'm happy to help where I can, please avoid spamming the group with redundant questions. I just noticed your identical question in another post has already been answered. It seems you just reposted during the same day with the same exact question. This just wastes time. Thanks, Eric --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Filesystem browser with Cake?
i'm new to cakephp and have yet to try to create anything with it. i need to create a file browser and am considering using cake, but i can't see how it would work exactly. from what i've gathered from watching the different tutorials i would need to create a component? how would i interface with the filesystem, for example let's say cake is installed in /var/www/cake and the root of the file repository is / var/files which the file browser is supposed to see. i'd like to come up with something along the lines of this: http://blog.jc21.com/ 2006-08-21/php-ajax-file-browser/ any guidance is appreciated :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Cake PHP group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---