Re: FileBrowser: Installation Question

2009-05-27 Thread Bob N.

Figured it out. Of course, now I feel like an idiot...

FILEBROWSER_PATH_SERVER = '/path/to/my/filebrowser'

Adding this and other 'FILEBROWSER' settings to my project settings.py
should have been obvious.

Thanks for being kind!

On May 27, 12:05 am, patrickk  wrote:
> I don´t quite understand your question.
>
> fb_settings is imported with the filebrowser-views ... not sure if
> that answers your question.
>
> patrick
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: FileBrowser: Installation Question

2009-05-27 Thread patrickk

I don´t quite understand your question.

fb_settings is imported with the filebrowser-views ... not sure if
that answers your question.

patrick


On May 27, 4:01 am, "Bob N."  wrote:
> OK, so how do I get the fb_settings to appear in the runtime Settings?
>
> On May 26, 12:51 am, patrickk  wrote:
>
> > "change fb_settings.py" means that you can/should change the variables
> > defined there.
> > e.g., if you are not using a directory named "uploads", you have to
> > take a look at fb_settings.py and change that directory accordingly
> > (note: you don´t _have_ to use "uploads", you can use whatever you
> > want).
>
> > about the tinymce issue: this is usually related to a wrong js-path. it
> > ´s easy to find the "error" using firebug.
>
> > patrick
>
> > On May 26, 1:36 am, Daniel Hilton  wrote:
>
> > > Filebrowser uses a directory called uploads, in your media directory.
> > > You need to create it and allow the user running your wsgi instance to
> > > be able to write to it as you upload files.
>
> > > On a related note, has anyone ram into trouble installing filebrowser
> > > with tinymce? Have run usual install all fine but when you try to add
> > > an image in tinymce and click the file browser icon I get a 'u is not
> > > defined error', which I've traced back to some sort of failed
> > > installation according to moxiecode website. Have tried python
> > > setup.py install -f. But to no avail. Any ideas?
>
> > > On 25/05/2009, Bob N.  wrote:
>
> > > > I've followed the instructions properly, but I get the error:
>
> > > > OSError (2, 'No such file or directory')
>
> > > > at line 52 in Views.py: dir_list = os.listdir(os.path.join
> > > > (PATH_SERVER, path))
>
> > > > PATH_SERVER is not defined in my Settings, so I'm sure it's because I
> > > > can't figure out what to do for Basic Installation step #4.
>
> > > > 4. Change fb_settings.py
> > > > Either change fb_settings.py or overwrite the filebrowser settings in
> > > > your project settings-file (settings.py). See "Available Settings".
>
> > > > In Available Settings:
> > > > All Settings can be defined in your projects settings-file
> > > > (settings.py) or the FileBrowsers settings-file (fb_settings.py). When
> > > > using the projects settings-file, you have to use the prefix
> > > > "FILEBROWSER" for every setting (e.g. FILEBROWSER_PATH_SERVER instead
> > > > of PATH_SERVER).
>
> > > > Can someone please explain what "change fb_settings.py" means or how
> > > > to add fb_settings to my project settings.
>
> > > > Thanks!
>
> > > --
> > > Dan Hilton
> > > 
> > > DanHilton.co.uk
> > > 
>
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: FileBrowser: Installation Question

2009-05-26 Thread Bob N.

OK, so how do I get the fb_settings to appear in the runtime Settings?

On May 26, 12:51 am, patrickk  wrote:
> "change fb_settings.py" means that you can/should change the variables
> defined there.
> e.g., if you are not using a directory named "uploads", you have to
> take a look at fb_settings.py and change that directory accordingly
> (note: you don´t _have_ to use "uploads", you can use whatever you
> want).
>
> about the tinymce issue: this is usually related to a wrong js-path. it
> ´s easy to find the "error" using firebug.
>
> patrick
>
> On May 26, 1:36 am, Daniel Hilton  wrote:
>
> > Filebrowser uses a directory called uploads, in your media directory.
> > You need to create it and allow the user running your wsgi instance to
> > be able to write to it as you upload files.
>
> > On a related note, has anyone ram into trouble installing filebrowser
> > with tinymce? Have run usual install all fine but when you try to add
> > an image in tinymce and click the file browser icon I get a 'u is not
> > defined error', which I've traced back to some sort of failed
> > installation according to moxiecode website. Have tried python
> > setup.py install -f. But to no avail. Any ideas?
>
> > On 25/05/2009, Bob N.  wrote:
>
> > > I've followed the instructions properly, but I get the error:
>
> > > OSError (2, 'No such file or directory')
>
> > > at line 52 in Views.py: dir_list = os.listdir(os.path.join
> > > (PATH_SERVER, path))
>
> > > PATH_SERVER is not defined in my Settings, so I'm sure it's because I
> > > can't figure out what to do for Basic Installation step #4.
>
> > > 4. Change fb_settings.py
> > > Either change fb_settings.py or overwrite the filebrowser settings in
> > > your project settings-file (settings.py). See "Available Settings".
>
> > > In Available Settings:
> > > All Settings can be defined in your projects settings-file
> > > (settings.py) or the FileBrowsers settings-file (fb_settings.py). When
> > > using the projects settings-file, you have to use the prefix
> > > "FILEBROWSER" for every setting (e.g. FILEBROWSER_PATH_SERVER instead
> > > of PATH_SERVER).
>
> > > Can someone please explain what "change fb_settings.py" means or how
> > > to add fb_settings to my project settings.
>
> > > Thanks!
>
> > --
> > Dan Hilton
> > 
> > DanHilton.co.uk
> > 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: FileBrowser: Installation Question

