1 adamsweb Nov 10, 2005 06:25
3 adamsweb Nov 11, 2005 02:44
Okay, I've copied and pasted the text into the template half a dozen time and each time I save it and check my blog, its still not showing up, where do I save it so that it shows up.
My blog URL is http://www.adamsweb.us/blog
--Adam Graham
4 nate Nov 11, 2005 05:20
Well, on my skin, I have a line of code in the _main.php file that looks like this:
<?php } // ---------------------------------- END OF POSTS ------------------------------------ ?>
I would put your snippet of code right above that line. Are you sure that's the only block of code you need to get the ads to work? I'm no javascript expert so I can't look at it and know if there's a problem.
5 kweb Nov 11, 2005 17:48
The first thing I notice is that this code is not valid. The last line contains some invalid tags, including the link to your external script.
I can't say for sure what it is supposed to look like, but here is my best guess.
<script type="text/javascript"><!--
ch_client = "adamelijah";
ch_width = 160;
ch_height = 160;
ch_color_border = "#FFFF33";
ch_non_contextual = 1;
var ch_queries = new Array( "digital cameras", "ipod mini", "sony playstation", "dell laptop" );
var ch_selected=Math.floor((Math.random()*ch_queries.length));
ch_query = ch_queries[ch_selected];
//--></script>
<script src="http://scripts.chitika.net/eminimalls/mm.js" type="text/javascript"></script>
Try that and see if it works. If not, then you need to go back to wherever you got this script and ask for some valid HTML code.
To edit your skin you need to go into your skin's directory and edit the _main.php file.
So if you're using the custom skin you would go to \blogs\skins\custom\_main.php