By Geoffrey Smith on Wednesday, 24 January 2018
Posted in General Issues
Replies 3
Likes 0
Views 424
Votes 0
How can I customize the front page to give me a layout that looks like this for all posts displayed on the frontpage?
Hey Geoffrey,

In your screen shot, that is the featured section. If you have every single post appear there, then wouldn't the front page layout defeat the purpose altogether?
·
Wednesday, 24 January 2018 21:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Wow Mark, I find your response spectacularly unhelpful! Why not slap my hand at the same time!

I was hoping that your support would provide either a link to how to customize the layout of posts or a short piece of code and where to put it.
·
Thursday, 25 January 2018 18:40
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Geoffrey,

Firstly, I do apologize if my response doesn't sound helpful but I was trying to understand what you are trying to achieve here. If I do sound offensive, I apologize for that.

By the way, may I know what are you trying to achieve here? Are you only trying to render the featured section? The reason I am asking is because we have a showcase module that allows you to render posts in such layout without any tweaks at all. You just need to publish the module.

If you want to use the front page layout, you would then need to feature all your posts and edit the file /components/com_easyblog/themes/wireframe/blogs/latest/default.php and remove the codes below:

[gist]
<div itemscope itemtype="http://schema.org/Blog" class="eb-posts <?php echo $this->isMobile() ? 'is-mobile' : '';?>" data-blog-posts>
<?php echo $this->output('site/blogs/latest/posts', array('posts' => $posts, 'return' => $return, 'currentPageLink' => $currentPageLink)); ?>
</div>
[/gist]
·
Thursday, 25 January 2018 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post