Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • idhla Friend
    #163017

    Is there a way to include the Date and Author info on articles within the JA News Frontpage?

    khoand Friend
    #387319

    Hi,
    What template and module do you use?

    idhla Friend
    #387320

    <em>@khoand 235428 wrote:</em><blockquote>Hi,
    What template and module do you use?</blockquote>

    Hello, I am using JA Teline IV.

    khoand Friend
    #387407

    Hi,
    How do you add date & author into article? Could you give me a snapshot with your annotation is very helpful?

    idhla Friend
    #387518

    On every article, there’s the option to include the date and author and it usually appears under the title. But this doesn’t happen in articles placed in the JA News FrontPage module.

    I would like for the author and date of the article to show with the article title in the JA News FrontPage.


    1. Untitled-1
    khoand Friend
    #387544

    Hi,
    – Add this code into <joomla url>modulesmod_janews_featuredtmpldefaultblog.php file


    <span class="published">
    <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$news->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
    </span>
    <span class="createdby">
    <?php $author = $params->get('link_author', 0) ? JHTML::_('link',JRoute::_('index.php?option=com_users&view=profile&member_id='.$news->created_by),$news->author) : $news->author; ?>
    <?php $author=($news->created_by_alias ? $news->created_by_alias : $author);?>
    <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
    </span>

    after


    <a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>">
    <?php echo $news->title;?>
    </a>

    idhla Friend
    #387545

    <em>@khoand 235695 wrote:</em><blockquote>Hi,
    – Add this code into <joomla url>modulesmod_janews_featuredtmpldefaultblog.php file


    <span class="published">
    <?php echo JText::sprintf('COM_CONTENT_PUBLISHED_DATE', JHTML::_('date',$news->publish_up, JText::_('DATE_FORMAT_LC2'))); ?>
    </span>
    <span class="createdby">
    <?php $author = $params->get('link_author', 0) ? JHTML::_('link',JRoute::_('index.php?option=com_users&view=profile&member_id='.$news->created_by),$news->author) : $news->author; ?>
    <?php $author=($news->created_by_alias ? $news->created_by_alias : $author);?>
    <?php echo JText::sprintf('COM_CONTENT_WRITTEN_BY', $author); ?>
    </span>

    after


    <a href="<?php echo $news->link;?>" title="<?php echo strip_tags($news->title); ?>">
    <?php echo $news->title;?>
    </a>

    </blockquote>

    do you mean: modulesmod_janews_fp….

    there’s not location mod_janews_featured and in those folders, there’s a blog.php for each location……

    idhla Friend
    #387546

    I did try inserting the code into the blop.php files….but no luck getting it to work…………

    khoand Friend
    #387547

    Hi,
    I need to know what module you use exactly? Could you give me a link to your website?

    idhla Friend
    #387659

    <em>@khoand 235701 wrote:</em><blockquote>Hi,
    I need to know what module you use exactly? Could you give me a link to your website?</blockquote>

    Hi, my client requested that I use another FrontPage type module, so I don’t need this now…but it would be a great feature to have in the future (if the devs. are watching 😉 )

    many thanks for your assistance though.

Viewing 10 posts - 1 through 10 (of 10 total)

This topic contains 10 replies, has 2 voices, and was last updated by  idhla 13 years, 7 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum