I saw there has been a similar closed topic.
Now, I spent a weekend digging the source code of testlink, with a minimall success.
---
What I am trying to achieve is add an extra field into a testcase step.
I dont mean a custom field, but and extra field per each testcase step.
---
Up till now I have found the view element inc_steps_tpl, where I have added a custom header and an extra cell in a row.
gui/templates/testcases/ inc_steps.tpl
here I found the loop populating the case steps table:
Code: Select all
{foreach from=$steps item=step_info}
<td {if $edit_enabled} style="cursor:pointer;" onclick="launchEditStep({$step_info.id});" {/if}>{$step_info.actions}</td>
<td {if $edit_enabled} style="cursor:pointer;" onclick="launchEditStep({$step_info.id});" {/if}>{$step_info.expected_results}</td>
//add custom <td></> here.
Is it inside some global, like $TLcnf, init_args...
Quite unpleasant to get which file includes the aforementioned smarty inc_steps.tpl and what is going on with the variable
---
On other end of the wire I found the db table 'tcsteps', but I cannot find the associated DAO controller, database object class, script with random sql queries, whatever...
---
Any hint, architecture diagram, class diagram, dataflow diagram, whatever will be appreciated.
I have basic java programming skills, not much web, and '0' php/smarty experience.
That is why maybe I find dfificult to track the variables I need to change. But the application is not very small as well

Best Regards