Recent Topics

1 Jan 24, 2011 23:27    

My b2evolution Version: 4.0.3

Hey guys.

I'm trying to get one of my skin's to support IE9's jumplist feature. In order to do this I need to be able pull out the most recent titles, and their URLs out of b2evo and dump them into some javascript in the head section of the page.

I was hoping it would be a case of dumping <?php $Item->title(); ?> etc into the title field in the javascript, with maybe something to control how many titles it pulls. But it isn't. So I've looked at blasting a widget container up there, and using one of the latest post plugins and modifying around it, but that seems a tad overkill. Is there a simpler solution?

So this is one of the lines currently in my _html_header.inc.php, there's a bunch of Javascript around it, so excuse the out of contextness. :)

window.external.msSiteModeAddJumpListItem("title","url","/favicon.ico");

All I need is for title and URL to be entered as appropriate, and then the line repeated five or ten times. All without effecting the general running on the rest of the blog.

Any ideas? Thanks in advance guys.


Form is loading...