This topic is locked

Well impressed by the new version

5/5/2007 4:54:17 AM
PHPRunner General questions
O
osluk author

I am well impressed by the AJAX additions.
On a more basic level where can I tidy up the spacing of this element.
Existing format: "Details found: 140Page 1of 7"
Desired format: "Details found: 140 Page 1 of 7"
Cheers Chris

O
osluk author 5/5/2007

Pagination format correction required?
Anyone know where to change this - seems spacing is incorrect by default or have I messed up somewhere?
Chris

J
Jane 5/8/2007

Chris,
open generated templates/..._list.htm file, find this code:

{mlang_message tag="DETAILS_FOUND"}: {$records_found}

{mlang_message tag="PAGE1"} {$page} {mlang_message tag="PAGE2"} {$maxpages}

and replace it with this one:

{mlang_message tag="DETAILS_FOUND"}: {$records_found} 

{mlang_message tag="PAGE1"} {$page} {mlang_message tag="PAGE2"} {$maxpages}

O
osluk author 5/8/2007

Thanks Jane but is there a way to alter this in the souce / template - to prevent it needing to be changed manually each time?

Chris

Chris,

open generated templates/..._list.htm file, find this code:

and replace it with this one:

J
Jane 5/8/2007

Chris,
open C:/Program Files/PHPRunner4.0/templates/layouts/layout2/list.htm file, find this line:

##message DETAILS_FOUND##: {$records_found}

message PAGE1## {$page} ##message PAGE2## {$maxpages}

and replace it with this one:

##message DETAILS_FOUND##: {$records_found} 

message PAGE1## {$page} ##message PAGE2## {$maxpages}


Make the same in the C:/Program Files/PHPRunner4.0/templates/layouts/layout2/list_vertical.htm file.

O
osluk author 5/20/2007

Hi Jane,
I am using buiold 257 now.
Here is what the very cool graphical editor allows But my question is how does this relate to the underlying template?

How can page breaks be definined?
See the following:


Graphical editor view


View of top of page (almost perfect)


View of bottom of page Page # of # is corrupted pages # dispalys after the pagination element
http://www.bordeauxreport.com/db-2006-view...list.php?goto=4
In frames like this it is worse, as the seardh and show all button are on different lines

http://www.bordeauxreport.com/06-dev/


Keep up the great work.
Cheers Chris