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!
Modify Content Display
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modify Content Display
Hi, yes this can be done in the code:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
components\com_phocaguestbook\assets\phocaguestbook.css
Jan
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php
components\com_phocaguestbook\assets\phocaguestbook.css
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 08 Feb 2010, 07:31
Re: Modify Content Display
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!
-
- Phoca Newbie
- Posts: 2
- Joined: 09 Dec 2010, 14:42
Re: Modify Content Display
I'm trying to remove that bar too, if anyone can help...
- Jan
- Phoca Hero
- Posts: 48739
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Modify Content Display
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
5px solid
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>';
If you find Phoca extensions useful, please support the project