Problems, need help? Have a tip or advice? Post it here.
3 posts Page 1 of 1
Hi i am setting up a cloneable page I have done it a few time before with no issues.
im getting this

ERROR! Closing tag "else" has no matching opening tag (line: 124 char: 3185)

<?php require_once( 'couch/cms.php' ); ?>
<cms:template title='Announcements' clonable='1' />
<cms:editable name='Announcement_Content' type='richtext' />
<cms:editable name='Announcement_Image'
crop='1'
width='500'
height='200'
type='image'
/>


<cms:if k_is_page >


</cms:else >
</cms:embed 'index_list.html' />
</cms:if>
<?php COUCH::invoke(); ?>

with a load of html in-between any ideas?

many thanks in advance.
Hi :)

The cms:else tag is self-closing so it should be
Code: Select all
<cms:else />

- instead of what it is in the code
Code: Select all
</cms:else >

Hope it helps.

TIP: You can use a text editor like Notepad++ that highlights tags and makes it easier to catch such syntax errors
ooops I did the same on the line underneath too! I must have looked at those tiny line's about a hundred times. Good tip i shall get it thanks :-)
3 posts Page 1 of 1