Jump to content

Recommended Posts

Posted

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.

Could contain: Page, Text, White Board

 

 

My logical code is wrong?

Could contain: Blackboard, Text

The idea is this:

Could contain: Text

@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.

Posted (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 ))

Could contain: Computer Hardware, Electronics, Hardware, Monitor, Screen, Page, Text

Edited by Chris59
Posted

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

Posted

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>

 

Posted

@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}

 

Posted (edited)

@Chris59

My changes for improve the system:

Could contain: File, Page, Text, Webpage

 

[+] 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 by Marco Junior
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...