Hi Sir,
I want to put an image below the menu items in a web page developed using Drupal?
I used the theme "blue..." for the page.
Please helpme with a solution
regds,
-jm

Comments

blogjunkie’s picture

Hi,

You can edit the page.tpl.php file and add the HTML for your image. Be sure to back up your original page.tpl.php file first.

blogjunkie

vaya’s picture

Hi
thanks a lot.
I forgot to mention one thing.
ie the image is a cms controlled image. That means an authorised user should be able to change this image ,when he wishes.
I have the home page as follows.
_________ _________ _____________
|________| |_________| |____________|

The above shown as 3 menu items . I have simply shown them graphically.
I am using the theme blue marine.
Below these menu items, I want to insert an image or an image bank which is cms controlled and not a static one.
How is it possible?
shall I use image module to achieve this functionality?
Is there any control in Drupal into which I can insert an image or image bank(I mean group of images) under the main menu?
pls help me
Regards,
-jm

blogjunkie’s picture

I have a similar system at my website http://buzzmedia.com.my that lets me define a custom page headline for each page. I achieved this with CCK and adding a field called Page Headline to each of my content types.

In your case I guess you would have to create 3 fields for your separate images. Then in your page.tpl.php file you call the field input to show the image. Hope that sets you on the way.

vaya’s picture

Sir,
As I told you please note the point that an authorized user should be able to change the images whenever he wishes.
I don’t want to hardcode to insert an image so that an authorized user cannot change it in future. If he wants to change, he has to depend on the programmer. This should not happen.
I think you got my point.

Please also tell me how to work with CCK (content construction kit)
And how to create a field for an image on a page.
Hope you would help me.
Regards,
-jm

vaya’s picture

referring the above answer,

How can I add a field to each of my content types?

could you please elaborate on how to create 3 or 4 fields for separate images. Then in my page.tpl.php file how can I call the field input to show the image?

lyosef’s picture

Ok, I want to comment here as this issue seems to come up alot. I thought the main initiative behind Drupal was to NOT have to use HTML.

sepeck’s picture

http://drupal.org/node/176828

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

vaya’s picture

Sir,
I checked the link given by you.
After login to administer

Now I am in administer > site configuration > file uploads
After this I dot get an idea to do the following.
How to Enable upload module?
How to set my role as allowed to upload files?
How to Check my space and attachment settings administer > site configuration > file uploads?
How to enable my content type for uploads?
How to create content?
If you can please help. I will be really thankful.
Regards,
jm