Joomfish and Phoca Gallery Black Template

Phoca Gallery - image gallery extension
redeye
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Dec 2008, 01:08

Joomfish and Phoca Gallery Black Template

Post 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...
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Joomfish and Phoca Gallery Black Template

Post 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
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
redeye
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Dec 2008, 01:08

Re: Joomfish and Phoca Gallery Black Template

Post 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!
redeye
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 02 Dec 2008, 01:08

Re: Joomfish and Phoca Gallery Black Template

Post 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!!! :)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Joomfish and Phoca Gallery Black Template

Post by Jan »

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