-
AuthorPosts
-
idhla Friend
idhla
- Join date:
- February 2011
- Posts:
- 72
- Downloads:
- 23
- Uploads:
- 30
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 20, 2011 at 3:49 pm #163017Is there a way to include the Date and Author info on articles within the JA News Frontpage?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 20, 2011 at 6:27 pm #387319Hi,
What template and module do you use?idhla Friendidhla
- Join date:
- February 2011
- Posts:
- 72
- Downloads:
- 23
- Uploads:
- 30
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 20, 2011 at 6:35 pm #387320<em>@khoand 235428 wrote:</em><blockquote>Hi,
What template and module do you use?</blockquote>Hello, I am using JA Teline IV.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 21, 2011 at 3:42 am #387407Hi,
How do you add date & author into article? Could you give me a snapshot with your annotation is very helpful?idhla Friendidhla
- Join date:
- February 2011
- Posts:
- 72
- Downloads:
- 23
- Uploads:
- 30
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 21, 2011 at 3:20 pm #387518On 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.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 21, 2011 at 5:41 pm #387544Hi,
– 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 Friendidhla
- Join date:
- February 2011
- Posts:
- 72
- Downloads:
- 23
- Uploads:
- 30
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 21, 2011 at 6:02 pm #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 Friendidhla
- Join date:
- February 2011
- Posts:
- 72
- Downloads:
- 23
- Uploads:
- 30
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 21, 2011 at 6:18 pm #387546I did try inserting the code into the blop.php files….but no luck getting it to work…………
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
idhla Friendidhla
- Join date:
- February 2011
- Posts:
- 72
- Downloads:
- 23
- Uploads:
- 30
- Thanks:
- 9
- Thanked:
- 1 times in 1 posts
April 22, 2011 at 4:04 pm #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.
AuthorPostsViewing 10 posts - 1 through 10 (of 10 total)This topic contains 10 replies, has 2 voices, and was last updated by idhla 13 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Include Date and Author in JA News FrontPage
Viewing 10 posts - 1 through 10 (of 10 total)