Hi, I added these tags into two pages. But in admin I can see just the one which is currently opened in my browser. For the second one there is a note: "Field not found!".
Does someone know where the mistake is?
Also I have my index.php designed like this. Is it possible that the problem is related with the dynamic content infilling?
Thanks!
- Code: Select all
<?php require_once( 'couch/cms.php' ); ?>
<cms:editable name='publikace' type='richtext'/>
<?php COUCH::invoke(); ?>
Does someone know where the mistake is?
Also I have my index.php designed like this. Is it possible that the problem is related with the dynamic content infilling?
Thanks!
- Code: Select all
<ul>
<li><a href="index.php?stranka=omne">O mně</a></li>
<li><a href="index.php?stranka=publikacnicinnost">Publikační činnost</a></li>
<li><a href="index.php?stranka=fotogalerie">Fotogalerie</a></li>
<li><a href="index.php?stranka=kontakt">Kontakt</a></li>
</ul>
<!-- článek -->
<article>
<?php
if (isset($_GET['stranka']))
$stranka = $_GET['stranka'];
else
$stranka = 'omne';
if (preg_match('/^[a-z0-9]+$/', $stranka))
{
$vlozeno = include('podstranky/' . $stranka . '.php');
if (!$vlozeno)
echo('Podstránka nenalezena');
}
else
echo('Neplatný parametr.');
?>
</article>