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   849 Views

Avatar
snaip

5 July 2009 at 9:39pm Community Member, 180 Posts

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

6 July 2009 at 4:07pm Community Member, 180 Posts

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

9 July 2009 at 8:37am Community Member, 180 Posts

??

Avatar
UncleCheese

9 July 2009 at 8:42am 4085 Posts

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