hi,
I need to customize the colors of the writing on facebook comments, because my background is black and not seen. I have a css that already change the color in other areas. where and how can I add the path to get to my css?
thanks
customize the color of the comments facebook
-
alexanderich1
- Phoca Newbie

- Posts: 6
- Joined: 01 Dec 2010, 13:31
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: customize the color of the comments facebook
Hi, I think, there is no way to stylize it with css, because it is an iframe - the whole facebook page (comments) is loading into your page (so maybe some javascript which will access iframe on your site, but really no experiences there
)
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Monclee
- Phoca Newbie

- Posts: 2
- Joined: 03 Feb 2011, 09:05
Re: customize the color of the comments facebook
I have the same problem =(, any ideas?
-
sherinkapotein
- Phoca Newbie

- Posts: 3
- Joined: 09 Jul 2011, 21:48
Re: customize the color of the comments facebook
FInally after a few hrs or brain mincing figured a way out
Log in to your Web Ftp and browse to the Joomla install
then go to "your_joomla_root_folder"/modules/mod_phoca_facebook_comments
open folder named tmpl
open default.php for editing
look for the line like this one
echo '<div class="pfbcc"><fb:comments href="'. $tmpl['uri'] .'" simple="1" '. $cCount.' width="'. (int)$tmpl['fb_comment_width'] .'"></fb:comments>'
Add a lil spice to this line to get your code working
echo '<div class="pfbcc"><fb:comments ' colorscheme="dark" href="'. $tmpl['uri'] .'" simple="1" '. $cCount.' width="'. (int)$tmpl['fb_comment_width'] .'"></fb:comments>'
note the addition of code colorscheme="dark" thats the buzz kill
Enjoy
Log in to your Web Ftp and browse to the Joomla install
then go to "your_joomla_root_folder"/modules/mod_phoca_facebook_comments
open folder named tmpl
open default.php for editing
look for the line like this one
echo '<div class="pfbcc"><fb:comments href="'. $tmpl['uri'] .'" simple="1" '. $cCount.' width="'. (int)$tmpl['fb_comment_width'] .'"></fb:comments>'
Add a lil spice to this line to get your code working
echo '<div class="pfbcc"><fb:comments ' colorscheme="dark" href="'. $tmpl['uri'] .'" simple="1" '. $cCount.' width="'. (int)$tmpl['fb_comment_width'] .'"></fb:comments>'
note the addition of code colorscheme="dark" thats the buzz kill
Enjoy
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: customize the color of the comments facebook
Hi, thank you for the guide.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
Frankster69
- Phoca Member

- Posts: 11
- Joined: 23 Feb 2011, 04:05
Re: customize the color of the comments facebook
Hi all,
I would like to re-open this thread. The current version of the module has changed, and the lines to alter mentioned above are now commented out and replaced with different code.
I would like to change the output of the module colors via a html override in my template. The reason is I'm implementing a template-changer in my site, giving the opprtunity to choose between a 'dark' and a 'light' version.
I have my 'dark' template set as standard, with the Phoca Facebook Comments module on 'dark' too. Resulting in white printed comments, which show good on my dark background. If I change the site to my light template, the comments remain printed white, on a close-to-white background, rendering them nearly invisible.
I've looked and found the code mentioned above by sherinkapotein, but in the current version this code is commented out ( /* ... */ ).
Now if I look in the rendered page-source, I see an iframe being called, and in the facebook url is a colorscheme. In default.php I also see references to colorscheme. I tried to change this in several locations in the file and hardcode it instead of having it ask for a string. No luck sofar however...
Could anybody show me the way? It's the same question as the OP posted here, only the module code changed, so the solution is no longer working.
thanks in advance!
Frank
I would like to re-open this thread. The current version of the module has changed, and the lines to alter mentioned above are now commented out and replaced with different code.
I would like to change the output of the module colors via a html override in my template. The reason is I'm implementing a template-changer in my site, giving the opprtunity to choose between a 'dark' and a 'light' version.
I have my 'dark' template set as standard, with the Phoca Facebook Comments module on 'dark' too. Resulting in white printed comments, which show good on my dark background. If I change the site to my light template, the comments remain printed white, on a close-to-white background, rendering them nearly invisible.
I've looked and found the code mentioned above by sherinkapotein, but in the current version this code is commented out ( /* ... */ ).
Now if I look in the rendered page-source, I see an iframe being called, and in the facebook url is a colorscheme. In default.php I also see references to colorscheme. I tried to change this in several locations in the file and hardcode it instead of having it ask for a string. No luck sofar however...
Could anybody show me the way? It's the same question as the OP posted here, only the module code changed, so the solution is no longer working.
thanks in advance!
Frank
- Jan
- Phoca Hero

- Posts: 49150
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: customize the color of the comments facebook
Hi, which version you are using?
If you find Phoca extensions useful, please support the project