News:

Dear forum visitors, if the support forum is not available, please try again a few minutes later. Thanks!

Main Menu
Support-Forum

Saving CSS creates empty (0 bytes) jdownloads_fe.css - [Not reproduceable]

Started by Eric_Website, 16.06.2015 12:53:15

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Eric_Website

Hello!
When I try to save a modified CSS, all content is erases and I get an empty jdownloads_fe.css file.
The file is writable
jDownloads Version: 3.2.33
Joomla: 3.4.1
PHP: 5.4.41-0+deb7u1
Server: Debian Linux 7
  •  

ColinM

Hi
Do you get a message lie
"Forbidden

You don't have permission to access /administrator/index.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

Colin
Colin M
  •  

Eric_Website

Hi Colin,

I did not get any error message.
/components/com_jdownloads/assets/css is writable (755) and the owner/group is www-data, which is correct as well.
Is must be writable and accessable, because saving results in a 0 byte file.
  •  

Arno

Hi,
we will test this again. I think you have tried to change it via the jD language panel in the backend?
Please note that you should use for your modifications better the custom css file. This will not be overwritten by the next update. See documentation.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

Eric_Website

Hi Arno,

I tried to change the CSS in the Joomla backend, Components/jDownloads/Layouts/CSS File (the 2 T's).
Maybe a suggestion to warn against edits here, as they will be overwritten by a update! Now it looks like you should do it this way.

Following your suggestion, I moved my CSS edits to a custom css file, this works well. Thanks!
  •  

Arno

QuoteI tried to change the CSS in the Joomla backend, Components/jDownloads/Layouts/CSS File (the 2 T's).
I have checked this but can not reproduce your problem here.
Maybe only a problem with your installation.

QuoteMaybe a suggestion to warn against edits here, as they will be overwritten by a update!
Yes this could be useful.
Best Regards / Gruß
Arno
Please make a Donation for jDownloads and/or write a review on the Joomla! Extensions directory!
  •  

ColinM

Hi
The use of a custom css file is in the documentation see http://www.jdownloads.net/documentations/item/custom-css
jDownloads will load in jdownloads_custom.css as late as possible in the loading sequence so it overrides other css but some templates may load some css later so you may need to use the !important construct.

All front end  jD html is contained in  div jd-item-page  so if you preface any css line with .jd-item-page  then that will confine the css to jDownloads items

Colin
Colin M
  •