In your index.php for your template, you can OVERRIDE the image attribute (or any attribute of any CSS element) for your pages by acting on the value of
getenv("REQUEST_URI")
(for THIS page you are viewing, getenv("REQUEST_URI") should be
/component/option,com_smf/Itemid,94/action,post/topic,3236.0/num_replies,1
It looks that way because SEF URL rewriting is in place. Regardless, in either situation, you would see if "
com_smf" is IN getenv("REQUEST_URI") and set your image background accordingly!
As a matter of fact, why limit yourself to an image switch? you could logically switch all kinds of stuff around, colors, font size, javascript: you name it!
EXAMPLE:
<?php
$user_action = getenv("REQUEST_URI");
$custom_css="";
IF (strpos($user_action , "com_smf") ) $custom_css ="<style>body {background-image: url(../images/forum.gif); background-repeat: repeat-y;width: 150px;}</style>";
IF (strpos($user_action , "com_content") ) $custom_css ="<style>body {background-image: url(../images/content.jpg)}; </style>";
echo $custom_css;
?>
(or the echo statement may be somewhere else, depending on how you have the template code done, and then you would have something like..
<?php echo $custom_css;?>
let us know how you make out!
*by that I mean, let us know the success you have with the technique, not your "make out skills"!
