Hiya
I have tried this but it does not appear to work, i am using WB7 my header has this php in it after adding the bit you suggest to already exising code :
<?php register_frontend_m
odfiles('js');?>
<?php
if(function_exists('register_frontend_m
odfiles')) {
register_frontend_m
odfiles('css');
register_frontend_m
odfiles('js');
} ?>
<?php
$query_post = $database->query("SELECT title FROM ".TABLE_PREFIX."mod_news_posts WHERE post_id = '".$post_id."'");
if($query_post->numRows() > 0) {
$post = $query_post->fetchRow();
}
$post_title=$post['title'].' ';
?>
<script type="text/javascript" src="<?php echo TEMPLATE_DIR; ?>/javascript.js"></script>
See example page of where it is not working:
http://www.buildmeafabwebsite.co.uk/pages/small-business-advertising.phpThanks for your help in advance
