This topic is locked

how to modify edit page layout

9/18/2014 11:46:16 PM
PHPRunner General questions
W
wfcentral author

I have an edit page that shows details from linked tables. By default the editdetails show up AFTER the editfields.
I'm trying to modify the layout below so the edit details are to the RIGHT of the editfields...
@version=2

beginblock top

begincontainer vertical style=empty align=center width=500 all

begincontainer vertical style=1 align=center width=500 edit

brick color2 editheader

brick color1 message

begincontainer vertical color=1 style=fields fields

brick right editfields

brick color2 editbuttons

endcontainer

endcontainer

begincontainer vertical style=empty width=100% details

brick editdetails

endcontainer

endcontainer

endblock

admin 9/19/2014

While my personal preference is to use a dashboard for this kind of thing this can be done via layout modification as well. Put edit fields to center block and details to the right block.

@version=2

beginblock center

begincontainer vertical style=empty align=center width=500 all

begincontainer vertical style=1 align=center width=500 edit

brick color2 editheader

brick color1 message

begincontainer vertical color=1 style=fields fields

brick right editfields

brick color2 editbuttons

endcontainer

endcontainer

endcontainer

endblock

beginblock right

begincontainer vertical style=empty width=100% details

brick editdetails

endcontainer

endblock
W
wfcentral author 9/19/2014

By dashboard do you mean phprunner 8? I'm running on v7.1 right now, but planning to updated to v8 this month...



While my personal preference is to use a dashboard for this kind of thing this can be done via layout modification as well. Put edit fields to center block and details to the right block.

@version=2

beginblock center

begincontainer vertical style=empty align=center width=500 all

begincontainer vertical style=1 align=center width=500 edit

brick color2 editheader

brick color1 message

begincontainer vertical color=1 style=fields fields

brick right editfields

brick color2 editbuttons

endcontainer

endcontainer

endcontainer

endblock

beginblock right

begincontainer vertical style=empty width=100% details

brick editdetails

endcontainer

endblock


admin 9/21/2014

Yes, dashboards are part of PHPRunner 8.

W
wfcentral author 9/22/2014



Yes, dashboards are part of PHPRunner 8.


okay - I purchased the update to v8 phprunner enterprise and installed it.
I'm going through the help files to learn how to create dashboards.
I can see how it sets up the dashboard on the LIST page.
However, I do not see how to configure what my client wants.
we have two tables...
tbl_time

tbl_expense
Workers enter the time they worked and any expenses that go against THAT time entry... along with receipts they upload.
My client does not want it to be a 20 click process. So, I had built the add page for tbl_time in v7.1 so it had the details for tbl_expense on it. The workers could click ADD for tbl_time and enter the time AND expenses all at once... then click save.
Can I do this same process using Dashboards? I don't see how to get to the ADD page to setup that layout...