02-08-2011 07:34 AM
02-09-2011 06:51 AM
02-09-2011 07:18 AM
02-09-2011 07:54 AM
02-09-2011 09:02 AM
02-09-2011 10:33 AM
<@region id="bellyband" scope="page"/>
<div id="left">
<@region id="left1" scope="page"/>
<@region id="left2" scope="page"/>
<@region id="left3" scope="page"/>
<div class="h-box-1">
<@region id="bottom-left" scope="page"/>
</div>
<div class="h-box-2">
<@region id="bottom-right" scope="page"/>
</div>
</div>
<div id="right">
<@region id="right1" scope="page"/>
<@region id="right2" scope="page"/>
<@region id="right3" scope="page"/>
</div>
model.articles = collectionService.getCollection(context.properties.section.id, args.collection);
<#if (articles.assets?size > 0)>
<script type="text/javascript" src="${url.context}/js/slideswitch.js"></script>
<div id="slideshow-wrapper">
<ul id="slideshow">
<#list articles.assets as article>
<li <#if article_index == 1>class="active"</#if>>
<#if article.relatedAssets['ws:primaryImage']??>
<#assign image=article.relatedAssets['ws:primaryImage'][0]>
<a href="<@makeurl asset=article/>"><img src="<@makeurl asset=image rendition='featuredNewsThumbnail'/>" alt="${image.title!image.name}" class="slide-1-img" /></a>
</#if>
<div class="slide-1-desc">
<h1>${article.title!article.name}</h1>
<p>${article.description!''}</p>
<div class="slideshow-rm"><a href="<@makeurl asset=article/>">${msg('read.more')}</a></div>
</div>
</li>
</#list>
</ul>
</div>
</#if>
<?xml version="1.0" encoding="UTF-8"?>
<page>
<id>homepage</id>
<description>page with 5 main configurable blocks, ideal for site home page</description>
<template-instance>five-block</template-instance>
<authentication>none</authentication>
<components>
<component>
<region-id>bellyband</region-id>
<url>/carousel/slideshow</url>
<properties>
<collection>news.featured</collection>
</properties>
</component>
<component>
<region-id>left1</region-id>
<url>/list/wide</url>
<properties>
<collection>news.top</collection>
</properties>
</component>
<component>
<region-id>right1</region-id>
<url>/list/narrow</url>
<properties>
<collection>blogs.latest</collection>
</properties>
</component>
<component>
<region-id>bottom-left</region-id>
<url>/list/links</url>
<properties>
<collection>featured.links</collection>
</properties>
</component>
<component>
<region-id>bottom-right</region-id>
<url>/content/named</url>
<properties>
<asset>feature.html</asset>
</properties>
</component>
</components>
</page>
02-11-2011 09:07 AM
03-28-2011 08:52 PM
03-30-2011 05:03 AM
03-30-2011 06:37 PM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.