{if strlen($selectedNavPage->getText())<310} {$selectedNavPage->getText()|nl2br} {else} {$selectedNavPage->getText()|truncate:310|trim|nl2br} {"more"|gettext} {/if}
{if isset($hubbubPageTypes.ideaEngine_category)} {assign var=ideasPage value=Page::featureEnabled('ideaEngine_category')} {if $sliderCats|@count ne 1} {if $viewChallengesPlural} {Translation::t($hubbub, 'hubbub_options--viewChallengesPlural')} {else} {'View all challenges'|gettext} {/if} {else} {if $viewChallenges} {Translation::t($hubbub, 'hubbub_options--viewChallenges')} {else} {'View challenge'|gettext} {/if} {/if} {/if}
{/if}