Jahia Dev Forum > jmix:customMixin...

0 (0 Good)
0 (0 Bad)

jmix:customMixin doesn't appear into edit panel

by  fabu »  2012/09/19 12:45

Hi,

I have created a custom jahia mixin in order to easily identify my new components.

In my definitions.cnd,

[jmix:customMixin] > jmix:droppableContent mixin 

[mynt:bigText] > jnt:content, jmix:basicContent, jmix:customMixin

 - text (string, richtext) i18n primary

When I deploy, I can't see my mixin, anybody know why?

There are no error in log...

Thanks in advance,

Best regards,

  • jmix:customMixin doesn't appear into edit panel
    2012/09/19 12:49

    fabu <p> Hi,</p> <p> I have created a custom jahia mixin in order to easily identify my new components.</p> <p> In my definitions.cnd,</p> <blockquote> <p> [jmix:customMixin] &gt; jmix:droppableContent mixin&nbsp;</p> <p> [mynt:bigText] &gt; jnt:content, jmix:basicContent,&nbsp;jmix:customMixin</p> <p> &nbsp;- text (string, richtext) i18n primary</p> </blockquote> <p> When I deploy, I can&#39;t see my mixin, anybody know why?</p> <p> There are no error in log...</p> <p> Thanks in advance,</p> <p> Best regards,</p>

  • Number of messages  28
    Registration date Sep 19, 2012
    0 (0 Good)
    0 (0 Bad)

    Re : jmix:customMixin doesn't appear into edit panel

    by  fabu »  2012/09/20 12:53

    I can see it on JCR repository browser and I can query it on JCR query tool but never on studio / edit mode...

    I have Jahia 6.6.0.0...

    Is there any trick to show it?

     

    Edit

    I just set [nt:moduleName] > jnt:content, jmix:customMixin and it appears without category on edit panel, like a non-droppable content!

  • Re : jmix:customMixin doesn't appear into edit panel
    2012/09/20 13:05

    fabu <p> I can see it on&nbsp;<font face="Arial, Helvetica, sans-serif" size="2"><span style="line-height: 20px;">JCR repository browser and I can query it on&nbsp;</span></font><font face="Arial, Helvetica, sans-serif" size="2"><span style="line-height: 20px;">JCR query tool but never on studio / edit mode...</span></font></p> <p> <font face="Arial, Helvetica, sans-serif" size="2"><span style="line-height: 20px;">I have Jahia 6.6.0.0...</span></font></p> <p> Is there any trick to show it?</p> <p> &nbsp;</p> <p> <strong>Edit</strong></p> <p> I just set [nt:moduleName] &gt; jnt:content, jmix:customMixin and&nbsp;it appears without category on edit panel, like a non-droppable content!</p>

  • Number of messages  28
    Registration date Sep 20, 2012
    0 (0 Good)
    0 (0 Bad)

    Re : Re : jmix:customMixin doesn't appear into edit panel

    by  faissah »  2012/09/24 20:39

    Hi fabu,

    Could you try adding the mixin "jmix:editorialContent" to your content. Like this:

    [mynt:bigText] > jnt:content, jmix:basicContent, jmix:customMixin, jmix:editorialContent

     - text (string, richtext) i18n primary


    Regards,

    Fabrice

     

    Fabrice  (faissah)

    Number of messages  264
    Registration date
    0 (0 Good)
    0 (0 Bad)

    Re : Re : Re : jmix:customMixin doesn't appear into edit panel

    by  fabu »  2012/09/25 08:23

    Thank you Fabrice,

    I have tried your solution and it hasn't effect.
     
    I have the same problem when I add jmix:userProfileComponents, I can not see the category :-/
     
    To succeed to add a new category, we agree, I just have to put this line to my defintions?

    [jmix:customMixin] > jmix:droppableContent mixin 

     

    Edit

    I see them in Installed modules browser but not in JCR repository browser*

  • Re : Re : Re : jmix:customMixin doesn't appear into edit panel
    2012/09/25 09:17

    fabu <p> Thank you Fabrice,</p> <div> I have tried your solution and it hasn&#39;t effect.</div> <div> &nbsp;</div> <div> I have the same problem when I add&nbsp;jmix:userProfileComponents, I can not see the category :-/</div> <div> &nbsp;</div> <div> To succeed to add a new category, we agree, I just have to put this line to my defintions?</div> <blockquote> <p> [jmix:customMixin] &gt; jmix:droppableContent mixin&nbsp;</p> <p> &nbsp;</p> </blockquote> <p> <strong>Edit</strong></p> <p> I see them in&nbsp;<u><font face="Arial, Helvetica, sans-serif" size="2"><span style="line-height: 20px;">Installed modules browser</span></font></u>&nbsp;but not in&nbsp;<font face="Arial, Helvetica, sans-serif" size="2"><span style="line-height: 20px;"><u>JCR repository browser</u>*</span></font></p>

  • Number of messages  28
    Registration date Sep 25, 2012
    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