Hi KK,
I have a strange problem with Couch at http://pomponstar.fr/index.php
I use a php page which calls a template ( $tpl->display('index'); ).
My couch edibles are in the PHP page like that:
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Accueil'>
<cms:editable name='seo' type='group' label='Entrez toutes les données svp' />
<cms:editable name='titre' type='text' group='seo' label='Titre principal' />
[...]
and my tags in the .tpl file like that:
<div class="text-center panel topanel">
<h1 class="title1"><cms:show titre /></h1>
<h2 class="title2"><cms:show stitre /></h3>
[...]
Nothing out of the ordinary so far.
But couch doesn't retain the infos stored, it works like that:
I enter the variable in the control panel - it works
I view the page - it works
I refresh the page -> the data are gone and the admin says "field not found - erase ?"
Then I refresh the front-end again -> it works, the data are still there.
I don't get it.
( I used an ob_start() to avoid an header call error before, but I erased it from the page to test it wasn't that already )
Any idea?
Thanks,
Paolo E.
I have a strange problem with Couch at http://pomponstar.fr/index.php
I use a php page which calls a template ( $tpl->display('index'); ).
My couch edibles are in the PHP page like that:
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Accueil'>
<cms:editable name='seo' type='group' label='Entrez toutes les données svp' />
<cms:editable name='titre' type='text' group='seo' label='Titre principal' />
[...]
and my tags in the .tpl file like that:
<div class="text-center panel topanel">
<h1 class="title1"><cms:show titre /></h1>
<h2 class="title2"><cms:show stitre /></h3>
[...]
Nothing out of the ordinary so far.
But couch doesn't retain the infos stored, it works like that:
I enter the variable in the control panel - it works
I view the page - it works
I refresh the page -> the data are gone and the admin says "field not found - erase ?"
Then I refresh the front-end again -> it works, the data are still there.

I don't get it.
( I used an ob_start() to avoid an header call error before, but I erased it from the page to test it wasn't that already )
Any idea?
Thanks,
Paolo E.