Jahia in English > Why node types in...

0 (0 Good)
0 (0 Bad)

Why node types in resouces are far more than node types defined in the definition.cnd file

by  omglion »  2014/07/11 03:01

Hello everybody,

I found node types defined in the definition.cnd file of Bootstrap ACME Space Templates (2.0.2-SNAPSHOT) are a little,

but node types in the resources fold are many,

for example, there is no jnt:event defined in definition.cnd, but it is in the resources folder, how to do that?

Kindly regards

Lion

  • Why node types in resouces are far more than node types defined in the definition.cnd file
    2014/07/11 03:01

    omglion <p>Hello everybody,</p> <p>I found node types defined in&nbsp;the definition.cnd file of&nbsp;Bootstrap ACME Space Templates (2.0.2-SNAPSHOT) are&nbsp;a little,</p> <p>but node types in the resources fold are many,</p> <p>for example, there is no jnt:event defined in definition.cnd, but it is in the resources folder, how to do that?</p> <p>Kindly regards</p> <p>Lion</p>

  • Number of messages  27
    Registration date Jul 11, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Why node types in resouces are far more than node types defined in the definition.cnd file

    by  glucazeau »  2014/07/11 10:03

    Hello,

    this type comes from the event module: https://github.com/Jahia/event/blob/master/src/main/resources/META-INF/definitions.cnd

    Each module can define its own nodetypes, and extend default node types included in Jahia.

    Regards,

    Guillaume

  • Re: Why node types in resouces are far more than node types defined in the definition.cnd file
    2014/07/11 10:03

    glucazeau <p>Hello,</p> <p>this type comes from the event module: https://github.com/Jahia/event/blob/master/src/main/resources/META-INF/definitions.cnd</p> <p>Each module can define its own nodetypes, and extend default node types included in Jahia.</p> <p>Regards,</p> <p>Guillaume</p>

  • Number of messages  93
    Registration date Jul 11, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Why node types in resouces are far more than node types defined in the definition.cnd file

    by  omglion »  2014/07/12 02:26

    Thanks.

    Could you please tell me how to integrate other modules  into a template set, for example the Jahia event module can be found in Bootstrap ACME Space Templates, it is convenient.

    But when i create a new module, i can't manage it in the template set i created.

    Kindly regards

    Lion

  • Re: Re: Why node types in resouces are far more than node types defined in the definition.cnd file
    2014/07/12 02:27

    omglion <p>Thanks.</p> <p>Could you please tell me how to integrate&nbsp;other modules &nbsp;into a template set, for example the Jahia event module can be found in&nbsp;<strong>Bootstrap ACME Space Templates, it is convenient.</strong></p> <p>But when i create a new module, i can&#39;t manage it in the template set i created.</p> <p>Kindly regards</p> <p>Lion</p>

  • Number of messages  27
    Registration date Jul 12, 2014
    0 (0 Good)
    0 (0 Bad)

    Re: Re: Re: Why node types in resouces are far more than node types defined in the definition.cnd file

    by  faissah »  2014/08/18 00:15

    Hello,

    You have 2 options: Either you can create the module directly in your template set or in the template set, you need to add a dependency to your module.

    Regards,

    Fabrice  (faissah)

    Number of messages  264
    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