PHP how to change the code for my needs

I have the following code in a module in joomla which shows the date of an article and then to a separate line the linked title of the article.

Is it posible to change that code so that the date and the title of the article to be presented in the same line?
[php]


<?php if($params->get('show_date',1)) echo '
'.strftime($params->get('date_format','%d-%m-%Y'), strtotime($item->publish_up)).'
'; ?>
<?php if($params->get('link_title',1)) { ?><?php } ?>
<?php echo $item->title; ?>
<?php if($params->get('link_title',1)) { ?>
<?php } ?>
[/php]

Probably just by moving one of the closing div

Move the
[php].’’[/php]

from line 2 and put it at the end of line 4 like
[php]

<?php echo $item->title.''; ?>

[/php]

This should work but you may need to play about with the layout.

Sponsor our Newsletter | Privacy Policy | Terms of Service