1 marsthedog May 11, 2009 16:07
3 marsthedog May 11, 2009 17:51
Thanks for the reply. The page is generated by another customized and encrypted app, templated around flash and video - there's no good reason to rebuild what is already working, and javascript is overkill for a simple browser target.
Anyone able to point me to the file that says '<a href = xxx>Post Title Here</a> ?
4 yabba May 11, 2009 21:17
Ok, I'm still betting you're wrong, but I'm biased huh? ;)
Your problem is, the various links are generated by lots of files ( most of the ones you want should be in /inc/items/model/_item.class.php .. or the light class ).
¥
5 marsthedog May 11, 2009 22:55
Thanks for the tip on the pages. I edited itemlight.class.php, adding target="_parent" to the script:
echo $params['before'];
if( !empty($url) )
{
echo '<a href="'.$url.'" target="_parent">'.$title.'</a>';
}
else
{
echo $title;
}
echo $params['after'];
}
around lines 740 - 750. Works like a charm (haven't tested fully), hope this helps someone else.
marsthedog wrote:
I'm betting you're wrong
marsthedog wrote:
I'm betting you're right ;)
In the long run rebuilding your page would be easiest ... I'm guessing ... tad hard without a link ;)
In the meantime you could use javascript or something, I guess, but that'd fail in my browser.
You could pray for a browser quirk and add target="_top" ( or parent ) to your iframe ... it'd be funky if it works ... but don't hold your breath because I know bugger all about using iframes ;)
¥