Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Marco Junior Posted November 1 Posted November 1 I have a question related to page creation. I don't know if this is because I'm doing it wrong or because the system has some problem. I'm trying to add a form of the type: SELECT BOX However, I want to change the form via HTML to (checked box) So I selected the display option as custom and used the following code: <li class='ipsFieldRow'> <span class='ipsFieldRow_label'>Choose an option</span> <ul class='ipsFieldRow_content ipsField_fieldList'> <li> <span class='ipsCustomInput'> <input type='checkbox' id='option1'> <span></span> </span> <div class='ipsField_fieldList_content'> <label for='option1'>Option 1</label><br> <span class='ipsFieldRow_desc'>Option 1 description</span> </div> </li> <li> <span class='ipsCustomInput'> <input type='checkbox' id='option2'> <span></span> </span> <div class='ipsField_fieldList_content'> <label for='option1'>Option 2</label><br> <span class='ipsFieldRow_desc'>Option 2 description</span> </div> </li> </ul> </li> But he still continues to show the way he was created. My logical code is wrong? The idea is this: @Chris59 Maybe you can help-me ? I'm still reading the customization documentation to familiarize myself with the changes. I'm making some improvements to the tracker to share here.
Chris59 Posted November 1 Posted November 1 (edited) Add new field Select box and you add different option for user to choose from ,add key and value for users to choose from in your case key= bugtracker_bug - value= bug (note value you can add a langkey to show) Key=bugtracker_crash - value= crash (or lang key) Dont make it complicated , pages have powerful tools to play with (( Fields )) Edited November 1 by Chris59 Daniel F 1
Marco Junior Posted November 1 Author Posted November 1 I have another question. I need to print the title of the reports published on another HTML page. My key is: tracker_title_reported I'm using: {$record->customFieldDisplayByKey('tracker_title_reported', 'display')|raw} But it's not working. Is there any other way to print the values using the key? @Chris59
Marco Junior Posted November 1 Author Posted November 1 I'm making a block listing only the latest fixed reports: <div class="ipsCmsEntries__align"> <div class="ipsCmsEntries__primary"> <header class="ipsCmsEntries__header"> <h2 class='ipsTitle ipsTitle--h4'>{lang="bugtracker_recent_fixed"}</h2> </header> </div> </div> <div class="ipsCmsEntries__meta i-border-top_2 i-padding_2 i-flex i-align-items_center i-gap_2 i-flex-wrap_wrap i-color_soft"> <ul class="ipsList ipsList--inline"> <li><i class="fa-solid fa-circle-check ipsTitle--h4"></i> <span class='ipsBadge ipsBadge--solved'>{lang="bugtracker_solved_bug"}</span></br> {$record->customFieldDisplayByKey('tracker_title_reported', ['display|listing'])|raw} </li> </ul> </div> Chris59 1
Marco Junior Posted November 1 Author Posted November 1 @Marc You can help-me with this ? I need listing the title but when use the key with example mentioned on PAGE does not work. {$record->customFieldDisplayByKey('tracker_title_reported', ['display|listing'])|raw}
Marco Junior Posted November 2 Author Posted November 2 (edited) @Chris59 My changes for improve the system: [+] Added lasted news reportings [+] Added lasted fixed reportings [+] Improve the code (REPORT STATUS description | front-end) [+] Improve the displayed reports (The new version is better for me and for my style application services) [+] Improve the CODE (form) [+] Added some new fields (Reproduction steps, actual result, expected result, versions, frequency occurs and much more) I still develop some another functions but this versions is very nice also. Thanks for your base 😄 Edited November 2 by Marco Junior
Chris59 Posted November 2 Posted November 2 12 minutes ago, Marco Junior said: I still develop some another functions but this versions is very nice also. Thanks for your base 😄 You're welcome , you do some cool stuff with it . keep going Thanks Marco Junior 1
Recommended Posts