How To: Utilize Custom Field Search Module

How To: Utilize Custom Field Search Module

Custom Field in EasyBlog has been a useful feature for most of our customers since it was first introduced on May 21st, 2014. For those who are still wondering what custom field in EasyBlog does, it is actually a simple field that can be defined by the site administrator when creating a blog post. It consists of eight common fields such as: Checkbox, Date, Heading, Hyperlink, Radio Button, Dropdown, Textbox and Textarea.

Custom Field Search Module

Why do i need custom field? 

The usage of custom field really depends on the nature of your blogging site. One example that i can relate is Food Recipes blogging sites. For example, you have over 50 recipes and you want to see recipes that doesn't contain Almonds. Custom field filter can help you to achieve that, which will be explained later in this post.

Well, i think that's enough with the Custom Field introduction, now we have come to the main point of this blog post. First, we would like to thank one of our customer who came out with the idea of having a module to filter blog posts with custom fields. After some trial and error, this module was ready to be included in core of EasyBlog.

What is custom field search module?

Custom Field Search Module is a module that used to filter blog post based on custom fields. This module will only work on listings layout (frontpage and single category layout). As you can see from the picture below, there are several settings that you can play around with, it's configurable according to your site needs.

Module Settings

What are those Include and Exclude mode?

Include and Exclude are actually dependent on how you want your blog posts to be rendered. If you chose Include mode, it will render specific blog posts that contain those selected custom fields.

As for the Exclude mode, it will render blog posts that doesn't contain those selected fields. Now, let's take the recipes blogs as an example, you can filter the listings by ingredients say 'Salmon', 'Chicken' and 'Banana'. In Include mode, EasyBlog will list down recipes that contain those ingredients and Exclude mode will list down recipes that doesn't include those ingredients. 

​We hope this blog is informative and had shown you another side of EasyBlog. Stay tuned as we update our blog more in the coming days. ;)

 

Comments (22)

Great stuff. Please give us more of these kind of articles :-) Thanks.

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Paul Murray

Thanks Paul :)

  Attachments
Your account does not have privileges to view attachments in the comment
 

Thanks you for your info :)
CJ

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    chatchai janchum

Thank you!

  Attachments
Your account does not have privileges to view attachments in the comment
 

Good article! When will there be a similar module for user custom fields in Easy Social?

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Jan Bergare

Soon! Combining what we have with the users listing filter on EasySocial, it would be mind blowing.

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Mark

Great news!!

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Mark

Great feature that is still missing from ES, which CB already have since long time ago. Search, filter and sort by custom field is, I personally think, will be a very powerful feature for ES. :p

Hopefully it is not just for user search, but for pages, groups and events as well. ;)

  Attachments
Your account does not have privileges to view attachments in the comment
  Comment was last edited about 1 week ago by Syabab
  1.    Syabab

Thanks for the input on this Syabab :)

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Mark

Mark, if I may suggest, maybe a new view for site admin to filter datas created by users and not just module to filter custom fields. More like creating a report, for example:

- What group are active this month or this year.
- What age group are active, gender, and other criteria.

That's just a couple of example but the possibilities of data gathering from ES is huge.

Thanks!

  Attachments
Your account does not have privileges to view attachments in the comment
 

please more of this and the easyblog post. i'm dying :D want to read it!

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    joy

Thanks Joy! :)

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Sylvie

so... will there more blogs come? want to read about the coming feautures :D

  Attachments
Your account does not have privileges to view attachments in the comment
 

This is awesome Mark! Thanks for building it.

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    LAC Webadmin

No problem Jackson :)

  Attachments
Your account does not have privileges to view attachments in the comment
 

Very interesting this new module ! :)

I'm agree with Syabab. I would also like to have this type of module on Users, Pages, Groups and Events Listings.
The customs fields have a big potientiel, modules will make better use of this data.

Thank you,
Philippe

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Philippe

Thanks for the input on this Philippe, appreciate this very much.

  Attachments
Your account does not have privileges to view attachments in the comment
 

cam't wait for the new blogs about coming features.

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    joy

I think we will have news before the end of the year. Christmas is coming :)

  Attachments
Your account does not have privileges to view attachments in the comment
 
  1.    Philippe

Yup, we are already working on it. Stay tuned! :)

  Attachments
Your account does not have privileges to view attachments in the comment
  Comment was last edited about 3 days ago by Sylvie
  1.    Sylvie

huray! Can't wait to see them :>

  Attachments
Your account does not have privileges to view attachments in the comment
 

i check daily the blog for about 30 times a day. Hope to see something abou new coming amazing things. :)

  Attachments
Your account does not have privileges to view attachments in the comment
 
There are no comments posted here yet

Subscribe To Our Blog

Subscribe to our blog by entering your email address:

Thanks! You have subscribed to our newsletter.

Joomla World Conference 2017

Tuesday, 03 October 2017 by Sylvie

We have acquired PayPlans from ReadyBytes

Wednesday, 06 September 2017 by Mark

EasySocial 2.1 Alpha Released

Wednesday, 30 August 2017 by Mark

Introducing EasyArticles

Thursday, 25 May 2017 by Mark

Echo Template Released

Tuesday, 24 January 2017 by Sylvie

Recent Posts From StackIdeas