fbpx

Astroid Framework - Next generation Joomla template builder Download Astroid

Welcome, Guest
Username: Password: Remember me

Like using Astroid?

Help us improve Astroid by providing some quick feedback.

Take the survey

TOPIC: Redefinition of modules under Astroid styles

Redefinition of modules under Astroid styles 2 weeks 3 days ago #15382

  • Rinat
  • Rinat's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
I've redefined standard modules. Popular materials in a template(mod_articles_popular).
And now I want to bring there the names of the category and the date and the author of the article, under the template styles.
But I know little php and can not withdraw? can you help?
What would these icons be displayed nearby too. Is it possible?

and for other standard material modules how to do if possible? :)
The administrator has disabled public write access.

Redefinition of modules under Astroid styles 2 weeks 1 day ago #15443

  • nishtha
  • nishtha's Avatar
  • Offline
  • Administrator
  • Posts: 307
  • Thank you received: 34
  • Karma: 6
Hi,

Well we tried cracking up our brains but couldn't really understand your query. Please simplify and tell what are you confused about.

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Redefinition of modules under Astroid styles 1 week 6 days ago #15520

  • Rinat
  • Rinat's Avatar
  • Offline
  • New Member
  • Posts: 11
  • Karma: 0
I had to change the standard set of modules - Popular Content Module.
And display there information about the category and the author and the date of publication.
But they already helped me.
It was necessary to take this code and put the right place.
<?php
$qauthor = $item->author;
$qcategory_title = $item->category_title;
$qdatetech = $item->created; // modified
$qdate = JHtml::_('date', $qdatetech, 'd.m.Y', JFactory::getApplication()->getCfg('offset'), true);
?>

<dl class="article-info">

<dd class="category-name">
<i class="far fa-folder"></i>
<?php echo $qcategory_title; ?> </dd>


<dd class="createdby" itemprop="author" itemscope="" itemtype="schema.org/Person">
<i class="far fa-user"></i>
<span itemprop="name"><?php echo $qauthor; ?></span> </dd>

<dd class="create">
<i class="far fa-calendar-alt"></i>
<time datetime="2019-06-09T18:28:39+05:00" itemprop="dateCreated">
<?php echo $qdate; ?> </time>
</dd>
</dl>
The administrator has disabled public write access.

Redefinition of modules under Astroid styles 1 week 4 days ago #15580

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 2441
  • Thank you received: 366
  • Karma: 76
Thanks for posting it here Rinat.
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.
Time to create page: 0.529 seconds