This topic is locked

modification to field display on default layout VIEW

7/19/2007 3:20:55 PM
PHPRunner General questions
B
boumbo author

Hi ,
I would like to make modifications to how phprunner displays the VIEW type of reports for any VIEW report I will generate.
Specifically, I'd like to change the layout if a field's data changed between 1 row and the next.
From my understanding, I should be modifying the view.htm file in the directory: PHPRunner4.0\source\templates\

(Please, someone correct me if Im wrong)
Where it says:

##foreach Fields as @f filter @f.bViewPage order @f.nViewPageOrder##


What I'd like to do is add an empty row between the rows that have a different text value.
I added a screenshot at the following url as an example of what I currently see in a view:


For example, for the field called: Activity_Name, if the data in Row 1 is different then the data in Row 2(as it is right now) then add an empty row between Row 1 and Row 2.
Does anyone know what would be the best way to change the layout?
Also, What coding language is used in the above quoted code?

B
boumbo author 7/20/2007

Hi ,

I would like to make modifications to how phprunner displays the VIEW type of reports for any VIEW report I will generate.
Specifically, I'd like to change the layout if a field's data changed between 1 row and the next.
From my understanding, I should be modifying the view.htm file in the directory: PHPRunner4.0\source\templates\

(Please, someone correct me if Im wrong)
Where it says:

##foreach Fields as @f filter @f.bViewPage order @f.nViewPageOrder##


What I'd like to do is add an empty row between the rows that have a different text value.
I added a screenshot at the following url as an example of what I currently see in a view:


For example, for the field called: Activity_Name, if the data in Row 1 is different then the data in Row 2(as it is right now) then add an empty row between Row 1 and Row 2.
Does anyone know what would be the best way to change the layout?
Also, What coding language is used in the above quoted code?


Is my question not clear enough?