Do you need to show a value coming from a listing field but only when a link is clicked before? This tricks is useful if you want display data (like phone number) without let search engine crawl this data.
For do that follow this little tutorial:
1) Assuming you want apply this tricks to your Phone field called "jr_phone" insert the code below inside your listing theme file "detail.thtml"
<script type="text/javascript">
function showPhoneNo(obj){
var phoneNo = '<?php echo $CustomFields->field('jr_phone',$listing,false,false); ?>';
var par = obj.parentNode;
par.removeChild(obj);
par.appendChild(document.createTextNode(phoneNo));
}
</script>
2) Now add the code below inside Advanced Parameters of your Jreviews phone field:
<a rel="noindex, nofollow" href="javascript:void(0);" onclick="showPhoneNo(this);return false;">Show phone number</a>
3) You done !
If you need to translate the link "Show phone number" because your site is in two or more language just replace the text with a language string like this:
<a rel="noindex, nofollow" href="javascript:void(0);" onclick="showPhoneNo(this);return false;"><?php __t("Show phone number");?></a>
The last step is to include this language string inside the standard Jreviews language file called "default.po" in each of your language folder you want use with his appropriate translation.
More infos about here:
http://www.reviewsforjoomla.com/forum/index.php?topic=14363.0Cheers