Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Jebastin 42 posts 92 karma points
    Sep 13, 2017 @ 07:06
    Jebastin
    0

    Umbraco7 Grid with Modules Develoment

    Dear Umbracians,

    I'd need your help to accomplish the following:

    • There will be only 2 Templates (Master.cshtml & ContentPage.cshtml)
    • Need to develop 15 modules (like accordion, form, content panels, etc.)
    • Any combination of these 15 modules can be used in any page with any order with the help of Umbraco7 Grid system.
    • Master template will be having the Header & Footer sections. In between these areas Content Page will be rendered.

    Please help me with the best approaches to accomplish these requirements.

    Thanks in advance, Jebastin J

  • Ayo Adesina 445 posts 1059 karma points
    Sep 13, 2017 @ 07:48
    Ayo Adesina
    0

    I did some like this a few weeks back.

    This is an over view of the approach I took.

    • First design all your document types that will represent the data that will be in each module
    • Create a PageComponentFolder this will be the folder all the modules will live in for a given page.

    Then in your content tree I had something like this.

    -Page Example
    ---PageComponentFolder
    ---------Module
    ---------Module
    ---------Module
    

    Then When you 'Page Example' you look for the 'PageComponentFolder' then loop through its modules.

    Based on the Document Type of each module, you will know how to display the output.

    Hope that helps. Ayo

  • Jebastin 42 posts 92 karma points
    Sep 13, 2017 @ 13:20
    Jebastin
    0

    Thanks for your reply @Ayo Adesina.

    But where Umbraco7 Grid comes in the above solution?

    And moreover a module can contain another module which will be handled in content section by the CMS Admin. I'm sorry if I was not clear in my question.

    And also how to maintain the common content (Common Repository for the reusable modules) - This instance will be having Multisites (9) should have 3 languages, namely, ENGLISH, SPANISH, FRENCH that should be able to reuse the modules wherever they wish.

Please Sign in or register to post replies

Write your reply to:

Draft