Facebook comment width wrong after migrating to 4.1.1

Phoca Gallery - image gallery extension
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Facebook comment width wrong after migrating to 4.1.1

Post by hmayer1980 »

Hello Jan,

I upgraded Phoca Gallery from 3.x to 4.1.1. Most of the things work fine, but the Facebook comments width is somehow fixed to 200 whereas the configured value is 600.

The HTML of the Page is <fb:comments href="http://www.hmayer.net/index.php/bildgal ... ralien2012" simple="1" width="200"></fb:comments>
The Page is at http://www.hmayer.net/index.php/bildgal ... ralien2012.
The "Comment Box Width" Setting under "Commenting Settings" is set to 600.

Do you have any idea why this is?
(I could not figure out the script responsible generating this. If you could point me to that I could try to figure it out myself...)

Thanks
Hannes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Facebook comment width wrong after migrating to 4.1.1

Post by Jan »

Hi, I found the problem, I will fix it in next release.

For now - to make a quick fix, please download this ZIP:
https://www.phoca.cz/forumfiles/default_comments-fb.zip
Unzip it and copy the file which is inside the zip to your server to:
components\com_phocagallery\views\category\tmpl\


Thank you for the info.

Jan
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Facebook comment width wrong after migrating to 4.1.1

Post by hmayer1980 »

Hi,

thanks for the file. I copied it to the Server and it is now at the requested location (the file did not exist), but It did not change anything...

location is components/com_phocagallery/views/categories/tmpl/default_comments-fb.php

Caching is disabled for the page and I cleared the browser cache - no change.
Other Ideas?

Regards
Hannes

Just to make sure - in the parameters of the joomla extensions table for com_phocagallery there are only two parameters containing "fb" - non is a width parameter. the commet widht parameter is as follows...


....play_comment_img":"0","comment_width":"600","max_comment_char":"5000","display_comment_nopup":"0","external_comment_system":"2","fb_comment_user_id":"1","pagination_thu......
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Facebook comment width wrong after migrating to 4.1.1

Post by Jan »

Hi,
location is components/com_phocagallery/views/categories/tmpl/default_comments-fb.php
your location is wrong, this should be in category view (see my previous post):
Unzip it and copy the file which is inside the zip to your server to:
components\com_phocagallery\views\category\tmpl\
Be aware: category x categories

Jan
If you find Phoca extensions useful, please support the project
User avatar
hmayer1980
Phoca Enthusiast
Phoca Enthusiast
Posts: 63
Joined: 19 Oct 2008, 01:05
Contact:

Re: Facebook comment width wrong after migrating to 4.1.1

Post by hmayer1980 »

Sorry...

lots of times I got category and categories wrong.

It works.
Many thanks

Hannes
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Facebook comment width wrong after migrating to 4.1.1

Post by Jan »

Ok, great to hear it.

Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Facebook comment width wrong after migrating to 4.1.1

Post by Jan »

Fixed in 4.1.2

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