This topic is locked

Get rid of "Proceed To..." link shown in inline details

7/20/2010 3:15:13 PM
PHPRunner General questions
F
FunkDaddy author

Does anyone know where I would edit code to get rid of the hyperlink that is automatically generated by PHPRunner whenever you view the details of a master list? The link that is generated is designed to take you to the list view of the details that you are previewing inline from the master table... it is always shown as "Proceeed to" followed by name of the details table it is referring to.
I want to get rid of this, because I only want my user to be able to view details from the inline preview and not allow them to navigate directly to the details page list.
I was able to inspect that element using Chromes built-in debugger and found that this is being generated from the following page provided by PHPRunner: "classes\runnerpage.php" on line number 334 using the ".jsreplace" function. I simply don't know where to go form here. I searched for .jsreplace and couldn't find it.
Bottom line, is all I want to do is get rid of the "Proceed to..." link in inline details... so if anyone can help, it would be greatly appreciated.
Thanks,
M

A
ann 7/21/2010

Hi,
you can delete it in the generated include/detailspreview.js file.

Find this code and delete the second line(bold):
> this.getHtmlForHide = function(rPrm)

{

return '<div align="left" style="float:left;"><img id="dpClose'+rPrm.id+'" src="images/search/closeRed.gif" valign="middle" style="cursor:pointer;margin-right:10px;">'+'

<a href="'+$(rPrm.linkId,this.prm.table).attr('href')+'">'+window.TEXT_PROCEED_TO+' '+rPrm.dCaption+'</a>

</div>';

}

F
FunkDaddy author 8/29/2010

Thanks.. I forgot to post after you originally answered this question... and I had to refer to it once again on another project.
Your solution works perfectly - THANKS! <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=reply&id=52228&image=1&table=forumreplies' class='bbc_emoticon' alt=':)' />