Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
Hi Folks

i'm experiencing some weird behavior after unsing db_persist.
After executing db_persist i call cms:pages to show all pages of the template. Sometines the newly added one is in this list, but most times it's not. What an i doing wrong.
Here's my db_persist
Code: Select all
<cms:db_persist 
_masterpage="gm_records.php"
_mode='create'
_separator='|'
_invalidate_cache='1'
_auto_title='1'               
k_page_title="title"
termin="1.1.2020"

<cms:pages masterpage="gm_records.php">
    <cms:show k_page_id/><cms:show beschreibung/><br>
</cms:pages>

<cms:show k_last_insert_id/>
</cms:db_persist>
Please try using 'show_future_entries' param as follows -
Code: Select all
<cms:pages masterpage="gm_records.php" show_future_entries='1'>
..

Hope this helps.
2 posts Page 1 of 1