Solved

Put a Header with Graphics on Every Page in Drupal

Posted on 2012-03-14
3
262 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 9

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
PHP and Soap 3 30
Better way of using callback in javascript 7 54
SQL inner join confusion 15 22
Need a good Angular tutorial 5 35
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

747 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now