Jahia in English > Reuse and Customize...

0 (0 Good)
0 (0 Bad)

Reuse and Customize Modules in my template

by  xinyi.yang@amadeus.com »  2017/05/31 10:10

Hello,

I am just a green hand beginning with Jahia, and I just created a template ( a default one) of my own, so to create the header of the template, I want to reuse the login module of Jahiademo ( jdnt:login) and a navigation-menu of Bootstrap3 (Bootstrap 3-components). But if I just add dependecy and add these two components in header, it will render in a way lacking css and javascript. So I think it is not the right way to do it.

So my question, how is the standard process to reuse a module in a way that I can modify something about it, since it is difficult for me to create a all new one.

Thank you for your answering.

  • Reuse and Customize Modules in my template
    2017/05/31 10:10

    xinyi.yang@amadeus.com <p>Hello,</p> <p>I am just a green hand beginning with Jahia, and I just created a template ( a default one) of my own, so to create the header of the template, I want to reuse the login module of Jahiademo (&nbsp;jdnt:login) and a navigation-menu of Bootstrap3 (Bootstrap 3-components). But if I just add dependecy and add these two components in header, it will render in a way lacking css and javascript. So I think it is not the right way to do it.</p> <p>So my question, how is the standard process to reuse a module in a way that I can modify something about it, since it is difficult for me to create a all new one.</p> <p>Thank you for your answering.</p>

  • Number of messages  2
    Registration date May 31, 2017
    0 (0 Good)
    0 (0 Bad)

    Re: Reuse and Customize Modules in my template

    by  cefou »  2018/04/13 09:08

    Hello Xinyi,

    To corrrect your first problem quickly, I think you need to add also a dependency to 'bootstrap3-core" module because the base bootstrap CSS are included in this module...
     

    If you want to edit rapidly such a Jahia module, you can download it localy and edit it in the Studio:

    https://academy.jahia.com/documentation/digital-experience-manager/7.2/technical/jahia-studio

    Regards,

      (cefou)

    Number of messages  17
    Registration date
    Contact
    Share
    Feedback

    Get in touch

    Whether you are a current user or if you are just evaluating Jahia, we are here to help.

    Contact us

    Share this page