-
AuthorPosts
-
March 12, 2010 at 8:53 pm #149472
How can i show the author alias instead of the author name on ja_news in my homepage??:confused:
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 13, 2010 at 3:46 am #336049Hi berprado
For the case, please open modulesmod_janews2tmplblog_item.php file, at about line 59, find following code section:
<?php if ($showcreater) : ?>
<span class="createby"><?php echo $row->creater;?></span>
<?php endif; ?>
and change to:
<?php if ($showcreater) : ?>
<span class="createby"><?php echo $row->created_by_alias;?></span>
<?php endif; ?>
March 13, 2010 at 3:59 am #336055I´ll try that right away thanks
March 17, 2010 at 3:07 am #336517:(( i did as you instructed but it didn´t work, by the way the code you mention is at line 125 not 59, could that mean something?? :confused:
Anonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 18, 2010 at 7:14 am #336730Hi you
with ja news module, please open modulesmod_janewstmplblog_item.php file, at about line 50:
<?php if ($showcreater) : ?>
<span class="createby"><?php echo $row->creater;?></span><?php if ($showdate) : ?> - <?php endif; ?>
<?php endif; ?>
and change to:
<?php if ($showcreater) : ?>
<span class="createby"><?php echo $row->created_by_alias;?></span><?php if ($showdate) : ?> - <?php endif; ?>
<?php endif; ?>
March 29, 2010 at 10:08 pm #338330Yes, now it shows the author alias, great. How about showing the author alias on the ja_newsfp module???? Since i use teline for a news website i find very important to mention the source of the news and i use the author_alias to do so.
ThanksAnonymous ModeratorJA Developer
- Join date:
- September 2014
- Posts:
- 9914
- Downloads:
- 207
- Uploads:
- 152
- Thanks:
- 1789
- Thanked:
- 2008 times in 1700 posts
March 30, 2010 at 12:37 pm #338441Hi berprado
with this module, we don’t support the author name. You can open files in tmpl folder and add this code
I am sorry for not being of much help in the case.
-
AuthorPosts
This topic contains 7 replies, has 2 voices, and was last updated by Anonymous 14 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum