Community

Placing advertisement on the bartik theme

Hi all,

I am new to drupal and if this question is stupid my sincere apologies. I need to design my site but i also want to keep place for any advertisements that i may post. I dont know how to place a banner on the featured region in bartik. During my research i saw that adding image in drupal is quite difficult (but may be i am wrong). Can someone pls guide me a little how to place my own banner in the "featured" region of the page ?

Comments

Easiest way is to create a

Easiest way is to create a block, insert the image into the block (either typing the HTML or using the WYSIWYG editor) and then place that block into that region (either when you create it or from the blocks administration page).

i tired it :(

Sir i tried it using the following statement

<img src="c:\<absolute path to image>" />

Now when i use it, i dont see anything. Strange though, if i place any text, it appears, but no image.

Kindly guide me

edited by silverwing- added code tag

=-=

add the image tag <img> to a text format specifically set up for advertisments.

did'nt understand :(

sir can you pls explain what you said, i am really sorry but i didnt understand

=-=

documentation for text formats used in drupal and how to work with them = http://drupal.org/node/224921

if your text format already allows the img tag to be used, then it'd consider & investigate a path issue with reference to the image file. To solve, view the source of the rendered page in a browser. locate and inspect the HTML output for the image. inspect the path.

It's much better to use site

It's much better to use site relative paths as they will continue to work wherever the site is hosted. Referencing local drives in paths is imo really not a sensible idea.

What happens if you paste what's into the 'src' attribute into the browser address bar? That's how to test if you got it right or not. If you don't see an image, that's what's wrong.

What happens if you add an image that's already hosted on the web?

use FUll html

while giving an image path make sure dropdown below the text area is full html