How to hide date in a post

Phoca Guestbook - creating guestbooks in Joomla! CMS
Pietro
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Jan 2009, 15:26

How to hide date in a post

Post by Pietro »

Hi guys ...
Plesa, I need your help ...
I have to hide the date in a post, but I do not know how ... :(
I found this topics:
viewtopic.php?f=2&t=810&p=4680&hilit=hide+data#p4680
"EDIT: I found it! views/phocaguestbook/tmpl/default.php and comment out line 180 and the date disappears from the front end entries display"
And I did ...
I mean, I found line 180, but nothing appens ...

// if ($a_count > $a_end_count)
// {
// $end_a = "></a>"; // close the a tag if there is a open a tag
// in case <a href> ... <a href ></a>
// in case <a ... <a href >></a>
// }
// else

Can You help me, please! :(
Thanks a lot
Pietro
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48701
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to hide date in a post

Post by Jan »

Hi, you should change this file:
components\com_phocaguestbook\views\phocaguestbook\tmpl\default.php

on row 180 there is:

Code: Select all

$msgpg .= '<p align="right" style="padding-right:10px;"><small style="color:'.$this->css['secondfontcolor'].'">' . JHTML::_('date',  $values->date, JText::_( $this->tmpl['date_format'] ) ) . '</small>';
this you should to comment...

Jan
If you find Phoca extensions useful, please support the project
Pietro
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 25 Jan 2009, 15:26

Re: How to hide date in a post - SOLVED! ^_^

Post by Pietro »

Great ...
Thanks a lot, I get it ...
Have a nice day!
Pietro ^_^
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48701
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: How to hide date in a post

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply