Page 1 of 1
Joomfish and Phoca Gallery Black Template
Posted: 03 Dec 2008, 14:52
by redeye
Hi!
I'm using Joomfish 2.0 RC and Phoca Gallery 2.1.0 RC with the black template installed and, I was wondering why when I show my pages in english the template it's black and when I switch language to italian the template turns back to white! I've got only two languages, so I don't know if the bug it's language related, but I see that phoca
includes a css instead of loading it. So where do I change this css??
Here my website when in english, with the black template:
http://www.redeyephoto.org/index.php?op ... 10&lang=en
Here my website when in italian, showing up the bug:
http://www.redeyephoto.org/index.php?op ... 10&lang=it
As you can see, the thumbs background turns to white when I switch language to italian, and I guess it's the default phoca template...
Re: Joomfish and Phoca Gallery Black Template
Posted: 03 Dec 2008, 15:19
by caro84g
Hi,
as far as I can see, you mean that you have a theme applied to PhocaGallery.
Could you look into your original menu-item to see the color of the background? If it is #000000 then it's the color of the template. Could you next go the the translation of this menu item and copy the parameters (or change the background color parameter too #000000).
the weird thing is that it's only the background color which isn't the color of the theme and all other colors are the theme colors.
Regards, Carolien
P.S. it's no css - a theme fills in some parameters which you can set in the configuration of Phoca Gallery and it adds new icons. See for more background info:
https://www.phoca.cz/documents/2-phoca-g ... lery-theme
Re: Joomfish and Phoca Gallery Black Template
Posted: 03 Dec 2008, 15:56
by redeye
I wished that it was a joomfish problem and maybe it is, but there is no menu to change the background color in the italian language!
I understand how template works in phoca, it's a simple file sostitution. That's why I'm wondering where phoca it's taking this background color!
Look, this is the code I get when I set Italian:
Code: Select all
<!--[if lt IE 8]>
<link rel="stylesheet" href="/components/com_phocagallery/assets/phocagalleryieall.css" type="text/css" />
<![endif]-->
<style type="text/css">
#phocagallery .name {color: #b36b00 ;}
.phocagallery-box-file {background: #fcfcfc ; border:1px solid #e8e8e8;margin: 5px;padding: 5px;}
.phocagallery-box-file-first { background: url('/components/com_phocagallery/assets/images/shadow1.png') 0 0 no-repeat; }
.phocagallery-box-file:hover, .phocagallery-box-file.hover {border:1px solid #b36b00 ; background: #f5f5f5 ;}
And now look, this is when It's normally english:
Code: Select all
<!--[if lt IE 8]>
<link rel="stylesheet" href="/components/com_phocagallery/assets/phocagalleryieall.css" type="text/css" />
<![endif]-->
<style type="text/css">
#phocagallery .name {color: #ffffff ;}
.phocagallery-box-file {background: #000000 ; border:1px solid #cccccc;margin: 5px;padding: 5px;}
.phocagallery-box-file-first { background: url('/components/com_phocagallery/assets/images/shadow1.png') 0 0 no-repeat; }
.phocagallery-box-file:hover, .phocagallery-box-file.hover {border:1px solid #ffffff ; background: #000000 ;}
I guess that Joomfish does a text sostitution when I switch language, so a css that it's being displayed in the html instead of being loaded externally gets into the jam too!
Re: Joomfish and Phoca Gallery Black Template
Posted: 03 Dec 2008, 16:22
by redeye
I've found it! It was in Joomfish! Under the italian translation of the top menu link! Every color parameter was bad! Now it's all right!
So...Thank you for the advice!!!

Re: Joomfish and Phoca Gallery Black Template
Posted: 03 Dec 2008, 18:27
by Jan
ok