Hello,
My name is Leandro, and i'm developing my own blog with this wonderful CMS. I love how simple it is to create stuff in it.
The only thing it's that i've been having some issues trying to add templates to the CMS so i could add the content there. I'll attach a picture of how it doesn't appear.
Here's the code of the file i'm creating, the filename is index.php:
What could be the issue?
Thanks and have a nice day!
My name is Leandro, and i'm developing my own blog with this wonderful CMS. I love how simple it is to create stuff in it.
The only thing it's that i've been having some issues trying to add templates to the CMS so i could add the content there. I'll attach a picture of how it doesn't appear.
Here's the code of the file i'm creating, the filename is index.php:
- Code: Select all
<? require_once("couch/cms.php"); ?>
<cms:template title='Blog' clonable='1' commentable='1'>
<cms:editable name='blog_content' type='richtext' />
<cms:folder name='Anuncios' title='Anuncios' />
<cms:folder name='Basurero' title='Basurero' />
<cms:folder name='Programacion' title='Programación' />
<cms:folder name='PHP' title='PHP' />
<cms:folder name='HTML' title='HTML' />
<cms:folder name='CSS' title='CSS' />
<cms:folder name='Javascript' title='Javascript' />
<cms:folder name='Geek' title='Rincon del Geek' />
<cms:folder name='popurri' title='Apps y Sitios de Interes' />
</cms:template>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>DoctorMalboro - El crack de la internet</title>
<script src="js/jquery-1.4.2.min.js" type="text/javascript"></script>
<link href="http://fonts.googleapis.com/css?family=Calligraffitti" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Permanent+Marker" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Cuprum" rel="stylesheet" type="text/css" />
<link href="http://fonts.googleapis.com/css?family=Ubuntu" rel="stylesheet" type="text/css" />
<link href="css/estilo.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container" id="container">
<div class="header">DoctorMalboro</div>
<div class="slogan">El crack de la
internet.</div>
<div class="menu">
<ul>
<li><a href="index.php">Inicio</a></li>
<li><a href="#">Freebies</a></li>
<li><a href="#">Modificaciones de SMF</a></li>
<li><a href="registro.php">Registro</a></li>
<li><a href="#">Creación del blog</a></li>
</ul>
</div>
</div>
<div class="body">
<div class="feed"><img src="img/icons/rss.png" alt="" /> Rss Feed: (TO-DO).</div>
</div>
<div class="categorias">
<table>
<tr>
<th scope="row"><img src="img/icons/book.png" alt="" /> Categorías</th>
</tr>
<cms:folders masterpage='index.php' >
<tr>
<td><a href="<cms:show k_folder_link />"><cms:show k_folder_title /></a></td>
</tr>
</cms>
</table>
</div>
<div class="contenido">
<h1 class="titulo"><a href="<cms:show k_page_link />"><cms:show k_page_title /></a></h1>
<div class="post"><div class="parrafo"><cms:show blog_content /></div></div>
<ul class="info">
<li class="leermas"><img src="img/icons/book_open.png" alt="" /> Leer Más...</li>
<cms:if k_page_foldertitle>
<cms:set_category my_category=k_page_foldertitle />
<cms:else />
<cms:set_category my_category="Sin Categorizar" />
<li><img src="img/icons/book.png" alt="" /> Categoría: <cms:show my_category /></li>
<li><img src="img/icons/user_comment.png" alt="" /> Autor:</li>
<li><img src="img/icons/date.png" alt="" /> Fecha de Creación: <cms:show k_page_date format="jS M, y" /></li>
</ul>
<div class="comentarios"><img src="img/Comment-64.png" alt="" /></div>
<div class="cantcomentarios"><cms:show k_comment_count /></div>
</div>
<div class="footer"><div class="entradas"><img src="img/icons/arrow_left.png" alt="" /> Entradas antiguas</div></div>
<div class="copyright">
Creado Por <a href="www.doctormalboro.in" target="_blank">Leandro Poblet</a>. Todos los derechos reservados.<br />
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img src="img/icons/css_valid.png" alt="¡Valido para CSS3!" title="¡Válido para CSS3!" /></a>
<a href="http://validator.w3.org/" target="_blank"><img src="img/icons/html_valid.png" alt="Valido para HTML5!" title="¡Válido para HTML5!" /></a>
</div>
</body>
</html>
<?php COUCH::invoke(); ?>
What could be the issue?
Thanks and have a nice day!