Jahia Template Forum > Content field constraints...

0 (0 Good)
0 (0 Bad)

Content field constraints definition problem

by  giantjack »  2011/06/07 19:57

Hi,

I currently have a container with a category field and some smalltext field

I've tried to make this field single-valued and to let the user select only a category under a specific other one

[i:t021pduj]Example :
cat 1
cat2
cat3
cat4
[/i:t021pduj]
In this cas i want to mask the first level and only allow the user to select a category under cat3.

Currently my definition of the field in definition.cnd is the following :
[code:t021pduj]
category OffreEmploiUniteRattachement (category#91;root='cat3'
  • Content field constraints definition problem
    2011/06/07 19:57

    giantjack Hi,<br/><br/>I currently have a container with a category field and some smalltext field<br/><br/>I've tried to make this field single-valued and to let the user select only a category under a specific other one<br/><br/>[i:t021pduj]Example :<br/> cat 1<br/> cat2<br/> cat3<br/> cat4<br/>[/i:t021pduj]<br/>In this cas i want to mask the first level and only allow the user to select a category under cat3.<br/><br/>Currently my definition of the field in definition.cnd is the following :<br/>[code:t021pduj]<br/>category OffreEmploiUniteRattachement (category#91;root='cat3'

  • Number of messages  8
    Registration date Jun 7, 2011
    0 (0 Good)
    0 (0 Bad)

    Re: Content field constraints definition problem

    by  pap@commaro.com »  2011/06/07 19:57

    Hi giantjack,

    which Jahia version are you using? I suppose it is the Jahia 6 Community Edition, because that one is having a bug, which has the effect, that the root category and the single value setting is ignored. In the released Jahia 6 Enterprise Edition this bug is already fixed and it will also be in the next community edition.

    Regards,
    Benjamin

    Benjamin Papez (pap@commaro.com)

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

    Re: Content field constraints definition problem

    by  giantjack »  2011/06/07 19:57

    Hi,

    I currently use the Jahia 6 Community Edition so i understand now why I have this problem.
    Do you know when the next community version will be available?

    Regards,

    Giantjack
  • Re: Content field constraints definition problem
    2011/06/07 19:57

    giantjack Hi,<br/><br/>I currently use the Jahia 6 Community Edition so i understand now why I have this problem.<br/>Do you know when the next community version will be available?<br/><br/>Regards,<br/><br/>Giantjack

  • Number of messages  8
    Registration date Jun 7, 2011
    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