Jump to content

Help with code of a joomla module please...


karpen

Recommended Posts

A joomla module have the following code which displays the date of an article, and to a seperate line the linked title of that article.

 

Please help me on how to change that code so that the date and the title of the article to be presented in the same line?

<div class="smartlatest-title">
	<?php if($params->get('show_date',1)) echo '<div class="smartlatest-date">'.strftime($params->get('date_format','%d-%m-%Y'), strtotime($item->publish_up)).'</div>'; ?>
	<?php if($params->get('link_title',1)) { ?><a href="<?php echo $item->link; ?>" class="smartlatest-title-link"><?php } ?>
	<?php echo $item->title; ?>
	<?php if($params->get('link_title',1)) { ?></a><?php } ?>
</div>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.