By Sven Kosack on Wednesday, 07 November 2018
Posted in General Issues
Replies 13
Likes 0
Views 514
Votes 0
I would like to request help with two features on EasyBlog:

1) How can I make it so that a user can share a post not only to Facebook and other social network, but also via email?

2) How can I configure the Blog Module to appear in different layouts on the website? (I would like to have picture and text preview in the general blog, while I only want a list view - just the header, no frills - for a minutes of meeting view)
Hi Sven,

1) If you use either Addthis or Sharethis(http://take.ms/zxGhP), you should have the option to share through email.

2) Not really sure what you mean here. By 'Blog Module', are you referring to the latest blogs module(http://take.ms/Ejmoc)?
Can you also provide us a screenshot example on how you want the blog to look like?
·
Wednesday, 07 November 2018 16:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Raymond,

Your solution for 1) is top. Thank you very much already!

For question 2, I may have expressed myself unclear. Basically, I have used the blog-module on two pages (attached to menus, see screenshots 'module integration'). The current layout results a blog post preview (see 'current layout'). I only want to have a list of posts, sorted by creation date in descending order (see 'target layout')
·
Wednesday, 07 November 2018 16:53
·
0 Likes
·
0 Votes
·
0 Comments
·
You're most welcome Sven.

2) Do you mean for those post listing pages, you just want to show a date and post title, no other elements? http://take.ms/FZagO
·
Wednesday, 07 November 2018 17:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes. I could even live without the date, if this makes the solution easier.
I‘m sorry, Raymond, I think there is an incredible easy solution to the problem, but I couldn’t find it yet.
·
Wednesday, 07 November 2018 17:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Sven,

Actually to achieve it, you would have to disable some settings and override files or apply custom css(to reduce the gap). Let me explain these further below.

First, you can reduce the number of elements showing in these post listing pages by configuring them appropriately at the Settings>Views secton.

The one under 'blog' is a frontpage listing, so you would have to configure 'Frontpage Listing' view settings. The view settings menu item for 'single category' falls under the 'Single Category' tab(http://take.ms/WqxjU).

Secondly, there is no setting to hide the content so you would have to template overriding the file responsible to display them.

Head to the themes section, then click on edit files and choose the following file to edit it(http://take.ms/lyvmm). You changes here are protected from future EasyBlog updates.

EDIT: Alternatively, if you do not want to do the override method, you may also hide the content in the post listing using the following custom css.

#eb.eb-view-latest .eb-post-body, #eb.eb-view-categories.eb-layout-listings .eb-post-body {
display: none;
}
Lastly, the following are some custom css codes that can be used to reduce the gap.

#eb .eb-posts .eb-post + .eb-post {
margin-top: 0;
padding-top: 0;
border-top: none;
}
You may insert custom css codes related to EasyBlog here(http://take.ms/6lX3L).
Let us know how it goes once you have done these.

By the way, this is how it looks like in my local instance after I have done those mentioned above: http://take.ms/hMoVC
·
Wednesday, 07 November 2018 17:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post