Page 1 of 1

Modify Content Display

Posted: 08 Feb 2010, 07:56
by ignatious
Hello - first, great job, this is a very cool guestbook.

I have spent hours reading through this forum and playing with the css file and various php files. I am trying to customize the look of the content the users write (their guestbook quotes). I am trying to remove that little bar from the left side and change the font specifically for the quote of what they say. Please, where can I find this? Like:

1. if I wanted to make the body of their post italisized, is there a place somewhere I can add a <i> tag?

2. If I want to get rid of that vertical bar to the left, is there a piece of code I can remove?

Thanks so much!

Re: Modify Content Display

Posted: 08 Feb 2010, 18:25
by Jan
Hi, yes this can be done in the code:

components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php

components\com_phocaguestbook\assets\phocaguestbook.css

Jan

Re: Modify Content Display

Posted: 08 Feb 2010, 19:52
by ignatious
If I remove phocaguestbook.css entirely, the bar is still there and the only thing that changes is the link to add a post. I also don't see where in default.php the code is that displays the users comment. Can you please point me where this is? Thanks very much!

Re: Modify Content Display

Posted: 09 Dec 2010, 20:37
by lucasjota
I'm trying to remove that bar too, if anyone can help...

Re: Modify Content Display

Posted: 12 Dec 2010, 01:13
by Jan
Hi, sorry for misunderstanding, the code is in html (because the color can be set in parameters):

components/com_phocaguestbook/iews/phocaguestbook/tmpl/default.php

cca line 189

Code: Select all

$gbPosts .= '<div class="pgcontent" style="overflow: auto;border-left:5px solid '.$this->tmpl['background_color'].';">' . $values->content . $end_quote .$end_a. '</div>';
5px solid