When the guest book items are displayed, the top bar has Name: title. I have customized it so that "title" is now "location", and I want the display to look like this:
Name from Location
So, I need to edit something so the colon at the end of name is replaced by this > " from "
Where can I do this? i was sure it would be in the default.php in the tmpl directory, but I cannot find anything in there that controls the display of the guest book items.
Changing the guest book display
-
- Phoca Member
- Posts: 12
- Joined: 10 Oct 2009, 18:39
- Location: Canada
- Contact:
-
- Phoca Member
- Posts: 12
- Joined: 10 Oct 2009, 18:39
- Location: Canada
- Contact:
Re: Changing the guest book display
I found my answer late last night, using the Joomla template override system.
I took this file:
/components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php
and copied it here:
/templates/[your template]/html/com_phocaguestbook/phocaguestbook/default.php
Then found this code around line 137:
The semi-colon in the third line is what I wanted to change, so I just put ' | ' in there, and everything works great.
I took this file:
/components/com_phocaguestbook/views/phocaguestbook/tmpl/default.php
and copied it here:
/templates/[your template]/html/com_phocaguestbook/phocaguestbook/default.php
Then found this code around line 137:
Code: Select all
if ($values->title != '') {
if ($values->title != '') {
if ($sep == 1) {$msgpg .= ': ';}
$msgpg .= PhocaguestbookHelper::wordDelete($values->title,40,'...');
}
}
- Benno
- Phoca Hero
- Posts: 9702
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Changing the guest book display
OK,
kind regards,
Benno

kind regards,
Benno