Page 1 of 1

Layout flaw in Guestbook 5.0.0 ?

Posted: 05 Jan 2025, 19:37
by Sparks
Goodday Phoca Team,

I have migrated GuestBook from J3 to J4 without problems and stepped up to Guestbook 4.0.4 to 5.0.0 afterwards.
Now i notice a small difference in the layout of the guestbook posts between the GB3 and GB4/5 version.

Where in the 3 version the posts are separated by thin lines and the posting date is added under the post text in the 4/5 version the post date (seems to be) added above the post text now. But this date is actually the date of newer above it. So it appears that the separating lines have shifted one element up catching the post date of the newer post a if it is the post date of the actual post between the lines....

As you can see In the second image the post date seems to be the 24th of january but the correct date is the 17th november.
https://www.omroepzendermuseum.nl/image ... -01-05.png
https://www.omroepzendermuseum.nl/image ... -01-05.png

I did install Guestbook 5.0.0 on Joomla 4.4.9 with Cassiopeia template.

Can this be a flaw in Guestbook ?

Regards,

Bernard.

Re: Layout flaw in Guestbook 5.0.0 ?

Posted: 06 Jan 2025, 13:19
by christine
Hi Bernard,

would be useful to see live URL of Joomla 4 (not Joomla 3).

a) maybe with an override … views/guestbook/tmpl/default_comment.php

Code: Select all

?>
<blockquote class="pgblockquote pgb_sec_font"><div class="pgb-content-inside">
<?php echo $values->content . $end_quote .$end_a . '</div>';

if ($withFoot) :?>
<hr  class="hr-condensed pgb_border"/>
<small class="pgb_thi_font">
<?php if ($this->params->get('display_comment_date', 1)) {
echo HTMLHelper::_('date',  $values->date, Text::_( $this->params->get('date_format', 'DATE_FORMAT_LC') ) );
b) before doing above, try with following, it has a temporary effect on a test-site:

Code: Select all

.pgwell {
border: 2px solid #ddd;
margin: 15px 0;
padding: 29px 19px 1px;
} 

hr.pgb_border.hr-condensed {
display: none;  
}
to your: user.css of Cassiopeia.

Kind regards
Christine

Re: Layout flaw in Guestbook 5.0.0 ?

Posted: 06 Jan 2025, 21:28
by Sparks
Hi Christine,

Thank you so much for your quick reply.
The Joomla 4 site is locally available only so sorry for that.

Anyway, i have opted for the user.css addition, a few lines extra in there is no problem.
Made the border a bit thinner and i am happy with the result:

https://www.omroepzendermuseum.nl/image ... -01-06.png

Thanks for the support,
Best regards,
Bernard.

Re: Layout flaw in Guestbook 5.0.0 ?

Posted: 06 Jan 2025, 23:54
by christine
Hi Bernard,

Graag gedaan - groetjes Christine