By Jose Somoza on Tuesday, 04 March 2014
Replies 9
Likes 0
Views 1.1K
Votes 0
Hello,
As you may see in any of my posts os my blog (for example, http://www.pymenetworks.es/blog/lucha-antispam), after the article you will find the comments bellow the "related posts" and "author" sections".
I'm trying to list the comments just bellow the main article, just bello it and before he "related post" and "author sections". I couldn“t find the option in the settings.
How can I do it?
Thanks
Hello,

It looks like you are using the vintage theme. I have modified the file /components/com_easyblog/themes/vintage/blog.read.php and it works fine now
·
Wednesday, 05 March 2014 22:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Joe,

Currently this is not configurable but you can always customize the theme file which is located in /components/com_easyblog/themes/default/blog.read.php and reposition the codes below accordingly


<?php if( $system->config->get('main_comment') && $blog->allowcomment ) { ?>
<!-- Comment form and comment listings -->
<?php echo $commentHTML;?>
<?php } ?>
·
Tuesday, 04 March 2014 23:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello, I've tried to reposition the code in blog.read.php file as you told me but it seems not to work. (the code mentioned starts at line 163)
The original code is:
	<?php echo $adsenseHTML; ?>

<?php echo $this->fetch( 'blog.read.tabs.php' , array( 'related' => $blogRelatedPost ) ); ?>

<?php if( $system->config->get('main_showauthorinfo') ) { ?>
<!-- Blog Author's section -->
<?php echo $this->fetch( 'author.info.php', array( 'authorRecentPosts' => $authorRecentPosts) ); ?>
<?php } ?>

<!-- @Trigger: onAfterDisplayContent -->
<?php echo $blog->event->afterDisplayContent; ?>

<?php if( $system->config->get('main_comment') && $blog->allowcomment ) { ?>
<!-- Comment form and comment listings -->
<?php echo $commentHTML;?>
<?php } ?>

</div>

and I changed it to
	<?php echo $adsenseHTML; ?>

<?php if( $system->config->get('main_comment') && $blog->allowcomment ) { ?>
<!-- Comment form and comment listings -->
<?php echo $commentHTML;?>
<?php } ?>

<?php echo $this->fetch( 'blog.read.tabs.php' , array( 'related' => $blogRelatedPost ) ); ?>

<?php if( $system->config->get('main_showauthorinfo') ) { ?>
<!-- Blog Author's section -->
<?php echo $this->fetch( 'author.info.php', array( 'authorRecentPosts' => $authorRecentPosts) ); ?>
<?php } ?>

<!-- @Trigger: onAfterDisplayContent -->
<?php echo $blog->event->afterDisplayContent; ?>

</div>

What am I doing wrong?
Thanks

I attach the complete edited file so you may take a look.
·
Wednesday, 05 March 2014 02:40
·
0 Likes
·
0 Votes
·
0 Comments
·
What theme are you currently using?
·
Wednesday, 05 March 2014 10:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,
I'm using bluedream theme.
I've being looking for other blog.read.php files in other folders and I've some of them for other templates (example in /components/com_easyblog/themes/altium) but I didn't find any folder for the current template so I supose that it uses blog.read.php file from the default folder but is seems not to work.
Any idea?
Thanks
·
Wednesday, 05 March 2014 21:53
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Jose,

Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Wednesday, 05 March 2014 22:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Sure
·
Wednesday, 05 March 2014 22:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok, thanks.
I thought I was using another theme, that's why I didn't find the correct file.
Thanks a lot.
·
Wednesday, 05 March 2014 23:32
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Jose
·
Thursday, 06 March 2014 00:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post