Page 1 of 1

[SOLVED] Phocadownload css bug on IE

Posted: 08 Apr 2011, 21:59
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

Re: Phocadownload css bug on IE

Posted: 09 Apr 2011, 00:55
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 :-(

Re: Phocadownload css bug on IE

Posted: 09 Apr 2011, 09:34
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

Re: [SOLVED] Phocadownload css bug on IE

Posted: 10 Apr 2011, 00:06
by Jan
Ok