This topic is locked
[SOLVED]

 Hiding Proceed to detail table

11/28/2013 3:49:34 AM
PHPRunner General questions
F
fantasmino author

Hi,

How can I hide "Proceed to..." link on list page of Mater table?

I can delete it js but is not a good solution.

F
fantasmino author 11/28/2013

Thanks Brian

In fact that's the way I do now, editing runnerall.js.

But I hope there was a way to hide it by an event.

C
copper21 11/28/2013

Yes, I too would like to know a way to do that instead of editing the file.

Sergey Kornilov admin 11/28/2013

Here is how this an be done (PHPRunner 7.0)

  1. Modify C:\Program Files (x86)\PHPRunner7.0\source\include\common\runnerJS\DetPreview.js

    line 343

    from

+ Runner.lang.constants.TEXT_PROCEED_TO + ' ' + Runner.pages.PageSettings.getTableData(this.tName, "strCaption", "")



to

+ ( !window.hideDetails ? (Runner.lang.constants.TEXT_PROCEED_TO + ' ' + Runner.pages.PageSettings.getTableData(this.tName, "strCaption", "")) : "" )


2. Now, by default 'Proceed to ...' message will be shown. If you want to hide this link add the following code to master List page Javascript OnLoad event.

window.hideDetails=1;


This is it.

F
fantasmino author 11/29/2013

Awesome that's wrork

Thank you