Waow this is even better, the debugger will be a great learning tool on top of being a great helper to debug websites developpement !
As a marketing guy, I see how this will be a definite plus for coders and designers alike
But enough talking, I am off to install this and test !
Edit :
Here is a test case which is causing me problems.
I have a chunk used as a template for company data. Some of this data is sensitive and should only be accessed by identified web users. The idea is, use IF-GROUPS to display those sensitive informations to authorized users.
Here is how I went about it :
<h1>Fiche de la société "[*raison_sociale*]"</h1>
<table class="fiche">
<th colspan=2 class="coordonnees">Coordonnées</th>
<!-- ligne 1 -->
<tr>
<td class="intitule">Raison Sociale</td>
<td class="valeur">[*raison_sociale*]</td>
</tr>
<!-- ligne 2 -->
<tr>
<td class="intitule">Adresse</td>
<td class="valeur">[*adresse1*]<br />[*adresse2*]<br />[*adresse3*]</td>
</tr>
<!-- ligne 3 -->
<tr>
<td class="intitule">Code Postal</td>
<td class="valeur">[*code_postal*]</td>
</tr>
<!-- ligne 4 -->
<tr>
<td class="intitule">Ville</td>
<td class="valeur">[*ville*]</td>
</tr>
<!-- ligne 5 -->
<tr>
<td class="intitule">Pays</td>
<td class="valeur">[*pays*]</td>
</tr>
<!-- ligne 6 -->
<tr>
<td class="intitule">Standard Téléphonique</td>
<td class="valeur">[*standard_tel*]</td>
</tr>
<!-- ligne 7 -->
<tr>
<td class="intitule">Télécopie</td>
<td class="valeur">[*telecopie_societe*]</td>
</tr>
<!-- ligne 8 -->
<tr>
<td class="intitule">Messagerie générale</td>
<td class="valeur"><a href="mailto:[*email_societe*]">[*email_societe*]</a></td>
</tr>
<!-- ligne 8 -->
<tr>
<td class="intitule">Adresse du site web</td>
<td class="valeur"><a href="[*site_web_societe*]" target="_blank" title="lien vers le site de [*raison_sociale*]">[*site_web_societe*]</a></td>
</tr>
</table>
<table class="fiche">
<th colspan=2 class="financier">Informations économiques</th>
<!-- ligne 9 -->
<tr>
<td class="intitule">Principaux Dirigeants</td>
<td class="valeur">[*dirigeants_societe*]</td>
</tr>
<!-- ligne 9bis -->
<tr>
<td class="intitule">Etablissements</td>
<td class="valeur">[*etablissements*]</td>
</tr>
<!-- ligne 10 -->
<tr>
<td class="intitule">Activités et compétences</td>
<td class="valeur">[*activites_competences_societe*]</td>
</tr>
[[:IF-GROUPS? &groups=`adherents`
&then=`<tr><td class="intitule">Chiffre d'affaires hors taxes total</td>
<td class="valeur">[*ca_ht_total*] €</td>
</tr>
<tr>
<td class="intitule">Chiffre d'affaires hors taxes Marine</td>
<td class="valeur">[*ca_ht_marine*] €</td>
</tr>
<tr>
<td class="intitule">Chiffre d'affaires hors taxes Naval France</td>
<td class="valeur">[*ca_ht_naval_fr*] €</td>
</tr>
<tr>
<td class="intitule">Chiffre d'affaires hors taxes Naval Export</td>
<td class="valeur">[*ca_ht_naval_export*] €</td>
</tr>
<tr>
<td class="intitule">Chiffre d'affaires hors taxes Maritime France</td>
<td class="valeur">[*ca_ht_maritime_fr*] €</td>
</tr>
<tr>
<td class="intitule">Chiffre d'affaires hors taxes Maritime Export</td>
<td class="valeur">[*ca_ht_maritime_export*] €</td>
</tr>
<tr>
<td class="intitule">Chiffre d'affaires hors taxes Sécurité Maritime</td>
<td class="valeur">[*ca_ht_securite_maritime*] €</td>
</tr>`
&else=`Les informations de CA sont disponibles <strong>aux adhérents</strong>, si vous êtes adhérents identifiez vous pour y accéder`]]
</table>
<table class="fiche">
<th colspan=2 class="presentation">Présentation de la société</th>
<tr><td class="textuel">[*presentation_societe*]</td></tr>
</table>
<table class="fiche">
<th colspan=2 class="produits_services">Produits et Services</th>
<tr><td class="textuel">Ici liste de produits et service généré automatiquement à partir des fiches produit/service, avec un lien vers la fiche du produit/service, automatique</td></tr>
</table>
At first I had called the "then" condition with &then=`[[$ChunkContainingSensitiveData]]` but as it didn’t work I put the content directly in the then clause I tried to put the content directly in it : same result -> Only the first row of the table is parsed when I am logged as a member of the "adherents" user group

To be more precise, here is the outputed code of the then clause :
<tr>
<td class="intitule">Chiffre d'affaires hors taxes total</td>
<td class="valeur">75 000 000
You’ll notice the </tr> tag is not there... maybe that’s a clue ?
Anyway, I tried to insert the "main" chunk code (i.e the whole table containing company info) directly into the template but same result. I tried to remove new lines in tag call, also tried to remove new lines in the table contained in then clause but no changes. I tried to call the IF-GROUPS uncached, but then it didn’t get parsed at all
On top of that, some parts of the page (the image header and logo) didn’t load after I inserted the IF-GROUPS tag...
If I look at how the IF-GROUP in the debug window here is what gets displayed :
[[:IF-GROUPS? &groups=`adherents` &then=` Chiffre d'affaires hors taxes total 75 000 000 € Chiffre d'affaires hors taxes Marine 7 400 000 € Chiffre d'affaires hors taxes Naval France 12 000 000 € Chiffre d'affaires hors taxes Naval Export 15 000 000 € Chiffre d'affaires hors taxes Maritime France 20 000 000 € Chiffre d'affaires hors taxes Maritime Export 8 000 000 € Chiffre d'affaires hors taxes Sécurité Maritime 250 000 € ` &else=`Les informations de CA sont disponibles aux adhérents, si vous êtes adhérents identifiez vous pour y accéder`]]
It is normal that the debugger strips html ?
Does the parser also strip html ?
Maybe I got the whole logic wrong here...