rubriques cascading - how to?

Hello

I have a problem with two cascading rubriques. The following rubriques BOUCLE_rubriques and BOUCLE_sous_rubriques show the complete tree of a secteur from any (sub)rubrique of that secteur. The tree is restricted to the current secteur, thus the secteur name is not displayed.

I am unable to suppress the fieldset legend stuff (between B_rubriques and BOUCLE_rubriques) if the secteur does not have (sub)rubriques. That’s probably because the outer loop delivers something even if the inner loop doesn’t.

I wonder if there is a criterium to handle this case or if I’ve (hopefully not) to reconstruct the loops.

Thanks for any help.
Barnie

<B_rubriques>

<:rubriques:>
    #EXPOSE{' '}
  • rubrique #TITRE