Adding a Read More button (Easyblog)
Rate this topic: 




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...
-
- 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.
Please show me an exact place where You would like this read more to be visible.
-
- Moderator
- 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.
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.
-
- Moderator
- GK User
- Wed Apr 16, 2014 3:55 pm
- Reply with quote
- Report this post
hi, did you receive the private message?
-
- 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:
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>
-
- 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
I added the line of code that you referenced to line 119, cleared the cache, however I do not see the readmore link
-
- 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.
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.
-
- Moderator
- GK User
- Fri Apr 25, 2014 6:33 pm
- Reply with quote
- Report this post
Ok sent. Please check your PM.
-
- 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.
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.
-
- 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.
-
- 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:
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 } ?>
-
- 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
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
-
- Moderator
14 posts
• Page 1 of 1