- Edited
Is ticket-open.inc.php considered one of the core files? I'm pretty certain that's the one I need to modify. I found this bit of code in user.tmpl.php:
<?php foreach ($org->getDynamicData() as $entry) {
?>
<tr><th colspan="2"><strong><?php
echo $entry->getTitle(); ?></strong></td></tr>
<?php foreach ($entry->getAnswers() as $a) { ?>
<tr><td style="width:30%"><?php echo Format::htmlchars($a->getField()->get('label'));
?>:</td>
<td><?php echo $a->display(); ?></td>
</tr>
<?php }
}
?>
I think if I paste that into ticket-open.inc.php it will achieve the desired effect, I'm just having difficulties ensuring all the variables used in this code snippet contain what they need to to produce the same output the code produces in its original location. Just pasting it in as-is breaks the page (blanks it) from that point down so I'm assuming that php code is failing because it's not getting what it needs.