Recent Topics

1 Aug 26, 2004 20:34    

I wanted to add a disclaimer or footnote to pages with posts, but not pages without posts such as stats or profile. After a bit of stumbling I figured out the obvious: use the default condition for the disp switch statement in _main.php, and add an appropriate class to my css file.

Pretty simple really. After the last "break;" (for profiles) add "default:" then whatever you want to put in there. I added a div and a simple line of (rude) text, then in my css file I made the div be like my pPost div only smaller gray text.

For those into the details I [url=http://wonderwinds.com/blog/index.php/2004/08/26/adding_a_footnote_to_pages_with_posts]posted the code[/url] on my blog.


Form is loading...