[SOLVED] Phocadownload css bug on IE

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
Fouko
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2011, 15:04

[SOLVED] Phocadownload css bug on IE

Post by Fouko »

Hi,
I have put on a article few line like this to show some audio files

Code: Select all

{phocadownload view=fileplaylink|id=49|text=Introduction|playerwidth=328|playerheight=200|playerheightmp3=30}
When the article is displayed on Firefox it's normal but on IE I loose the css style of all the page.

here the link:
http://beta.monsalam.com/index.php?opti ... les-foyers

I'm really disappointed, it's only on IE
best,

Installed
Joomla! 1.5.22
PhocaDownload: 1.3.8
Phoca Download Plugin: 1.3.6
Button - Phoca Download: 1.3.5
K2: 2.4.1
JCE: 1.5.7.10 FR
Last edited by Fouko on 09 Apr 2011, 09:35, edited 1 time in total.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phocadownload css bug on IE

Post by Jan »

Hi, try to search this forum, it is explained many times here. In IE there is some problem to include more styles on the site, if Joomla! in some situations uses more instances for the plugin, etc., then there can be a problem :-(
If you find Phoca extensions useful, please support the project
Fouko
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 01 Apr 2011, 15:04

Re: Phocadownload css bug on IE

Post by Fouko »

Thanks for showing me the way :)

I have done something, maybe not the right thing, but it's work:
I have disable some line in the joomla/plugins/content/phocadownload.php file
line 350 to 353

Code: Select all

//$document->addCustomTag( "<style type=\"text/css\"> \n"  
//." #sbox-window.phocadownloadplaywindow   {background-color:#fff;padding:2px} \n"
//." #sbox-overlay.phocadownloadplayoverlay  {background-color:#000;} \n"			
//." </style> \n");
And I put the CSS code in the joomla template file (joomla\templates\myTemplate\css\template.css)

Code: Select all

#sbox-window.phocadownloadplaywindow   {background-color:#fff;padding:2px}
#sbox-overlay.phocadownloadplayoverlay  {background-color:#000;}
Great plugin, you're doing a really good job, thanks
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: [SOLVED] Phocadownload css bug on IE

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply