Showing ads in Drupal -- help?

DizzyTechnology

New Member
Messages
500
Reaction score
0
Points
0
Hi, I just installed Drupal on my site at http://www.dizzytechnology.com/drupal/. It has no ads currently, but if an admin reads this, please know that the above link is the only one you will find to it. I asked on Drupal about showing an "ad" in the header, and I was told to make a block and place it in the header. Done. I used the new ad code, personalized for me (?zacwal). That worked, but it screws up.

See:
attachment.php


Any ideas?
 

Attachments

  • Screenshot-DTaG Community | Are you spinning yet? - Mozilla Firefox.png
    Screenshot-DTaG Community | Are you spinning yet? - Mozilla Firefox.png
    103.3 KB · Views: 74

KowKing

New Member
Messages
415
Reaction score
0
Points
0
If it's using PHP includes add the ad code to header.php (or your header source file). That's the easiest way to do it.
 

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
The text that appears looks to be a html comment that is appearing as text. i could be wrong?
 

DizzyTechnology

New Member
Messages
500
Reaction score
0
Points
0
It's supposed to be JavaScript code and closed in HTML comment. That's the XHTML-compliant method of executing JavaScript in-line (or, at least, the method that validates). It's executed by the code from x10.

But, hey, now it works with the theme editing.
 
Top