I have tried the admin footer and tried adding it to the footer file. Any help on this one would be greatly appreciated.
Thanks
Bill Shiver
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Sun Jun 01, 2003 11:13 am
If you've read my many posts on this, then you know to use the $content = <<<_JAVASCRIPT_ tags correct? So embedding the JavaScript is not your problem, correct? So then is your problem just a matter of knowing what script to place it in? In other words, can you embed this code and make it work, just to know that you have the methodology down
If you can't get this to popup a js window then you are not embedding the code correctly. If you can, then you are embedding it correctly and it's a script placement issue.
Raven, I cut out your sample and it pops up fine in an html doc, but I cannot get it to work in the footer of the nuke site. I know its something dumb, but it just doesn't work. I tried going into admin and inserting it into the footer box. No luck. I tried inserting it into the theme's footer html, and no luck.
I appreciate your help but I'm having no luck. Add that to the fact I'm a dummy and that about says it all.
Thanks
Bill
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Sun Jun 01, 2003 2:21 pm
Show me how you tried to insert it into the footer.
Well, I cut out the code, opened admin and pasted the code into the footer no. 3 box. That did't work. I use NukeNews theme, so I opened the footer.html and pasted the code into that. All it did was show the code text at the bottom of the page. I apologize for being dense, but I'm pretty new at this.
Thanks again,
Bill
Raven General
Joined: Mar 22, 2003
Posts: 5233
Location: USA
Posted:
Sun Jun 01, 2003 2:29 pm
Try modifying footer.php .
In general, if you are adding it to HTML, then you must wrap it in <? ?> because it is PHP code, not HTML.
I've tried footer.php, footer.html, all the footers in the theme and the global footer. I've tried wrapping with <? ?> and when I do that it just shows the code printed in text on the page.
If I understand correctly, something like this should work.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum