[SOLVED] Problem with Albums, FormBuilder

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
bmohor3
Forum Members
Forum Members
Posts: 19
Joined: Sat Jan 12, 2008 8:49 pm

[SOLVED] Problem with Albums, FormBuilder

Post by bmohor3 »

I have a problem with Albums and FormBuilder. When I create an Album I allways get the content twice on page (http://www.osdj-cerklje.si/Vrtec/index. ... -predstavi), have the same problem with FormBuilder I created. I allways get two emails when someone completes the form. Is there anyway to solve this problem?

Thanks in advance
Bostjan
Last edited by bmohor3 on Thu Jun 06, 2013 9:21 am, edited 1 time in total.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Problem with Albums, FormBuilder

Post by Dr.CSS »

Looks like you need to fix some HTML validation error, no <__html> or <head>...

Looks like you have more than one default {content} tag in the template, paste your template here please...
bmohor3
Forum Members
Forum Members
Posts: 19
Joined: Sat Jan 12, 2008 8:49 pm

Re: Problem with Albums, FormBuilder

Post by bmohor3 »

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>Vrtec Muren?ki</title>
{metadata}
{cms_stylesheet}
<link rel="cms_stylesheet" href="uploads/images/img/reset.css">
<link rel="cms_stylesheet" href="uploads/images/img/main.css">
<link rel="shortcut icon" type="image/x-icon" href="vrtec.ico">

<__script__ src="uploads/js/modernizr.js"></__script>
<__script__ src="uploads/js/selectivizr.js"></__script>

</head>
</__body>

<div class="top">
<header class="wrap mainHead replaceText">
<h1>Vrtec Muren?ki</h1>
<h2>Cerklje na Gorenjskem</h2>
</header>
</div>

<div class="main">
<div class="wrap">
<nav class="cf sectionNav">
<ul class="cf">
<li> <a href="index.php?page=enota-cerklje" title="Enota Cerklje" class="btn1"><span>Enota </span>Cerklje</a> </li>
<li><a href="index.php?page=enota-zalog" title="Enota Zalog" class="btn1"><span>Enota </span>Zalog</a></li>
</ul>
</nav>

<article class="cf">
<nav class="left pageNav">
<ul>
<li><a href="#" title="Domov" class="btn2">Domov</a></li>
<li><a href="index.php?page=o-vrtcu" title="O vrtcu" class="btn2">O vrtcu</a></li>
<li><a href="index.php?page=vodstvo" title="Vodstvo" class="btn2">Vodstvo</a></li>
<li><a href="index.php?page=zaposleni" title="Zaposleni" class="btn2">Zaposleni</a></li>
<li><a href="index.php?page=obvestila-3" title="Obvestila" class="btn2">Obvestila</a></li>
<li><a href="index.php?page=arhiv-3" title="Arhiv" class="btn2">Arhiv</a></li>

<li><a href="index.php?page=koticek-za-starse" title="Koti?ek za star�e" class="btn2">Koti?ek za star�e</a></li>
<li><a href="index.php?page=obrazci" title="Obrazci" class="btn2">Obrazci</a></li>
</ul>
</nav>
<div class="right pageContent">
<div class="inner">
<div class="content">

{content}

</div>

<__body>
</__html>
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am
Location: The Netherlands

Re: Problem with Albums, FormBuilder

Post by velden »

I'm missing the html and head tag too in template. However, I don't think that explains double Albums and sure it does not explain double FormBuilder emails.

It's more like POST requests are served twice.
bmohor3
Forum Members
Forum Members
Posts: 19
Joined: Sat Jan 12, 2008 8:49 pm

Re: Problem with Albums, FormBuilder - [SOLVED]

Post by bmohor3 »

I added <__html> and <head> and now is working FINE.

Thanks for your help,
Bostjan
Post Reply

Return to “The Lounge”