Page 1 of 2

Phoca Download Editor Button in frontend: No CSS Styling

Posted: 19 Nov 2013, 14:24
by Maranomedia
Hi,

I have a problem with the frontend phoca download editor button. When I want to include a file (or category etc.) the complete styling gets lost, including pagination etc. It looks like sh.. :evil: . Can you tell me what´s the problem? I was able do replicate the problem on differen server, so it must be a global problem in my pont of view. Does anybody know a solution?!

Here´s a link to show you how it looks like in the frontend (I have to post links because it´s an intranet site):
-> prntscr.com/257vqs
-> prntscr.com/257vvo

Joomla: 2.1.15
PHP: 5.3.x
Editor: JCE

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 23 Nov 2013, 00:24
by Jan
Hi, do you get the same problem when you switch to standard editor in Joomla!?

Jan

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 29 May 2014, 18:57
by darr
Hello Guys,

sorry for digging out old topic, but I couldn't find the answer elsewhere.

Jan, I have pretty similar problem with styling of phoca download button editor plugin. I am using Joomla 3.x and Phoca Download 3.0 - downloaded button and once I click on the button opens the lightbox, but the content of it is completely messed up. Looks like it is missing CSS altogether. I would prefer not to modify the plugin to make it work.

Would be grateful for some tips on how to fix that.

Ohh, and replying to your question - the same story is with standard TinyMCE and JCE editors, so I guess it is not that.

Thanks.

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 29 May 2014, 22:36
by Jan
Hi, if you are using TinyMCE and you get still the problem, try to see the source code of the site and check if the CSS of phoca download is loaded on that site :idea:

Jan

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 30 May 2014, 01:41
by darr
Hi Jan,

thank you for your prompt response. Very much appreciated. CSS is not loaded anywhere - checked with both editors.

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 31 May 2014, 16:52
by Jan
Hmm, there should be loaded a phoca download css to style the button :idea:

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 03 Jun 2014, 11:48
by darr
Hi Jan,

thanks for you support. Do you have any idea how to fix this? Where this CSS should be located - in component or plugin itself?

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 03 Jun 2014, 18:56
by Jan
The CSS should be located here:
plugins/editors-xtd/phocadownload/assets/css/phocadownload.css

Anyway which template you are using, it is not loaded when beez_20 is used as they were design conflicts :idea:

Jan

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 03 Jun 2014, 20:00
by darr
Thanks for your help. Will have to check that thoroughly.

Well, I took over website maintained previously by someone else. So far didn't noticed any major conflicts. Website uses Joomla 3.2.

Re: Phoca Download Editor Button in frontend: No CSS Styling

Posted: 03 Jun 2014, 21:06
by darr
Hi Jan,

I looked more closely at the issue I was having. In case someone experience similar problem it was caused by the css conflict of Isis template and phocadownload css. Jan, you may want to have a look at it.

Generally I know I shouldn't modify css files of the component directly but that quickly solved my problem. What I did:
- Updated Phocadownload - component and plugins to the newest versions
- In media/com_phocadownload/administrator/css/phocadownload.css I added the extra line

Code: Select all

#phocadownload-links [class^="icon-"], #phocadownload-links [class*=" icon-"] {
display: inline-table;
}
as it was the isis admin template was overriding components value.

After that everything worked as expecting.

Thanks