More N00b Header questions

Permalink
HI people!

Can you have different headers on webpages? Do I have to not have the global stuff on the page.

thank y'all

 
beebs93 replied on at Permalink Reply
beebs93
A typical template looks like:

<?php defined('C5_EXECUTE') or die('Access Denied.');
$this->inc('elements/header.php'); ?>
      <div id="wrapper"">
      <?php
      $area = new Area('Main content');
      $area->display($c);
      ?>   
      </div>   
<?php $this->inc('elements/footer.php'); ?>


There's nothing stopping you from including a different header/footer file, however, it's easy to lose track of which template loads which header and trying to keep everything in sync.

What are you trying to achieve with separate header files?
lalowulf replied on at Permalink Reply
First of all thank you so much for the reply

The site is the :http://www.thinkmassachusetts.org/...

I want the Header on each page (where it currently says Commonwealth…..) to change on each page for the page is (Apply for example )
beebs93 replied on at Permalink Reply
beebs93
So if your site name is "Commonwealth" and your page is "About" you want the page title (the text that shows up in the top of the browser's window) to read: "About :: Commonwealth" instead of "Commonwealth :: About"?

If so, then you only need to modify your config.php in your SITE_ROOT/config directory by adding this:

define('PAGE_TITLE_FORMAT', '%2$s :: %1$s');
lalowulf replied on at Permalink Reply
How do I get to that? I've been looking for a code view and its driving me NUTS

again a million thanks
beebs93 replied on at Permalink Reply
beebs93
If you're using Dreamweaver simply press F8 to view your files, find the /config/site.php file and add the line to the bottom of the file.