Access section's parent section

Beantwortet

3 Kommentare

  • Simon Blouner
    Community Moderator

    Hey Vince,

    It doesn't seem to me that there's any simple way to do this with regular curlybar expressions.

    A way you might be able to get it working is by setting the "parent_section_id" in a variable in javascript, and then calling the API endpoint "/api/v2/help_center/{locale}/sections/{id}.json" in javascript to get the data you need, and from there present it at your desired location in the HTML.

    If you need help implementing this reach out to our team at helphouse.io

    #helpsome regards,
    Simon Blouner
    Zendesk Consultant @ helphouse.io

    0
  • Vince Suriani

    Yeah, I kinda knew I could go that route, but it seems a bit much for this project. I really was hoping I could just get it within the template.

     

    Thanks for you reply, @simon!

    0
  • Simon Blouner
    Community Moderator

    No problem @Vince!

    Since this is basically a feature request, I'd suggest you create it in the Product Feedback topic.

    Or simply move this post there, although I'm not sure if you got that option :-)

     

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk