This topic is locked

Hide detail links

2/13/2012 5:07:00 AM
PHPRunner General questions
W
wpl author

Hi all,
I would like to hide some details links on a list page depending on certain conditions (similar to hiding a details link if no child records exist, but without leaving an "empty row"). How would I proceed? Tried something like



$xt->assign("table_dtable_link",false);


with no success.

C
cgphp 2/13/2012

It's an option of the master-detail relationship setting. Check this article: http://xlinesoft.com/phprunner/docs/master_detailes.htm

W
wpl author 2/13/2012

Cristian,
thanks for your answer. But what I wanted to do is hide a detail link dynamically at runtime. I found something similar somewhere in the forum (but am not able to find it again) where this was done for detail links on add/edit pages. The syntax was like so:



$xt->assign("displayDetailTablexxx",false);


thanks for further tips