Adding a Read More button (Easyblog)

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Apr 13, 2014 4:34 pm
Reply with quote
Report this post
Is it possible to add a Read More button on the Easyblog pages? If so, how? Thanks...
User avatar
Junior Boarder

teitbite
Sun Apr 13, 2014 6:49 pm
Reply with quote
Report this post
Hi

Please show me an exact place where You would like this read more to be visible.
User avatar
Moderator

GK User
Sun Apr 13, 2014 8:23 pm
Reply with quote
Report this post
Hello,

Please see the screenshot below:

http://awesomescreenshot.com/0e42nb9yab
User avatar
Junior Boarder

teitbite
Mon Apr 14, 2014 8:33 pm
Reply with quote
Report this post
Hi

I meant an URL to an example on live site. I need to see the code to know where this should go and to which file.
User avatar
Moderator

GK User
Mon Apr 14, 2014 9:18 pm
Reply with quote
Report this post
sent in a pm
User avatar
Junior Boarder

GK User
Wed Apr 16, 2014 3:55 pm
Reply with quote
Report this post
hi, did you receive the private message?
User avatar
Junior Boarder

teitbite
Wed Apr 16, 2014 7:39 pm
Reply with quote
Report this post
Hi

Please edit file /html/com_easyblog/blog.item.link.php and add this code to line 119 right before code to add social buttons:

Code: Select all
<a href="<?php echo EasyBlogRouter::_('index.php?option=com_easyblog&view=entry&id='.$row->id); ?>" title="<?php echo $this->escape( $row->title );?>" itemprop="url">Read More</a>
User avatar
Moderator

GK User
Wed Apr 16, 2014 9:01 pm
Reply with quote
Report this post
Hello, thanks

I added the line of code that you referenced to line 119, cleared the cache, however I do not see the readmore link
User avatar
Junior Boarder

teitbite
Fri Apr 18, 2014 7:55 pm
Reply with quote
Report this post
Hi

This probably means that it's a wrong file. Please disable cache and send me an access to ftp. I need to make a test to know which file should it be.
User avatar
Moderator

GK User
Fri Apr 25, 2014 6:33 pm
Reply with quote
Report this post
Ok sent. Please check your PM.
User avatar
Junior Boarder

teitbite
Sat Apr 26, 2014 10:18 pm
Reply with quote
Report this post
Hi

I'm sorry, but the access You gave me is not working. Please check it and send me the correct one.

530 Login authentication failed. Please contact your web hosting service provider for assistance.
User avatar
Moderator

GK User
Mon May 05, 2014 5:47 pm
Reply with quote
Report this post
Sorry, I just decided to contact StackIdeas because I was in a rush, thanks.
User avatar
Junior Boarder

GK User
Mon May 05, 2014 9:58 pm
Reply with quote
Report this post
If anyone else encounters this issue, here is the fix that I received from StackIdeas. Below is the following directory of the file which needs to be modified.

JoomlaFolder/templates/gk_game/html/com_easyblog/blog.item.php
LINE 125

Add the following code:
Code: Select all
<?php if( $row->readmore ) { ?>
   <!-- Readmore link -->
<?php echo $this->fetch( 'blog.readmore.php' , array( 'row' => $row ) ); ?>
<?php } ?>
User avatar
Junior Boarder

teitbite
Wed May 07, 2014 10:32 am
Reply with quote
Report this post
Hi

Not a problem at all. Thank You for shearing a solution. My code would work as well, but I see I've not recognised the layout and thought change has to be made in blog.item.link.php instead of blog.item.php
User avatar
Moderator


cron