Where do I need to look in the code to disable this function? I don't want each page to be called out with it's name in plain text, flush right, at the top of each page.

Thanks,
David

Comments

jacine’s picture

Hi David,

You can take it out by removing these lines in page.tpl.php

  <?php if ($sky_title): ?>
  <span class="header_title"><?php print $sky_title; ?></span>
  <?php endif; ?>
jacine’s picture

Status: Active » Closed (fixed)
tknospdr’s picture

Thanks for the quick reply!

David

tknospdr’s picture

Status: Closed (fixed) » Active

Hmm, okay sorry but I don't have that code in my page.tpl.php. I haven't done anything else with it yet, this is as it came.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language; ?>" xml:lang="<?php print $language; ?>">
<head>
<title><?php print $head_title; ?></title>
<?php print $head; ?><?php print $styles; ?><?php print $scripts; ?>
<script type="text/javascript"><?php /* Needed to avoid Flash of Unstyle Content in IE */ ?> </script>
</head>
<body class="<?php print $layout; ?>">
<div id="wrapper">
  <?php if($is_front) { //  if we are on the homepage, print the slogan ?>
    <?php if ($site_slogan):?>
    <span class="header_title"><?php print $site_slogan; ?></span>
    <?php endif; ?>
  <?php } else { // otherwise print the page title ?>
  <span class="header_title"><?php print drupal_get_title(); ?></span>
  <?php } ?>
  <div id="header">
    <?php if ($site_name): ?>
    <span class="site_name"> <a href="<?php print base_path(); ?>" title="<?php print $site_name; ?>"><?php print $site_name; ?></a> </span>
    <?php endif; ?>
    <?php if ($logo): ?>
    <a href="<?php print base_path(); ?>" title="<?php print $site_name; ?>"><img src="<?php print $logo; ?>" alt="<?php if ($site_name): print $site_name;  endif; ?>" class="logo" /></a>
    <?php endif; ?>
      <?php if(variable_get('site_slogan', '')): ?>
      <span class="slogan"><?php print variable_get('site_slogan', ''); ?></span>
      <?php endif; ?>
    <div class="navigation">
      <?php print theme('links', $primary_links); ?>
    </div>
  </div>
  <div class="container">
    <div id="page" class="<?php print "page-" . $node->type; ?>">
      <?php if ($secondary_links): ?>
      <div class="secondary_links"> <?php print theme('links', $secondary_links); ?></div>
      <?php endif; ?>
      <div id="content">
        <?php if ($breadcrumb): ?>
        <?php print $breadcrumb; ?>
        <?php endif; ?>
        <?php if ($messages): ?>
        <?php print $messages; ?>
        <?php endif; ?>
        <?php if ($is_front && $mission): ?>
        <div class="mission"><?php print $mission; ?></div>
        <?php endif; ?>
        <?php if ($contenttop): ?>
        <div id="content_top"><?php print $contenttop; ?></div>
        <?php endif; ?>
        <?php if ($title): ?>
        <h1 class="title"><?php print $title; ?></h1>
        <?php endif; ?>
        <?php if ($help): ?>
        <div class="help"><?php print $help; ?></div>
        <?php endif; ?>
        <?php if ($tabs): ?>
        <?php print $tabs; ?>
        <?php endif; ?>
        <?php print $content; ?>
        <?php if ($contentbottom): ?>
        <div id="content_bottom"><?php print $contentbottom; ?></div>
        <?php endif; ?>
      </div>
    </div>
    <div id="sidebar">
    <?php if ($sidebar_left): ?>
    <div class="left"><?php print $sidebar_left; ?></div>
    <?php endif; ?>
		<?php if ($sidebar_right): ?>
    <div class="right"><?php print $sidebar_right; ?></div>
    <?php endif; ?>
    </div>
  </div>
  <div class="push">&nbsp;</div>
</div>
<div id="footer"><?php print $contentfooter; ?>
  <?php if ($footer_message): ?>
  <?php print $footer_message; ?>
  <?php endif; ?>
</div>
<?php print $closure; ?>
</body>
</html>
jacine’s picture

That's the old version of the theme.

Delete this:

 <?php if($is_front) { //  if we are on the homepage, print the slogan ?>
    <?php if ($site_slogan):?>
    <span class="header_title"><?php print $site_slogan; ?></span>
    <?php endif; ?>
  <?php } else { // otherwise print the page title ?>
  <span class="header_title"><?php print drupal_get_title(); ?></span>
  <?php } ?>
tknospdr’s picture

Status: Active » Closed (fixed)

Thanks, that did work. However, just so you know, I'm using 5.x-1.7. According to the Sky page it's the latest official release.

Thanks,
David

johnTEN’s picture

I had the same problem and tried deleting those lines. It forces the header image to show but then the primary links bar gets moved to the top and steps on the header. I dont want to use a logo, title, etc and just want to have a .jpg for a header. I dont know enough code to figure out what to delete or add to make this work. Otherwise I really like this theme and want to use it to replace what I have here

http://www.madebysurvivors.com/

Thanks

gustavson’s picture

I want to do the same thing with the links under then navigation bar and above the content top block?

Help please...

Thank you!

Solved?

I removed this code:

<?php if ($breadcrumb): ?>
<div class="breadcrumb"><?php print $breadcrumb; ?></div>
<?php endif; ?>

This worked but please post if you know this will cause a problem. Seems to work fine though?

Thanks...