I have a problem with content pages in background -Duplicate content block: content_en.
Please, could you point me.
Thank you
Code: Select all
<div class="lavybox">
{content}
{content block='dalsibox' assign='dalsibox'}
{if !empty($dalsibox)}
<br class="clear" />
<div class="dalsibox">
{$dalsibox}
</div>
Code: Select all
{process_pagedata}{strip}
{if !isset($get_title)}
{title assign='get_title'}
{/if}
{/strip}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" lang="sk">
<head>
{if isset($canonical)}<link rel="canonical" href="{root_url}{pageurl}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
<title>{$get_title} | {sitename}</title>
{metadata}
{cms_stylesheet}
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light+Two&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Oswald&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<!--[if IE 6]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
<!--[if IE 6]>
<__script__ type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></__script>
<__script__ type="text/javascript">
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</__script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
</style>
<![endif]-->
{/literal}
{literal}
<__script__ src="http://code.jquery.com/jquery-latest.js"></__script>
<__script__ type="text/javascript">
jQuery(document).ready(function($) {
$(".scroll").click(function(event) {
event.preventDefault();
$('html,body').animate( { scrollTop:$(this.hash).offset().top } , 1000);
} );
} );
</__script>
{/literal}
</__script>
</head>
</__body id="short">
<link media="screen" type="text/css" href="{uploads_url}/template/js/fancybox/jquery.fancybox-1.3.4.css" rel="stylesheet">
<!-- TOP -->
<div id="top">
<!-- Wrapper -->
<div id="wrapper">
<!-- hlavička -->
<div id="header">
<!-- logo -->
<div class="logo"> {cms_selflink dir="start" text="$sitename"} </div>
<div class="rychle-info">{global_content name='x_hlavicka_kontakt'}</div>
<!-- navigacia -->
<div class="menu">
<h2 class="accessibility util-clearb">Navigácia</h2>
<div class="page-menu util-clearfix">
{menu loadprops=0 template='cssmenu_ulshadow.tpl'}
</div>
<hr class="accessibility util-clearb" />
</div>
<div class="scroller">{global_content name='x_hlavicka_scroller'}</div>
</div>
<!-- hlavička end -->
<!-- obsah -->
<div id="obsah">
<!-- infobox -->
<div class="lavybox">
{content}
{content block='dalsibox' assign='dalsibox'}
{if !empty($dalsibox)}
<br class="clear" />
<div class="dalsibox">
{$dalsibox}
</div>{/if}
<!-- Zelena -->
<div class="zelena2">
</div>
<!-- zelena -->
</div>
<!-- prvyhomebox -->
<div class="pravybox">
<div class="download">
</div>
<div class="informacie">
<h2>Informácie</h2>
<p>text</a></p> </div>
<div class="sluzby">
<h2>Naše služby</h2>
<ul>
<li class="menuactive"><a class="menuactive" href="link"><span>Link1</span></a>
</li>
<li><a href="link"><span>Link2</span></a>
</li>
</ul></div>
<p></br><img /></p>
</div></div>
<!-- homebox end -->
</div> <!-- KONIEC OBSAH -->
</div> <!-- Wrapper center end -->
<div class="fullfooterone">
<div class="footer">
<div class="footerbox">
{global_content name='x_footer_onas'}
</div>
<div class="footerbox">
{global_content name='x_footer_kontakt'}
</div>
<div class="footerboxx">
{global_content name='x_footer_formular'}
</div>
<div class="footergdpr">{global_content name='x_footer_gdpr'}</div>
</div> <!-- footer -->
</div>
<div class="fullfootertwo">
<div class="paticka">
<div class="footecho"> {global_content name='x_footer'}</div> <div class="footmenu"> {menu loadprops=0 number_of_levels='1'} </div>
</div> <!-- paticka -->
</div>
</div>
<a id="bottom"></a>
<__body>
</__html>
Code: Select all
{process_pagedata}{strip}
{if !isset($get_title)}
{title assign='get_title'}
{/if}
{/strip}<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<__html xmlns="http://www.w3.org/1999/xhtml" xml:lang="sk" lang="sk">
<head>
{if isset($canonical)}<link rel="canonical" href="{root_url}{pageurl}" />{elseif isset($content_obj)}<link rel="canonical" href="{$content_obj->GetURL()}" />{/if}
<title>{$get_title} | {sitename}</title>
{metadata}
{cms_stylesheet}
<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light+Two&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
<link href='http://fonts.googleapis.com/css?family=Oswald&subset=latin,latin-ext' rel='stylesheet' type='text/css' />
{cms_selflink dir="start" rellink=1}
{cms_selflink dir="prev" rellink=1}
{cms_selflink dir="next" rellink=1}
<!--[if IE 6]>
<__script__ type="text/javascript" src="modules/MenuManager/CSSMenu.js"></__script>
<![endif]-->
{* The above JavaScript is required for Menu - NCleanBlue-css to work in IE6 *}
{* the literal below and the /literal at the end are needed whenever there are {"curly brackets"} as smarty will think it's something to process and will throw an error *}
{* IE6 png fix *}
{literal}
<!--[if IE 6]>
<__script__ type="text/javascript" src="uploads/NCleanBlue/js/ie6fix.js"></__script>
<__script__ type="text/javascript">
// argument is a CSS selector
DD_belatedPNG.fix('.sbar-top,.sbar-bottom,.main-top,.main-bottom,#version');
</__script>
<style type="text/css">
/* enable background image caching in IE6 */
html {filter:expression(document.execCommand("BackgroundImageCache", false, true));}
</style>
<![endif]-->
{/literal}
{literal}
<__script__ src="http://code.jquery.com/jquery-latest.js"></__script>
{/literal}
</head>
</__body id="short">
<!-- TOP -->
<div id="top">
<!-- Wrapper -->
<div id="wrapper">
<!-- hlavička -->
<div id="header">
<!-- logo -->
<div class="logo"> <h1>{cms_selflink dir="start" text="$sitename"}</h1> </div>
<div class="rychle-info">{global_content name='x_hlavicka_kontakt'}</div>
<!-- navigacia -->
<div class="menu">
<h2 class="accessibility util-clearb">Navigácia</h2>
<div class="page-menu util-clearfix">
{menu loadprops=0 template='cssmenu_ulshadow.tpl'}
</div>
<hr class="accessibility util-clearb" />
</div>
<div class="scroller">{global_content name='x_hlavicka_scroller'}</div>
</div>
<!-- hlavička end -->
<!-- obsah -->
<div id="obsah">
<!-- infobox -->
{content}
</div> <!-- KONIEC OBSAH -->
</div> <!-- Wrapper center end -->
<div class="fullfooterone">
<div class="footer">
<div class="footerbox">
{global_content name='x_footer_onas'}
</div>
<div class="footerbox">
{global_content name='x_footer_kontakt'}
</div>
<div class="footerboxx">
{global_content name='x_footer_formular'}
</div>
</div> <!-- footer -->
</div>
<div class="fullfootertwo">
<div class="paticka">
<div class="footecho"> {global_content name='x_footer'}</div> <div class="footmenu"> {menu loadprops=0 number_of_levels='1'} </div>
</div> <!-- paticka -->
</div>
</div>
<__body>
</__html>
Code: Select all
{$content={content} scope=global}