Contents of the Test Field Appears on Home Page Only

Events happening in the community are now at Drupal community events on www.drupal.org.
Dr. DOT's picture

When I edit my web page content, the value in the Test field ends up appearing on the Home Page only. The value in the Test field does not appear on any other page.

I have tried to Save my page edits with nothing in the Test field but that item has an orange asterisk which I believe means that it is a required field.

Here is a snippit of what gets generated from the print $content on my home page:

<div class="node">
<h1 class="title"><a href="/index.php">This is the contents of the Test: * field</a></h1>
<span class="submitted"></span>
<div class="taxonomy"></div>
<div class="content"><div id="content">

Here is a snippit of what gets generated from the print $content on any of my inner pages:
<div class="node">
<span class="submitted"></span>
<div class="taxonomy"></div>
<div class="content"><div id="content">

Notice the presence of the H1 tag on the home page snippit only.

Also, I tried to isolate the Drupal structural differences in settings between the Home page and any inner page. The only difference is in the Publishing Options section. When I check the "Promoted to front page" checkbox I get my page content with the unwanted value of the Test field.

Yet when I uncheck the "Promoted to front page" checkbox I get Welcome to your new Drupal website!
Please follow these steps to set up and start using your website: blah blah blah

Does anyone have any ideas on how to fix this problem?

Thanks.

Comments

Look at display fields tab

scottatdrake's picture

I'm not sure I totally understand you question, but I think it has to do with whether or not a certain CCK field is displayed in the teaser or in the full node. By default, the home page displays only node teasers.

Go to admin > content types > edit (for whatever content type you are talking about) > display fields tab. Here, you can adjust what fields are displayed.

Central Iowa Drupal Users Group

Group categories

Category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: