Jump to content
Boost up your community
  • Display Options

    After you have specified the selection options on the last page, we only need to define how we want them to appear in the listing and detail view of the bugs. This is done via the Display options tab and looks like this ...displayoptions.png

    Show in listing template = Yes

    Listing View Format = Custom

    Listing Custom Format

    {{if $formValue}}
    {{$items=explode(',',$formValue);}}
    {{foreach $items as $item}}
    	{{if $item=="bugtracker_found"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style1'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_fixed"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style2'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_cant_reproduce"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style3'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_in_progress"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style4'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_answer"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style5'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_no_bug"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style6'>{lang="$item"}</span>	
    	{{endif}}
    {{endforeach}}
    {{endif}}

    Show in display template = Yes

    Display View Format = Custom

    Display Custom Format

    {{if $formValue}}
    {{$items=explode(',',$formValue);}}
    {{foreach $items as $item}}
    	{{if $item=="bugtracker_found"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style1'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_fixed"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style2'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_cant_reproduce"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style3'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_in_progress"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style4'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_answer"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style5'>{lang="$item"}</span>
    	{{elseif $item=="bugtracker_no_bug"}}
    		<span class='ipsBadge_large ipsBadge ipsBadge_style6'>{lang="$item"}</span>	
    	{{endif}}
    {{endforeach}}
    {{endif}}

    As Display setting we choose Above the item content and as a small goodie we set Editable when viewing a record to yes.

    Right now you are finished with the field, please check the steps on this and the last two pages again to check if everything's fine.




  • Sign In and Stay Uptodate

    New articles and tutorials on how to monetize your community are on the way. To stay update sign in and subscribe to our newsletter. 

×
×
  • Create New...