I'm trying to make an override of the Joomla! default latest articles module to display articles with:
This is What I've done at the moment in the default.php file in my override template:
<div class="blog-item-info-hp">
<div class="blog-item-author-main-hp">
<div class="blog-item-title-date-hp">
<?php echo JHtml::_('date', $item->publish_up, JText::_('d M Y')); ?>
</div>
<div class="blog-item-author-hp">
<div class="blog-author-name-hp"><a href="need PHP here to link author to the joomla contact page associated to the author"><?php echo $item->author; ?></a></div>
<div class="blog-author-image-hp"><a href="need PHP here to link author to the joomla contact page associated to the author"><img src="need PHP here to author's image" alt="need PHP here: image name" /></a></div>
</div>
</div>
<div class="blog-item-text-hp">
<div class="blog-item-title-text-hp"><a href="<?php echo $item->link; ?>"><?php echo $item->title; ?></a></div>
<div class="blog-item-title-subtext-hp">need PHP here to show article category</div>
<div class="blog-item-title-moreinfo-hp">need PHP here for first 140 characters of the article</div>
</div>
<div class="blog-item-tags-hp">
<div class="blog-orange-tag-hp"><a href="need PHP here to tag's link">need PHP here for tag's name</a></div>
<div class="blog-orange-tag-hp blog-purple-tag-hp"><a href="need PHP here to tag's link">need PHP here for tag's name</a></div>
</div>
</div>
I've wrote in every part of the code what I need as PHP code. I hope someone can help me!
Thanks in advance.