Loading...
 
Skip to main content

Features / Usability


how do I create a new line in a .tpl file?

posts: 82 Norway

specifically in my tiki-register.php the user selects between 4 groups.
The problem is that each group shows up right after the other with no new line between them. It looks like one big paragraph of text.

I need to have a new line for each group.

thanks

www.gilb.com/tiki-register.php

I think this is the code I need to change
Copy to clipboard
{* Groups *} {if isset($theChoiceGroup)} {elseif $listgroups} {tr}Select your group{/tr}: {foreach item=gr from=$listgroups} {if $gr.registrationChoice eq 'y'} {if $gr.groupDesc}{tr}{$gr.groupDesc}{/tr}{else}{$gr.groupName}{/if}{/if} {/foreach} {/if}
posts: 82 Norway

sylvieg found the solution.

in the tiki-register.tpl file add one or two here:
groupDesc}{/tr}{else}{$gr

this sylvieg said: "I just committed a div in trunk and I will proposed to backport in 3"

Kai