Skip to main content

WebApps/Modules - Different detail layout and template per item

At the moment you set these per WebApp/Module. Instead you should be able to set them per item.

Apply this to all WebApps/Modules, and Categories.

6 comments

Log in to comment and vote

Comments6

  • Matt Walter changed status to In Review
    Team•

    Apr 6, 2022

  • Matt Walter

    Team•

    Nov 18, 2020

  • Matt Jones

    •

    Aug 24, 2020

    The main way to achieve this for now would be to have a single Page Template for your WebApp items, then use Logic to display a particular Code Snippet based on Category or ID. It's a similar question to the one answered here: https://help.siteglide.com/en/articles/3548750-faq-how-can-i-change-the-detail-view-for-products-based-on-their-category
    For those using Siteglide CLI, I think you would be able to write custom Liquid in the "layout_name" property in the yaml?
    This would be something I'd hesitate to be doing globally, as it would involve an extra request before Page Load for all Pages, potentially slowing performance. It might be best to remain as a custom feature?
    Will continue to review.

  • Casey Jeppesen

    •

    Jul 28, 2020

    I agree. It would be great if we could pass a parameter in the link to the webapp, which would display it using the custom detail template. ie. /webappitemslug?template=custom

  • Emily Dickson changed status to In Review
    •

    Jan 7, 2020

  • Martin Sanderson changed status to In Review
    •

    Dec 6, 2019