This topic is locked

AJAX mouse over and vertical list format

7/8/2007 10:25:35 PM
PHPRunner General questions
jwoker author

I have a list page where the "mouse over link to Details table to see detail records without proceeding to the details page" works when the page uses horizontal format BUT when I switch the vertical layout the mouse over does not work. I also another page where the mouse over does not pull up the details so ajax functionality seems intermittent within my project.
How can I troubleshoot this situation?

J
Jane 7/9/2007

Hi,
thank you for pointing me to this bug.

We'll fix it in the next PHPRunner update.
To make your pages working please open C:/Program Files/PHPRunner4.0/templates/layouts/Default/list_vertical.htm file, find this code:

##foreach @BUILDER.Tables as @t filter @t.arrMasterTables[strMasterTable==@TABLE.strDataSourceTable].len##

if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif##

<td align="center">

<a href="##@t.strShortTableName h##_list.##@ext##?{$row.##@i####@t.strShortTableName##_masterkeys}">

@t.strCaption h##</a>

</td>

if GroupSecurity##{/if}##endif##

endfor



and replace it with this one:

##foreach @BUILDER.Tables as @t filter @t.arrMasterTables[strMasterTable==@TABLE.strDataSourceTable].len##

if GroupSecurity##{if $allow_##@t.strShortTableName##}##endif##

<td align="center">

<a {if $useAJAX} onmouseover="showDetailsPreview(this,'##@t.strShortTableName h##_detailspreview.##@ext##?{$row.##@i####@t.strShortTableName##_masterkeys}');" onmouseout="hideDetailsPreview(this);" {/if} href="##@t.strShortTableName h##_list.##@ext##?{$row.##@i####@t.strShortTableName##_masterkeys}">

@t.strCaption h##</a>

</td>

if GroupSecurity##{/if}##endif##

endfor



Then rebuild your project.

jwoker author 7/9/2007

That worked great thanks. My problem with the other pages and ajax was that I had customized the list page in version 3 which meant it was not getting updated with the ajax code from version 4.
It's an awesome program <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=19550&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />

500403 8/15/2007

Hi,

thank you for pointing me to this bug.

We'll fix it in the next PHPRunner update.
To make your pages working please open C:/Program Files/PHPRunner4.0/templates/layouts/Default/list_vertical.htm file, find this code:
and replace it with this one:
Then rebuild your project.


I am wondering if this is the same problem I have. AJAX makes my list just fine but then you cannot click on any of the names listed. It just leaves the what you had typed there to bring the list up in the first place.
Was there a fix done for this in 4.1? How can I fix my problem? Thanks!!

J
Jane 8/16/2007

Mary,
"AJAX mouse over and vertical list format" issue is fixed in the current PHPRunner version.

Ajax preview for the detail table just shows list of records, you can't select one of this records.