Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

FileManager module


Reply


4 Posts   865 Views

Avatar
snaip

Community Member, 180 Posts

5 July 2009 at 9:39pm

hi

can you tell me how to modify FileManager module to upload files form the server ?
at now it can only uploads files from disc, and it is not very usefull when i want to upload the same image on the different pages, because than i have 2 or more copies of the original picture and more copies of CroppedImage

Avatar
snaip

Community Member, 180 Posts

6 July 2009 at 4:07pm

or how to implement ImageField ?
i tried this

   public function getMyCMSFields() {
   if($this->owner instanceof Image) {
       return new FieldSet(
            new ImageField('Picture','Select:', $this->owner->ID)
         );
      }
   }

but i get "You can add images once you have saved for the first time."

Avatar
snaip

Community Member, 180 Posts

9 July 2009 at 8:37am

??

Avatar
UncleCheese

Forum Moderator, 4094 Posts

9 July 2009 at 8:42am

You might want to look at the DataObjectManager module if you're having trouble with FileManager.