i have problem with News module title and content block "Slider" in one template
Code: Select all
{content block=slider label="Slider" wysiwyg="false" tab='Slider' smarty='true' assign=slider}
http://www.angelicweb.com/henry/clickin ... epage_.JPG
http://www.angelicweb.com/henry/clickin ... _page_.JPG
Template code
Code: Select all
{capture assign=slider_there}{$slider}{/capture}
{if $slider_there}
{$slider}
{/if}
<section id="content_container" {if $slider_there} style="display:none;" {/if}>
<article class="content wrapper clearfix">
{menu action='breadcrumbs'}
<h1>{title}</h1>
{content}
</article>
</section>
<section id="news_container">
<div class="news_title wrapper">
{news summarytemplate="news_title" number="3"}
</div>
</section>
Code: Select all
<!-- 17 is {root_url}/news.html page value -->
{assign var='returnid' value=17}
{assign var='aliased_title' value=munge_string_to_url({$entry->title})}
<h3>News:</h3>
<ul>
{foreach from=$items item=entry}
<li><a href='{root_url}/news/{$entry->id}/{$returnid}/{$aliased_title}' title='{$entry->title|cms_escape:htmlall}'>{$entry->title|cms_escape}</a>
{$entry->news_url}
</li>
{/foreach}
<ul>