Hi, i have phocagallery 2.7.8, i have a problem when i make a comment and Ratings.
1- I have enabled Popup windows for comments and i don't have any external comment, i use the default phocagallery.
when the popup windows is show i have the poup with the scrollbar, i don't wnat the scrollbar, becouse the the contents of the window is smaller than the size of the window and do not need the scrollbar.
2- When i open then popup rating the image on popup is alignment to right with the buttons, how to align to center?
3- These windows have a border too wide, how do I reduce it?
Hi thanks.
Customize popup Comment and Ratings
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customize popup Comment and Ratings
Hi,
1) scrollbars are needed, because if there are a lot of comments you will not see them without scrollbars - but you can customize the popup to hide the scrollbars - must be customized in the code
search this forum, there were some guides how to do it
2) the same like by 1) - needs to be customized in html/css in detail window o comment window in the code:
components/com_phocagallery/views/comments (detail)/tmpl/detault.php ...
3) which popup method do you use, e.g. borders of modal box can be set in parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
1) scrollbars are needed, because if there are a lot of comments you will not see them without scrollbars - but you can customize the popup to hide the scrollbars - must be customized in the code
2) the same like by 1) - needs to be customized in html/css in detail window o comment window in the code:
components/com_phocagallery/views/comments (detail)/tmpl/detault.php ...
3) which popup method do you use, e.g. borders of modal box can be set in parameters:
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customize popup Comment and Ratings
I saw your screenshots in PM, I think, this seems a template problem, did you check it with standard template?
If you find Phoca extensions useful, please support the project
-
alpe77
- Phoca Member

- Posts: 10
- Joined: 29 Sep 2008, 15:26
Re: Customize popup Comment and Ratings
Hi, thanks for your response...Jan wrote:I saw your screenshots in PM, I think, this seems a template problem, did you check it with standard template?
I have check with the default template i haven't this problem, i have another templatethat I use and it is this "RedEvo Aphelion" The demo of this template is here
Can you help me understand what's wrong?
-
alpe77
- Phoca Member

- Posts: 10
- Joined: 29 Sep 2008, 15:26
Re: Customize popup Comment and Ratings
Hi Jan i have resolved the problem...
After realizing that it could be the template, so the template css I saw that there was this on tag body :
The problem is this : min-width:1000px;
I have deleted this row and now i see fine...
Thanks!
After realizing that it could be the template, so the template css I saw that there was this on tag body :
Code: Select all
body {
text-align:center;
---> min-width:1000px;
padding:0;
margin:0;
}
I have deleted this row and now i see fine...
Thanks!
- Jan
- Phoca Hero

- Posts: 49190
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Customize popup Comment and Ratings
Ok
If you find Phoca extensions useful, please support the project