Drupal - how to remove static node names

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
Hi guys,

Is anyone here any good with Drupal? I just installed the new 6.2 version (I've not used it since 5.x a while ago) to create a website for my soon-to-be inlaws and I can't work out how to remove the node titles from each page, in particular the front page.

Here's the site at the moment:

http://www.countryholidayhome.com/

See the word "Welcome"? How do I remove that?

Thanks in advance!
 

Mizzle

Oh, now I know...!
Joined
3 May 2008
Messages
347
Can you edit the index file?

If so, simply remove the marked part in the header div;

Code:
<div id="center"><div id="squeeze"><div class="right-corner"><div class="left-corner">
[B]<h2>Welcome</h2>[/B]
<div class="clear-block"> <div id="node-1" class="node">
 

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
Oh if only it were that simple! :) I don't think there's any way of editing pages like that as they are essentially generated on-the-fly.

Thanks for the help anyway! I'll have to keep looking into it. Perhaps the PHP/CSS of the theme could be tampered with...
 

Mizzle

Oh, now I know...!
Joined
3 May 2008
Messages
347
I doubt it can be solved by editing the stylesheet. There's no way of actually editing the source codes? :(
 

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
Not really as it's a CMS - I can edit the themes themselves or perhaps there is a module I can install that will give me some flexibility, but either way I don't know what to do! I'll have to keep messing around until I break it hehe.
 

Mizzle

Oh, now I know...!
Joined
3 May 2008
Messages
347
If so, then I'm guessing it's PHP based? How about editing the index.php file?
 

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
Not likely - have a look for yourself lol:

Code:
<?php
// $Id: index.php,v 1.94 2007/12/26 08:46:48 dries Exp $
/**
 * @file
 * The PHP page that serves all page requests on a Drupal installation.
 *
 * The routines here dispatch control to the appropriate handler, which then
 * prints the appropriate page.
 *
 * All Drupal code is released under the GNU General Public License.
 * See COPYRIGHT.txt and LICENSE.txt.
 */
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);
$return = menu_execute_active_handler();
// Menu status constants are integers; page content is a string.
if (is_int($return)) {
  switch ($return) {
    case MENU_NOT_FOUND:
      drupal_not_found();
      break;
    case MENU_ACCESS_DENIED:
      drupal_access_denied();
      break;
    case MENU_SITE_OFFLINE:
      drupal_site_offline();
      break;
  }
}
elseif (isset($return)) {
  // Print any value (including an empty string) except NULL or undefined:
  print theme('page', $return);
}
drupal_page_footer();
 

ray_gillespie

OSNN Veteran Addict
Political Access
Joined
21 Mar 2002
Messages
1,693
Cheers Carpo, I've not had chance to look into your solution yet but I'll give it a go soon.

Reps to you my good man!
 

Members online

No members online now.

Latest profile posts

hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!

Forum statistics

Threads
61,999
Messages
673,424
Members
5,593
Latest member
moussa021