I put this in test/test.html
Code:
<div style="border:1px solid #abc;color:#678;margin:2px;border-radius:0 0 5px 5px;padding:3px;text-align:center;">This is test/test.html</div>
I put this at the end of tpl_categories.php
Code:
if(file_exists("./test/test.html"))$content.='<div>'.file_get_contents("./test/test.html").'</div>';
else $content.="<div style='padding:4px'>file not found:<br />".getcwd()."/test/test.html</div>";
I get this at the bottom of category sidebox
if ./test/test.html is not found, it displays the full path of ./test/test.html
it works for me
if ./test/test.html is a "URL" or "raw code", or not plain html, that was not spec'd in the question
Bookmarks