2009-05-26 Thread patrickk

"change fb_settings.py" means that you can/should change the variables
defined there.
e.g., if you are not using a directory named "uploads", you have to
take a look at fb_settings.py and change that directory accordingly
(note: you don´t _have_ to use "uploads", you can use whatever you
want).

about the tinymce issue: this is usually related to a wrong js-path. it
´s easy to find the "error" using firebug.

patrick


On May 26, 1:36 am, Daniel Hilton  wrote:
> Filebrowser uses a directory called uploads, in your media directory.
> You need to create it and allow the user running your wsgi instance to
> be able to write to it as you upload files.
>
> On a related note, has anyone ram into trouble installing filebrowser
> with tinymce? Have run usual install all fine but when you try to add
> an image in tinymce and click the file browser icon I get a 'u is not
> defined error', which I've traced back to some sort of failed
> installation according to moxiecode website. Have tried python
> setup.py install -f. But to no avail. Any ideas?
>
> On 25/05/2009, Bob N.  wrote:
>
>
>
>
>
> > I've followed the instructions properly, but I get the error:
>
> > OSError (2, 'No such file or directory')
>
> > at line 52 in Views.py: dir_list = os.listdir(os.path.join
> > (PATH_SERVER, path))
>
> > PATH_SERVER is not defined in my Settings, so I'm sure it's because I
> > can't figure out what to do for Basic Installation step #4.
>
> > 4. Change fb_settings.py
> > Either change fb_settings.py or overwrite the filebrowser settings in
> > your project settings-file (settings.py). See "Available Settings".
>
> > In Available Settings:
> > All Settings can be defined in your projects settings-file
> > (settings.py) or the FileBrowsers settings-file (fb_settings.py). When
> > using the projects settings-file, you have to use the prefix
> > "FILEBROWSER" for every setting (e.g. FILEBROWSER_PATH_SERVER instead
> > of PATH_SERVER).
>
> > Can someone please explain what "change fb_settings.py" means or how
> > to add fb_settings to my project settings.
>
> > Thanks!
>
> --
> Dan Hilton
> 
> DanHilton.co.uk
> 
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: FileBrowser: Installation Question

2009-05-25 Thread Daniel Hilton

Filebrowser uses a directory called uploads, in your media directory.
You need to create it and allow the user running your wsgi instance to
be able to write to it as you upload files.

On a related note, has anyone ram into trouble installing filebrowser
with tinymce? Have run usual install all fine but when you try to add
an image in tinymce and click the file browser icon I get a 'u is not
defined error', which I've traced back to some sort of failed
installation according to moxiecode website. Have tried python
setup.py install -f. But to no avail. Any ideas?

On 25/05/2009, Bob N.  wrote:
>
> I've followed the instructions properly, but I get the error:
>
> OSError (2, 'No such file or directory')
>
> at line 52 in Views.py: dir_list = os.listdir(os.path.join
> (PATH_SERVER, path))
>
> PATH_SERVER is not defined in my Settings, so I'm sure it's because I
> can't figure out what to do for Basic Installation step #4.
>
> 4. Change fb_settings.py
> Either change fb_settings.py or overwrite the filebrowser settings in
> your project settings-file (settings.py). See "Available Settings".
>
> In Available Settings:
> All Settings can be defined in your projects settings-file
> (settings.py) or the FileBrowsers settings-file (fb_settings.py). When
> using the projects settings-file, you have to use the prefix
> "FILEBROWSER" for every setting (e.g. FILEBROWSER_PATH_SERVER instead
> of PATH_SERVER).
>
> Can someone please explain what "change fb_settings.py" means or how
> to add fb_settings to my project settings.
>
> Thanks!
>
> >
>


-- 
Dan Hilton

DanHilton.co.uk


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



FileBrowser: Installation Question

2009-05-25 Thread Bob N.

I've followed the instructions properly, but I get the error:

OSError (2, 'No such file or directory')

at line 52 in Views.py: dir_list = os.listdir(os.path.join
(PATH_SERVER, path))

PATH_SERVER is not defined in my Settings, so I'm sure it's because I
can't figure out what to do for Basic Installation step #4.

4. Change fb_settings.py
Either change fb_settings.py or overwrite the filebrowser settings in
your project settings-file (settings.py). See "Available Settings".

In Available Settings:
All Settings can be defined in your projects settings-file
(settings.py) or the FileBrowsers settings-file (fb_settings.py). When
using the projects settings-file, you have to use the prefix
"FILEBROWSER" for every setting (e.g. FILEBROWSER_PATH_SERVER instead
of PATH_SERVER).

Can someone please explain what "change fb_settings.py" means or how
to add fb_settings to my project settings.

Thanks!

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---