Page 1 of 1

Can I Modify the Comment module (facebook)?

Posted: 17 Sep 2012, 21:23
by florianf
Hello there!
I'm currently setting up a homepage with phoca gallery for a photographer friend of mine. Everything works just fine, except the comment module.
The best option would be somthing like the gallery on facebook: comments next to the picture in a popup-frame or shadowbox, ... (I know the problem here is shadowbox code...)
I guess thats not possible though,except by possibly creating a new type of popup layer, and therefore I'm using the comment-button with the no popup option, loading a new page with photo and comment.

2 Problems with the new page showing the picture and comment module:
-I cannot change the font color of posted comments, which is a problem as the page background is dark grey - text illegible.
-The comment window is left-aligned, and not centered, but the picture is. It looks a bit out of place this way.

I do want to look into this a bit myself, but I cannot find the correct php file where the facebook comment box is implemented to the site(I do not understand the folder structure of te phoca component and where certain modules are located), so I could try to add a <center>-tag and <font> or something like this with a simple echo (is this even possible?). Can you point me to the correct php files for trying to modify the fb comment module?

thanks for your help and k.regards,
florianf

Re: Can I Modify the Comment module (facebook)?

Posted: 17 Sep 2012, 23:09
by Jan
Hi, try to see:
https://www.phoca.cz/documents/2-phoca-g ... 7-multibox
https://www.phoca.cz/documents/50-phoca/ ... al-advices (8)

All the font colors - e.g. for comments, should be set by template CSS :idea:

Phoca uses standard Joomla! MVC structure, e.g. in frontend, the commenting is stored:

components/com_phocagallery/views/detail/tmpl/ ...

Jan

Re: Can I Modify the Comment module (facebook)?

Posted: 18 Sep 2012, 15:28
by florianf
Hello Jan,
thank you for your quick and helpful reply. Multibox seems to be the ideal solution, but I cannot find it anywhere in the Control Panel.. perhaps the reason for this is that I'm using phoca gallery 2.8.1 in joomla 1.5?
---
regards,
Florian

Re: Can I Modify the Comment module (facebook)?

Posted: 27 Sep 2012, 19:08
by Jan
Hmmm, yes it is Joomla! 2.5 feature :-(

Jan