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
[SOLVED] Problem with Albums, FormBuilder
[SOLVED] Problem with Albums, FormBuilder
Last edited by bmohor3 on Thu Jun 06, 2013 9:21 am, edited 1 time in total.
Re: Problem with Albums, FormBuilder
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...
Looks like you have more than one default {content} tag in the template, paste your template here please...
Re: Problem with Albums, FormBuilder
<!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>
"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>
Re: Problem with Albums, FormBuilder
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.
It's more like POST requests are served twice.
Re: Problem with Albums, FormBuilder - [SOLVED]
I added <__html> and <head> and now is working FINE.
Thanks for your help,
Bostjan
Thanks for your help,
Bostjan