Quote:
Originally Posted by ryancooper
Yep that did it. That's what I get for trying to adjust your code. Thanks.
Is there any way to get the page name in the Return Query Result I tried adding the $WT_PageName but it didn't show.
|
$WT_PageName variable is parsed IF it is inside "Query Result Row" but not in "Result Prefix Code" or in "Result Affix Code".
If you need this feature, you need to hack view.php, find:
PHP Code:
$$WT_variable_name = $WTWQ['prefixcode'] . $birikenrow . $WTWQ['affixcode'];
before that add:
PHP Code:
$WTWQ['prefixcode'] = str_replace('$WT_PageName',$WT_PageName,$WTWQ['prefixcode'] );
$WTWQ['affixcode'] = str_replace('$WT_PageName',$WT_PageName,$WTWQ['affixcode'] );
There are 2 instances of this code, you need to replace both.