Jump to content

Creating Bug Tracker

Featured Replies

Posted

So I have the template working for the bug tracker, but what I am trying to accomplish is creating the filters and changing the button from Add new record to Report Bug... any help???

http://imageshack.com/a/img909/1975/3Eh56k.png

Changing the button text is as simple as changing the language fields while creating or editing your database:
database-language.thumb.png.43acb4b090c1

For the filters, you want to add a new Field.
bug-status-field.thumb.png.cd8ce93fadf39

Make sure you allow filtering, as shown above. Change the keys and values, title, and everything else to whatever you'd like. It should be set as a selection box or radio.

In the Display Options tab, you'll want to select "Custom" for Listing View Format and Display View Format. That will display the text area where you can customize your tags.
listing-view.thumb.png.cf99c9ffe6243c7c7

{{if ($formValue == 'pending')}}
    <span class='ipsBadge ipsBadge_style3 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'closed')}}
    <span class='ipsBadge ipsBadge_style6 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'resolved')}}
    <span class='ipsBadge ipsBadge_style4 ipsPos_right'>{$label}</span>
{{endif}}

Add the above to both the Listing View Format and Display View Format. Change the $formValue depending on what keys you've used while setting up your General Options.

  • Author

If i used Pending Fixed and Closed should it look like this:

{{if ($formValue == 'pending')}}
    <span class='ipsBadge ipsBadge_style5 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'fixed')}}
    <span class='ipsBadge ipsBadge_style4 ipsPos_right'>{$label}</span>
{{elseif ($formValue == 'closed')}}
    <span class='ipsBadge ipsBadge_style6 ipsPos_right'>{$label}</span>
{{endif}}

 

  • Author

The proper format I needed was:

{{if ($value == 'pending')}}
    <span class='ipsBadge ipsBadge_style5 ipsPos_right'>Pending</span>
{{elseif ($value == 'fixed')}}
    <span class='ipsBadge ipsBadge_style4 ipsPos_right'>Fixed</span>
{{elseif ($value == 'closed')}}
    <span class='ipsBadge ipsBadge_style6 ipsPos_right'>Closed</span>
{{endif}}

 

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.