logo       

Re: Two problems: msg#00039

php.drupal.support

Subject: Re: Two problems

Hello,

On Thu, 2004-07-08 at 14:15, Tim Altman wrote:
> On Thu, 8 Jul 2004 05:29:48 +0200, Abalieno <cesspit@xxxxxxxxxxx> wrote:
>
> > Tell me something if you know how to do that!
> >
> >> I had been wondering how to do this. Thanks for the tip. :)
>
> It is as Gordon described. In the .theme file for your theme, find the
>
> _node function and, using a static variable, keep track of the date. If
> the date changes, output the date.

not quite, you need to edit the node.tpl.php file in the simple
directory and make the modifications. I am not too sure how the template
is done, so you will most likely need to create a global variable to
store the previous date.
--
Gordon Heydon <gordon@xxxxxxxxxxxxx>

--
[ Drupal support list | http://list.drupal.org/ ]



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise