-
AuthorPosts
-
gjensen Friend
gjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
April 7, 2012 at 6:30 pm #175883Hi:
I want to make “read more” a no follow link to help with SEO I need to find the code below, where would I find this code?
<a href=”/<?php echo $this->item->readmore_link; ?>” class=”readon<?php echo $this->item->params->get(‘pageclass_sfx’); ?>”>
and replace with
<a href=”/<?php echo $this->item->readmore_link; ?>” class=”readon<?php echo $this->item->params->get(‘pageclass_sfx’); ?>” rel=”nofollow”>
thanks
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 8, 2012 at 3:46 pm #447762What module do you want to change?
gjensen Friendgjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
April 9, 2012 at 1:44 am #447800It’s not a module it’s code that control inserting readmore into an article
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 9, 2012 at 7:50 am #447840As you see a frontpage of ja_teline_iv, it has many “read more” links that belongs modules show them. So I need exact section/module you want to change.
nataliia Friendnataliia
- Join date:
- December 2010
- Posts:
- 37
- Downloads:
- 0
- Uploads:
- 16
- Thanks:
- 21
- Thanked:
- 1 times in 1 posts
April 9, 2012 at 3:39 pm #447880Hi!
Can you help me?
I want to make a “nofollow” links in JA Bulletin Module. How can I to do this?Thank you.
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 10, 2012 at 6:54 am #447977<em>@nataliia 313062 wrote:</em><blockquote>Hi!
Can you help me?
I want to make a “nofollow” links in JA Bulletin Module. How can I to do this?Thank you.</blockquote>
You replace the code from /templates/ja_teline_iv/html/mod_jabulletin/default.php
<a href="<?php echo $item->link; ?>" class="readon" title="<?php echo JText::sprintf('READ_MORE');?>"><?php echo JText::sprintf('READ_MORE');?></a>
with
<a href="<?php echo $item->link; ?>" class="readon" rel="nofollow" title="<?php echo JText::sprintf('READ_MORE');?>"><?php echo JText::sprintf('READ_MORE');?></a>
1 user says Thank You to khoand for this useful post
gjensen Friendgjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
April 14, 2012 at 5:07 pm #448406For JAFeatured News
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 18, 2012 at 3:29 pm #448921<em>@gjensen 313815 wrote:</em><blockquote>For JAFeatured News</blockquote>
You replace the code from /templates/ja_teline_iv/html/mod_janews_featured/default/blog.php
<a href="<?php echo $news->link?>" class="readon" title="<?php echo JText::_('READ MORE...');?>"><span><?php echo JText::_('READ MORE...');?></span></a>
with
<a href="<?php echo $news->link?>" rel="nofollow" class="readon" title="<?php echo JText::_('READ MORE...');?>"><span><?php echo JText::_('READ MORE...');?></span></a>
1 user says Thank You to khoand for this useful post
gjensen Friendgjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
May 3, 2012 at 2:27 am #451156Thanks for the info about the JAFeatured news – where do I change it for JA News Pro?
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
May 3, 2012 at 8:35 am #451214You find the code from modules/mod_janewspro/tmp/default/blog_item.php
<a href="<?php echo $row->link; ?>">
<?php echo $row->title; ?>
</a>
and
<a href="<?php echo $row->link;?>" title="<?php echo strip_tags($row->title);?>"><?php echo $row->title;?></a>
gjensen Friendgjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
May 3, 2012 at 10:24 pm #451320I’m using linear so it was located at modules/mod_janewspro/tmp1/linear/default/blog_item.php
and the code was (old)
<a href=”<?php echo $row->link; ?>” title=”<?php echo JTEXT::_(‘JANEWSPRO_READ_MORE’);?>”><span><?php echo JTEXT::_(‘JANEWSPRO_READ_MORE’);?>
new code
I changed it to <a href=”<?php echo $row->link; ?>” rel=”nofollow” title=”<?php echo JTEXT::_(‘JANEWSPRO_READ_MORE’);?>”>
<span><?php echo JTEXT::_(‘JANEWSPRO_READ_MORE’);?>gjensen Friendgjensen
- Join date:
- April 2008
- Posts:
- 62
- Downloads:
- 1
- Uploads:
- 3
- Thanks:
- 20
- Thanked:
- 6 times in 1 posts
May 4, 2012 at 8:14 pm #451469K2 comments more and add comment links now showing up in JA Featured news. http://www.greatfamilyvacationdestinations.com
I found a temporary solution of shorten the number of characters allowed in featured posts or lengthening the text, but the code, but the code should never appear there right?
-
AuthorPosts
This topic contains 12 replies, has 3 voices, and was last updated by gjensen 12 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum