Kevin
Well-known member
Here's what I'm working on... I'm working on a widget that pulls a list of threads, some of the threads might have a custom thread field URL value associated with them, that URL may or may not be to a thread in the local XF install.
In my widget output template I'll be working with the custom thread URL value; if it is link to a local install thread then I'd like to display it using the XF preview method, otherwise if it isn't for a local thread then I'll display it as a straight link with no preview.
If not in the template, any way to check the values if I loop through the finder results before returning the results to the template (with the idea being to then add/modify a variable associated to $thread that I could check in the template to choose which method to show the URL).
Thanks
In my widget output template I'll be working with the custom thread URL value; if it is link to a local install thread then I'd like to display it using the XF preview method, otherwise if it isn't for a local thread then I'll display it as a straight link with no preview.
If not in the template, any way to check the values if I loop through the finder results before returning the results to the template (with the idea being to then add/modify a variable associated to $thread that I could check in the template to choose which method to show the URL).
Thanks