Solved

Put a Header with Graphics on Every Page in Drupal

Posted on 2012-03-14
3
266 Views
Last Modified: 2012-06-21
I have a header with graphics I want to put at the top of every page.

Not sure if I should be using Blocks or Pages.

What's the conventional approach?
0
Comment
Question by:sandshakimi
3 Comments
 
LVL 10

Expert Comment

by:oliverpolden
ID: 37719623
It really depends on the effect you're going for. If you're talking about a large rotating image area then views slideshow rotator module provides you with a block that you can then insert.
e.g. http://demo.symphonythemes.com/index.php?theme=shamisen

Do you have an example of what you're going for?
0
 
LVL 14

Accepted Solution

by:
Scott Madeira earned 400 total points
ID: 37719713
In Drupal there is usually a header region defined in your theme.  If you want the header and graphic to be on every page then you could modify your page.tpl.php file to add the header stuff.  This may not be a good idea if you are planning on doing other things in the header region.

You could create a header block and put the content into the block and assign that block to the header region.

I don't think you want to use a page as that defines a complete stand-alone page like an About Us page or a Legal Disclaimer Page.

As Oliver said, it depends on what you are trying to do and what the contents of the header will be.
0
 

Author Comment

by:sandshakimi
ID: 37721582
In reponse to both of you, I want to put a drop-down menu on every page like this:  www.serve.gov
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question