I wanted to post a screenshot so you could better understand, but it seems that this forum doesn't allow attachments. I'm using the Garland theme, and I have a page on the top of my front page titled "Welcome to Our Website".

Just one line above the title "Welcome to Our Website" on the front page, aligned to the left, are the words "Send to Friend". I know that it's from the "print" module, but the problem is that I have the module settings to put such links on the bottom of the content. Not only that, but on the front page there are no print links on the bottom. Not only that, but after I click the link "Welcome to Our Website", then that page (which has exactly the same text as was on the front page) does NOT show "Send to Friend" above the title, but correctly has it placed at the bottom of the content, AND it correctly has the "Printer-friendly version" link alongside it. I can't figure this one out. When I disable the "Send e-mail" sub-module then the link disappears, but that's not the solution.

My second question, which is closely related, is how can I make the "Welcome to Our Website" title not be a link that leads to another page? It seems pretty silly to me to have someone click on that link and go to another page with exactly the same content . . . I'm sure there's a reason why this is there, and out of ignorance I do not understand it, but still I would like to know if there's some way to disable this "feature".

Thanks a lot for the help,
Jon

Comments

chris.mccreery’s picture

Hi Jon I am by no means an expert on this but I think what you're looking for here is themeing your site and customizing some of the output (Send to Friend and Welcome to Our Website). To start with the Garland isn't the best theme to work with you should try the ZEN theme as this is a great starting point and has great documentation on how to customize it and all the available variables. Before you do that I suggest you spend some time reading the Drupal 6 Theme Guide. This will give you a much better idea of how you can change the layout and add or remove variables from the layout/design.

Just a quick look at the page.tpl.php file in drupal root>themes>garland you can see the following code

if ($logo || $site_title) {
            print '<h1><a href="'. check_url($front_page) .'" title="'. $site_title .'">';
            if ($logo) {
              print '<img src="'. check_url($logo) .'" alt="'. $site_title .'" id="logo" />';
            }
            print $site_html .'</a></h1>';

So basically if you were to just remove the <a href= instance from there and just define <h1>$site_title</h1> it would no longer link to anything. I hope that helps or at least gets you pointed in the right direction. The key is just LOTS of reading.