This topic is locked

Loss of hyperlink on masterdetail link. (Build 336)

1/25/2008 5:07:01 AM
PHPRunner General questions
M
mmponline author

I have a VERY strange problem????
I have a list page with a master detail link to the "more photos" detail page. (I set this up on the datasource tables page in PHPRunner)
This works fine...
BUT as soon as I make ANY changesto the page in visual editor, the link on the more photos is "dead". On mouse over the Ajax functionality still shows, but it is not hyperlinked to the photos page. Very strange!
Eg. Even if I just make a text or anything bold on the page, delete something, or add a character - any editing - the hyperlink is lost. This is weird?? I checked the hyperlink and coding in source view, but everything looks the same.
For illustration I've made copies of the 2 tables and setup the master /details. I then Bolded the packages2 field "Package Name". Here you will see that the hyperlink to packagespictures2 is dead while the other works fine.
Packages (Without editing): Correct link - Working fine

Packages2 (Only bolded 1 field(: "Dead" link

J
Jane 1/25/2008

Stephan,
you can post your second application on the Demo Account and post link to your pages here.

I'll find what's wrong with your project inspecting it at Demo account site.

M
mmponline author 1/25/2008

Here is the link. The problem tables is the tables with packages in it. as it is where the master / details relationships are used.
http://demo.asprunner.net/mmp_mmponline_co...tures/login.php
Username and Password: admin

J
Jane 1/28/2008

Stephan,
it seems detail link is broken.

To fix this issue proceed to the Visual Editor tab, switch to HTML mode, find this code:

<A id=master_packagespictures2{$row.1recno}

{if $useAJAX} onmouseover="RollDetailsLink.showPopup(this,'packagespictures2_detailspreview.php'+this.href.substr(this.href.indexOf('?')));" onmouseout="RollDetailsLink.hidePopup();" {/if}&nbsp;href="packagespictures2_list.php?{$row.1packagespictures2_masterkeys}">packagespictures2</A>



and replace it with this one:

<A id=master_packagespictures2{$row.1recno}

{if $useAJAX} onmouseover="RollDetailsLink.showPopup(this,'packagespictures2_detailspreview.php'+this.href.substr(this.href.indexOf('?')));" onmouseout="RollDetailsLink.hidePopup();" {/if} href="packagespictures2_list.php?{$row.1packagespictures2_masterkeys}">packagespictures2</A>

M
mmponline author 1/28/2008

Thanks Jane. This solves the problem.
Just for interest sake:

  1. This "broken link" is created by PHPRunner. Probably some bug, but I know you'll have it sorted in the next build.
  2. When you move the mouse over the link in Visual Editor, it does not respond like other links (underline dissappear on mouse-over and appear on mouse off again). - Even after fixing the broken link. On distribution it functions correctly, however.
    Thanks for your help to solve the problem.