logo       

Re: Two problems: msg#00053

php.drupal.support

Subject: Re: Two problems


> This did the trick for me.
>
> static $current_date;
>
> if (format_date($node->created, 'custom', 'Ymd') != $current_date) {
>
> $output .= " <h2>". format_date($node->created, 'custom', 'F j, Y')
> ."</h2>\n";
> $current_date = format_date($node->created, 'custom', 'Ymd');
> }

*sighs*
It's raw php code and it doesn't fit on node.tpl.php
I need to use enclosed code like <?php print $date ?>
The variables are different and I don't have a clue anout how to translate
all that.

I won't go anywhere.

Abalieno

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



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

News | FAQ | advertise