by
KK » Tue Aug 27, 2013 1:22 pm
Hi,
I had a look and this is what might be causing the disappearing folders -
Your original code in blog.php looks like this
<?php require_once( 'couch/cms.php' ); ?>
<cms:if k_is_page >
<cms:template title='Blog' clonable='1' commentable='1'>
<cms:editable name='blog_content' type='richtext' />
<cms:editable name='blog_image'
crop='1'
width='1170'
height='600'
type='image'
/>
<cms:folder name="art_et_tableaux" title="art et tableaux" />
<cms:folder name="tableaux_expliques" title="tableaux expliqués" />
<cms:folder name="connaissance" title="connaissance" />
<cms:folder name="expositions" title="expositions" />
<cms:folder name="divers" title="divers" />
</cms:template>
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en"><!--<![endif]-->
..
..
Please notice that you have defined the cms:template block
within the <cms:if k_is_page > conditional statement.
This is causing that block (and hence all its contents that include the folder definitions too) to execute only in page-view. In any other views, the code does not execute leading Couch to believe you have deliberately removed the statements.
Hence the problem.
To rectify, simply move the cms:template block out of the cms:if condition e.g.
<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Blog' clonable='1' commentable='1'>
<cms:editable name='blog_content' type='richtext' />
<cms:editable name='blog_image'
crop='1'
width='1170'
height='600'
type='image'
/>
<cms:folder name="art_et_tableaux" title="art et tableaux" />
<cms:folder name="tableaux_expliques" title="tableaux expliqués" />
<cms:folder name="connaissance" title="connaissance" />
<cms:folder name="expositions" title="expositions" />
<cms:folder name="divers" title="divers" />
</cms:template>
<cms:if k_is_page >
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"><![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"><![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"><![endif]-->
..
..
This should resolve the problem. Please check and let me know.
last month I bough one for happia.com.vn and still haven't received confirmation of
my license purchase, as I were with
http://www.tableaux-sur-toile.com.
Who can I contact if it happens again?
I am so sorry but this could have been due to some mail problem as our records show that a confirmation was dispatched the same day (16th. Aug).
Anyways, I have emailed you a copy of it at
sales@vietnamsales.com.
Please let me know if it reached you this time.
In case you have any such problem in the future, please feel free to directly contact me (PM me or email me if you wish).
Thanks