By Erik Ellsinger on Saturday, 16 August 2014
Posted in Technical Issues
Replies 5
Likes 0
Views 895
Votes 0
1. On the blog front-page there is a headline that takes up a whole lot of room. It says "Senaste inlägg" and it seem to cause a big white space between the log headline and the blog entries. How can I remove it and take away all that white space?

2. How do I disable the read more buttons on the blog front-page?

Problems can be seen here: http://www.ffatest.se/bloggar
Hello Erik Ellsinger ,

I am really sorry for the delay of this reply as it is a weekend for us here.
1. On the blog front-page there is a headline that takes up a whole lot of room. It says "Senaste inlägg" and it seem to cause a big white space between the log headline and the blog entries. How can I remove it and take away all that white space?
>> Try apply this css code in your template css file

#ezblog-body .blog-post {
padding: 0px !important;
margin-top: 0px !important;
}


2. How do I disable the read more buttons on the blog front-page?
>> You can disable the read more button from your backend > Easyblog > setting > layout > General > Frontpage Blog Truncation > Show read more only when necessary - YES (Check my screenshot below.)
>> Or you can go to this file and remove few line code -> JoomlaFolder\components\com_easyblog\themes\default\blog.item.php

//LINE 94 until 97
<?php if( $row->readmore ) { ?>
<!-- Readmore link -->
<?php echo $this->fetch( 'blog.readmore.php' , array( 'row' => $row ) ); ?>
<?php } ?>

// And LINE 120 until 123
<?php if( $row->readmore ) { ?>
<!-- Readmore link -->
<?php echo $this->fetch( 'blog.readmore.php' , array( 'row' => $row ) ); ?>
<?php } ?>
·
Saturday, 16 August 2014 10:22
·
0 Likes
·
0 Votes
·
0 Comments
·
I've set to show read more only when necessary to yes but it still shows the read more button because it's necessary. Isn't there a option to completely turn the read more button off? Seems a bit strange to not have that in the settings.
·
Saturday, 16 August 2014 18:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Erik,

I am really sorry for the delay of this reply as it is a weekend for us here. Here's what you can try, edit the file /components/com_easyblog/helpers/helper.php and at line 1478 locate the codes below,


$readmore = true;


Replace it with,


return false;
·
Saturday, 16 August 2014 23:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I will do that but why can't you have a option to turn off read more links in the settings? If I edit a file I will have to do that every time I update Easyblog.
·
Saturday, 16 August 2014 23:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Erik,

We'll consider adding this in the future
·
Saturday, 16 August 2014 23:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post