By Cory Eastman on Thursday, 14 January 2016
Likes 0
Views 1.3K
Votes 0
How can I show custom field data within the default.main.php template for the EasyBlog Frontpage items?

Something like $post->getField("24") where this pulls the value of the custom field with the ID = 24.

I don't see any developer documentation for EB, so I figured I'd ask. Thanks!
Hey Cory,

By default EasyBlog will already display the fields on the front page unless it has been explicitly disabled.

To ensure that you have this enabled, make sure the settings "Show Custom Fields" is enabled under Settings > Layout > Listings

P/S: There is a bug in the current release where you need to re-save the category to ensure that it inherits from the Settings > Layout > Listings
·
Thursday, 14 January 2016 12:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks as always Mark. That did it.
·
Thursday, 14 January 2016 12:28
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome
·
Thursday, 14 January 2016 13:02
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post