Stephen Melton
Member
Hello there!
 
I'm looking to be able to access the results of $post and $thread on the search result page, which are a part of $results. It looks like the results page is doing:
 
	
	
	
		
 
So if I do a xen:dump on $result inside of the loop, there's all sorts of stuff available. For instance, I can dump $search, or $userFieldsInfo, but if I try to dump $thread or $post, I just get NULL back. I can see them there when I dump $result, but I'm not sure how to access them!
 
Thank you for any help and insights!
				
			I'm looking to be able to access the results of $post and $thread on the search result page, which are a part of $results. It looks like the results page is doing:
		Code:
	
	        <ol class="searchResultsList">
            <xen:foreach loop="$results" value="$result" i="$i">
                {xen:raw $result}
            </xen:foreach>
        </ol>
	So if I do a xen:dump on $result inside of the loop, there's all sorts of stuff available. For instance, I can dump $search, or $userFieldsInfo, but if I try to dump $thread or $post, I just get NULL back. I can see them there when I dump $result, but I'm not sure how to access them!
Thank you for any help and insights!