This topic is locked

When a new table displays with no records

6/6/2007 8:15:03 PM
PHPRunner General questions
M
michaelmac author

Hey Everyone
When a list table displays with NO RECORDS , "Add", "Export results", and "Print Friendly" are all that display on that middle row. I need to display "Advanced Search" because I have a link that I can not add to the top row. If someone can tell me how to add this link to the top row in that middle row or how to get the table to show the "Advanced search" link, then my issue I hope will be resolved. Any ideas?
As always
Thank you in advance
Mike

J
Jane 6/7/2007

Mike,
thank you for pointing me to this bug.

We'll fix it in the next update.
Tp make your pages working open C:/Program Files/PHPRunner4.0/templates/layouts/layout2/list.htm, find and remove this line:

{if $rowsfound}

Then find this code:

##endif##

</td></tr>

if GroupSecurity## {if $allow_search} ##endif##



<tr><td colspan=2>

<!-- delete form -->



and replace it with this one:

##endif##

{if $rowsfound}

</td></tr>

if GroupSecurity## {if $allow_search} ##endif##



<tr><td colspan=2>

<!-- delete form -->


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

M
michaelmac author 6/7/2007

Mike,

thank you for pointing me to this bug.

We'll fix it in the next update.
Tp make your pages working open C:/Program Files/PHPRunner4.0/templates/layouts/layout2/list.htm, find and remove this line:

Then find this code:

and replace it with this one:
Make the same in the C:/Program Files/PHPRunner4.0/templates/layouts/layout2/list_vertical.htm


Hi Jane
I did what you posted. When I rebuilt and loaded my code, I kept getting a PHP error. I even reloaded RHPR and no go. I finally uninstalled PHPR and reinstall. After an issue with my activation key, Build 257 worked, and I updated to Build 261. All is fine for now. I will just wait for the next update. I was able to rearrange my links to make that "glitch" liveable. Thanks for all your assistance
Mike