Forum Discussion
Thanks Adam,
That worked out the issue. Could you please point out what's wrong on this snippet?
<#if (global_blogsCount % 2) == 1)>
<#assign leftColumnEnd = (leftColumnEnd?int) + 1 />
<#/if>
<#list global_blogs.board?sort_by("title") as blog>
<#if gblogIdx != 0>
<#if (gblogIdx == (leftColumnEnd + 1) >
<#assign blogMenuContentAlpha = blogMenuContentAlpha + '</div><div class="hp-sub-nav-row blog-list-right">' />
<#/if>
</#if>
<#assign blogMenuContentAlpha = blogMenuContentAlpha + '<div class="hp-nav-col"><ul><li><a href="${blog.@view_href}">${blog.title}</a></li></ul></div>' /> <#assign gblogIdx = gblogIdx + 1 />
</#list>
Lines in bold are breaking my code
Gracias,
Luis
It looks like the second bolded line of code has an unmatched parenthesis, so that could be one issue. Does fixing that resolve everything? If not, could you reply back with the details of the error message you're receiving?
Related Content
- 5 months ago
- 3 years ago
- 2 years ago
- 2 years ago
- 2 years ago