How do you get Community Posts to appear on home page?


4 댓글

  • Wes Drury

    @Jeff - I'll see if I can help you here.

    1.  You can't currently show community topics on the home page unless you do some kind of workaround.  You can easily hard code the HTML and point stuff into your topics which is the easiest way.  You could create categories for each of your topics and redirect the links via curly bars or you could automatically pull them via the API which is the hardest way.

    2.  This would require some development as you would have to pull this from the API.

    You can list the activity of the community by adding a scope statement like below.  This will work on the HomePage.

    {{recent_activity scope='community'}}

    Hope this helps!

  • Diziana

    Hi Jeff

    We remember of doing something in past without using API (because it has rate limit, and we might hit issues if HC sees a lot of traffic). We used an iFrame to embed activities, or other pages; used various javascript tricks to remove header/footer and other things from iframe page.

    Hope that gives you some idea.


    Team Diziana 

    Visit Diziana to download free and premium custom responsive ready-to-use Zendesk theme or Zendesk template or Zendesk plugins for Zendesk Help Center. Brand your Zendesk Help Center, and provide fantastic self-service customer support experience. 

  • James Vreeken

    Just FYI, I was able to get our community topics to show on the homepage using an iframe and some javascript and css trickery.

    In your script.js page:

    //put this outside document.ready:

    function resizeIframe(obj) { = obj.contentWindow.document.body.scrollHeight + 'px';

    // put his inside document.ready:

    if (window.location.href === "") {
    if (window.frameElement) {
    $('#communityLinks a').attr('target','_parent');


    in your community_topic_list_page.hbs put an id on the container of your topics... I put it as communityLinks

    then on the home_page.hbs file add the topics list page as an iframe like this:

    <iframe src="" style="border:0px #ffffff none;" name="communityTopics" scrolling="no" onload="resizeIframe(this)" frameborder="0" marginheight="0px" marginwidth="0px" width="100%" allowfullscreen></iframe>


    Worked for me... its pretty ridiculous that this is the kind of hacks we have to resort to in order to get basic functionality that should be built in... hope this helps someone.


  • Jessie Schutz
    Zendesk team member

    Hi James! Thank you so much for sharing your solution!


댓글을 남기려면 로그인하세요.

Zendesk 제공