django-filer icon indicating copy to clipboard operation
django-filer copied to clipboard

Django-filer renders incorrectly in admin site

Open an0o0nym opened this issue 8 years ago • 18 comments

After following the installation instructions on django-filer docs website, I started the development server on my local machine and tested out if everything works. However when I open django admin site and click on filer folders, I can see that the form is not rendering correctly. The whole #content div is aligned to the right site, and the .breadcrumbs-container-inner is a mess. I am using Django 1.9.8 and Django-filer 1.2.4. I attach screen shots of what I get.(Full-window size, and small size window). Is that a bug of django-filer? Can anyone reproduce the problem, or have had similar problems in the past? How can I fix this? Screenshot #1 Screenshot #2

an0o0nym avatar Aug 11 '16 20:08 an0o0nym

this looks like django-admin-tools, but broken? I thought django-admin-tools is not a dependency of django-file (it's not mentioned in the docs?). But maybe it became one. Honestly, I've not used filer without admin-tools for a while. But what I would expect, is something more close to the default django admin.

benzkji avatar Aug 12 '16 06:08 benzkji

@benzkji Thanks for your reply!

I do not have django-admin-tools installed. Every section of django admin works fine, except the django-filer one. I tried to install django-admin-tools hoping it may fix the problem somehow, however it did not. I think it's related to the styling of django-filer, but I am not really that much into CSS.

I am wondering is it just me or has anyone had similar problems in past...

an0o0nym avatar Aug 12 '16 15:08 an0o0nym

sorry, mispelled, it's djangocms-admin-style!

benzkji avatar Aug 13 '16 06:08 benzkji

We did came across this display issue as well. Using the same versions of Django and django-filer as @an0o0nym - in a fresh project with just filer as additional app.
When adding djangocms-admin-style however the folder listing (header) displays correctly.

ohrstrom avatar Aug 15 '16 08:08 ohrstrom

@benzkji @ohrstrom You were right, after installing djangocms-admin-style the problem is gone! Thanks a lot for support!

Rookie question, should I wait until there is a commit(which solves this issue)that is merged into the django-filer repository? Or should I close this issue?

an0o0nym avatar Aug 16 '16 00:08 an0o0nym

@an0o0nym not so easy. depends wether filer is also supported to be used without djangocms-admin-style (what docs suggest), or if this will be a dependency. an oppinion from @mkoistinen may help.

in general, the situation as it's currently is not so good, because filer really changes the way the admin looks, but only for himself. without admin tools, it should look like the normal django admin.

benzkji avatar Aug 16 '16 06:08 benzkji

@benzkji, you made it clear now.

Introducing djangocms-admin-style as a filer's dependency might not be the best idea. As you mentioned - filer changes, but only for himself, the way the admin interface looks - however djangocms-admin-style changes the look of the whole admin interface, which is not what most people would like to do. @metaforx lately added a patch which references this issue - hopefully this will do the job.

Thanks a lot for your time and the feedback, I really appreciate it !

an0o0nym avatar Aug 16 '16 22:08 an0o0nym

@an0o0nym I'm using django-filer (without django-cms) and I always wondered, why the styles are broken. Can I use djangocms-admin-style without django-cms?

wiesson avatar Sep 07 '16 08:09 wiesson

@wiesson yes you can.

benzkji avatar Sep 07 '16 09:09 benzkji

Here, I have a trivial rendering problem, and would like to know how to solve it. When I used django-suit with django-filer, there are a shift between main and title block in Filer page. (red)

default

django-filer (1.2.5) djangocms-admin-style (1.2.5) suit (2.0.2)

Does anyone have idea how to solve it? thanks

ifishlin avatar Nov 05 '16 07:11 ifishlin

I'm also trying to use django-filer without djangocms-admin-style, and have encountered UI bugs similar to the original post. In the short term, I think djangocms-admin-style should listed as a dependency. But, that brings up a question for the maintainers: is that the intention? IE, should django-filer be fully functional without djangocms-admin-style? If so, then I'm guessing you would welcome PR's to break the dependency.

bhrutledge avatar Nov 09 '16 13:11 bhrutledge

This should be fixed by #934

yakky avatar Nov 09 '16 18:11 yakky

Thanks for the update, but I'm still getting UI bugs, most noticeably around the search field.

1.8: filer_1_8

1.9: filer_1_9

These are from a fresh Django startproject, followed by pip install django-filer and adding the entries to INSTALLED_APPS.

bhrutledge avatar Nov 09 '16 19:11 bhrutledge

@FinalAngel @vxsx could you have a look at the screencasts above?

yakky avatar Nov 09 '16 20:11 yakky

I also would like to use django-filer without djangocms-admin-style. Just plain Django :)

wiesson avatar Nov 09 '16 20:11 wiesson

#934 just fixed the compilation of the css file which makes filer look a bit better. Though I won't be able to touch filer again soon to fix it, I'd welcome the community to submit a pull request 👍

FinalAngel avatar Nov 10 '16 06:11 FinalAngel

I still have the exactly same issue with Django 1.11

Nomados avatar Oct 12 '17 05:10 Nomados

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 28 '22 21:07 stale[bot]

This will now be closed due to inactivity, but feel free to reopen it.

stale[bot] avatar Aug 31 '22 00:08 stale[bot]