-
AuthorPosts
-
guap Friend
guap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
June 5, 2013 at 9:23 pm #188022I imported 500 articles and the created “By” are already in the article. How I can I remove the “by” (from module). When I preview the article the “by” are doubled.
Please see the attached image. Thank you
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
June 6, 2013 at 7:36 am #494975HI
<blockquote>How I can I remove the “by” (from module)</blockquote>
It looks like that word appears in article details than in module as you mentioned,
If so, open file “templates/ja_fubix/html/com_content/article/default.php” find code :
[PHP]
<i class=”icon-user”> </i><?php echo JText::sprintf(‘FUBIX_COM_CONTENT_WRITTEN_BY’, ‘<span>’.JHtml::_(‘link’, JRoute::_($cntlink), $author).'</span>’); ?>
<?php else: ?>
<i class=”icon-user”> </i><?php echo JText::sprintf(‘FUBIX_COM_CONTENT_WRITTEN_BY’, ‘<span>’.$author.'</span>’); ?>
<?php endif; ?>
[/PHP]and change it to :
[PHP]
<i class=”icon-user”> </i><?php echo ‘<span>’.JHtml::_(‘link’, JRoute::_($cntlink), $author).'</span>’; ?>
<?php else: ?>
<i class=”icon-user”> </i><?php echo ‘<span>’.$author.'</span>’; ?>
<?php endif; ?>
[/PHP]Regards
guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
June 6, 2013 at 4:24 pm #495035Thank you for a quick reply. The “by” is not appearing. 🙂
guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
June 10, 2013 at 4:25 pm #495383The “by” is not appearing anymore on single article but it is showing on Category Blog section. How I can I removed them?
Thanks you
MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
June 11, 2013 at 1:51 am #495424Hi guap,
Pls open file “templates/ja_fubix/html/com_content/category/blog_item.php”, find code (line 77-80):
[PHP]
<?php echo ‘<span class=”name”>’, JText::sprintf(‘COM_CONTENT_WRITTEN_BY’ ,
‘</span><span>’.JHtml::_(‘link’, JRoute::_(‘index.php?option=com_contact&view=contact&id=’.$this->item->contactid), $author).'</span>’); ?>
<?php else :?>
<?php echo ‘<span class=”name”>’, JText::sprintf(‘COM_CONTENT_WRITTEN_BY’, ‘</span><span>’.$author.'</span>’); ?>
[/PHP]
and replace it by :
[PHP]
<?php echo ‘<span>’.JHtml::_(‘link’, JRoute::_(‘index.php?option=com_contact&view=contact&id=’.$this->item->contactid), $author).'</span>’; ?>
<?php else :?>
<?php echo ‘<span>’.$author.'</span>’; ?>
[/PHP]Regards
1 user says Thank You to MoonSailor for this useful post
guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
June 11, 2013 at 7:28 pm #495540Thank you very much …:)
guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
July 9, 2013 at 5:12 pm #498441Another issue …
The “by” appears also on position 7 module. How can I remove them?
Thank you.MoonSailor FriendMoonSailor
- Join date:
- November 2011
- Posts:
- 1106
- Downloads:
- 0
- Uploads:
- 245
- Thanks:
- 89
- Thanked:
- 248 times in 223 posts
July 10, 2013 at 2:25 am #498467Hi guap,
Could you tell me more details? When I check in demo site, with position 7 modules, I don’t see the ‘by’ word there.
Regards
guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
July 10, 2013 at 4:22 pm #498569Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 11, 2013 at 4:32 am #498644Hi
What type of module are you assigning to this position-7?
guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
July 11, 2013 at 2:55 pm #498736Articles Category
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
July 13, 2013 at 3:42 am #498884Hi
Try opening file: /templates/ja_fubix/html/mod_articles_category/features.php
Around line 261:
[PHP]
<?php if ($params->get(‘show_author’)) :?>
<span class=”mod-articles-category-writtenby”>
<span><?php echo JText::_(‘FUBIX_ARTICLE_CATEGORY_BY’) ?>: </span>
<?php echo $item->displayAuthorName; ?>
</span>
<?php endif;?>
[/PHP]change it to:
[PHP]
<?php if ($params->get(‘show_author’)) :?>
<span class=”mod-articles-category-writtenby”>
<?php echo $item->displayAuthorName; ?>
</span>
<?php endif;?>
[/PHP]guap Friendguap
- Join date:
- March 2008
- Posts:
- 408
- Downloads:
- 16
- Uploads:
- 109
- Thanks:
- 99
- Thanked:
- 8 times in 2 posts
July 13, 2013 at 5:01 am #498891I changed the code but I don’t see any changes …
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
August 15, 2013 at 3:04 pm #502345Hi guap,
So sorry for the late, If possible, pm me admin and ftp account of site you’re working on, I will check it for you
Regards
AuthorPostsViewing 14 posts - 1 through 14 (of 14 total)This topic contains 14 replies, has 3 voices, and was last updated by Saguaros 11 years, 3 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum