fbpx

An Exclusive Offer For You To Grab JD Builder ProCheck Deal of The Day

Welcome, Guest
Username: Password: Remember me

Like Using JD Builder?

Submit feature requests on github and help improve JD builder.

Submit Now

TOPIC: Redefinition of modules under Astroid styles

Redefinition of modules under Astroid styles 5 months 4 days ago #15382

  • Rinat
  • Rinat's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
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 5 months 2 days ago #15443

  • nishtha
  • nishtha's Avatar
  • Offline
  • Administrator
  • Posts: 408
  • Thank you received: 44
  • Karma: 7
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.

To know more about products check out the their documentation.
The administrator has disabled public write access.

Redefinition of modules under Astroid styles 5 months 1 day ago #15520

  • Rinat
  • Rinat's Avatar
  • Offline
  • New Member
  • Posts: 18
  • Thank you received: 1
  • Karma: 1
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 4 months 4 weeks ago #15580

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 3051
  • Thank you received: 463
  • Karma: 99
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.
Moderators: chandandeep
Time to create page: 0.238 seconds