I'm not sure why you're posting the markup for a standalone web page. Where does a standalone page fit in to the equation?
According to the Sticky Note instructions, you have styles and javascripts to paste in to the HEAD section of the web document, and you also have the sticky div markup to paste in to the BODY section of the web document.
In a phpbb3 forum, both the HEAD and opening BODY tags appear in the "overall_header.html" file, so you only need to modify this one file, pasting the Sticky Note component parts where instructed.
The markup in the BODY for the sticky div can be put in to the previous code sample, which will make it visible on the index page only;
You don't need to edit "forumlist_body.html" in this case (this is just a fragment of template markup - an incomplete web document, that is called in to play when the phpbb3 forum index is viewed) and you don't need to create a new/standalone web page.Code:<!-- PHP -->
$page = basename(substr($_SERVER['PHP_SELF'],0,strrpos($_SERVER['PHP_SELF'],'.'))); // get web page and strip extension
if ($page == 'index') {
<!-- ENDPHP -->
<div id="stickynote1" class="stickynote">
<img src="http://i52.tinypic.com/2usu1ad.gif" align="left" />Display any content here, from text, images, to rich HTML. Use the close link to dismiss the box. Click the close box to dismiss it.
<div align="right">
<a href="#" onClick="mysticky.showhidenote('hide');return false">Hide Box</a>
</div>
<!-- PHP -->
}
<!-- ENDPHP -->
Feel free to post the modified "overall_header.html" file once you've put your sticky code/markup into it, but you'll also need to post a link to your forum so we can troubleshoot a live installation of the script.
