I'm trying to have the frontpage of the site only display the titles of the nodes, rather than the little teaser or full body of the post. If they want to read the full post they can click. Or perhaps, how can I change the size of the teaser length down to 50?

Thanks in advance!

Comments

zeta ζ’s picture

admin/content/node-settings and read the description for caveat.

Or use;-
<?php if (!$teaser) print $content; ?>
in you node.tpl.php
___________________
Explore your /admin page!
It’s in the detaιls…

demonstration portfolio

CWitt-1’s picture

Thank you for the reply, I went ahead and set the teaser length to Unlimited, created a new story and the teaser was still there. I tried creating different content, but each content type showed a teaser. I double checked the Teaser length to make sure I had saved it and I did. I'm thinking there might be something with the whole post length thing and I should figure out how to do a post?

Thanks in advance!

zeta ζ’s picture

I thought you wanted 50 or 0 :-?

Oh sorry, It only goes down to 200 :-(
___________________
Explore your /admin page!
It’s in the detaιls…

demonstration portfolio

CWitt-1’s picture

Now that I have been playing around with it for several hours, I think 50 would be best. Does this change your advice?

zeta ζ’s picture

<?php print ($teaser) ? drupal_substr($content, 0, 50) . ' &hellip' : $content; ?>
___________________
It’s in the detaιls…

demonstration portfolio

CWitt-1’s picture

That seems to do the trick, thanks for the help!

vmenelas’s picture

Where do you put this code?