How do you set up a blog page that is not the front page to display blog postings with teasers? My blog postings show up in a block on the right column with just the headings but each blog entry is its own node but I'd like a page dedicated to blog entries. This is probably very easy but I can't figure out how to set that up.
Thanks.

Comments

Southpaw’s picture

Mine show up at mydomain.com/blog
Have you tried that yet?

Jeff Burnz’s picture

Well I strongly recommended reading the handbooks. However - got clean URLs enabled?

/blog
blog/1 (where 1 = your user id, each user has a blog)

No clean URL?

/?q=blog
/?q=blog/1

This is default behaviour in drupal, no need to configure anything - you're so lucky eh?

And please, read the handbooks, lots of great articles to teach you everything you need to know and then some.

tm’s picture

have you tried /blog?

fuquam’s picture

can you control the teaser length of just the Blog pages without making that default length for Story or Pages?

tm’s picture

you can do it manually with the <!--break--> tag...

a discussion at http://drupal.org/node/110691 is interesting...

node teaser is kinda manual, too...

hope it helps.

joachim’s picture

Yes you can.
I made a module that does just this, which I'm releasing sometime this week hopefully!
(Alternatively, I've posted early versions of it: http://drupal.org/node/213898)

fuquam’s picture

it didn't actually do anything. I set the teaser length for blogs at 200 characters but nothing happened on the Blog page (?q=blog). However my Blog page in general is a mess. The individual nodes work and look fine. When I go to the Blog page that displays all the postings (this is where I want the teaser length to be 200 characters) two of the posts extend all the way across the page knocking the right column all the way to the bottom. Somehow the Blog module is interfering with the "main" column and breaking the CSS. I haven't figured out why. Its also placing my "printer-friendly link" at the top of the page above the left column. I wonder if I need to reinstall the Bog module. My original post was because the Blog module wasn't displaying the blog nodes on the blog page. Now its just displaying them all wrong and the teaser module isn't working with it.

sepeck’s picture

It will not regenerate the teaser of existing content. For existing content you will have to go back and edit it to force the teaser regeneration.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

joachim’s picture

Yup.
Or you can use the retease module to regenerate all your teasers.

joachim’s picture

sepeck’s picture

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

fuquam’s picture

so the resubmitted posts are now working with the teaser length settings however it has caused my right sidebar and footer to now be inside the "main" or "node" column. Somehow this teaser module conflicts with the CSS and I can't find where. Any suggestions?

sepeck’s picture

You don't have to delete a post, merely edit them.

View source and check your HTML. Do note the comment regarding http://drupal.org/project/htmlcorrector to account for unclosed HTML tags due to placing the break tag in the middle of a tag

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide

fuquam’s picture

First of all thanks for your help Steven.

I did check the source. I found some tags out of order but didn't see any that needed to be closed although that would cause the problem.

I installed htmlcorrector a little while back but couldn't find where it shows up. I have it activated and permissions set but it doesn't show up on the modules list. Does it just work as an add on or how do you tell it to fix any html errors?

Thanks.

fuquam’s picture

At the bottom of the main content area is . . .

<a href="/mysite/drupal/?q=blog/feed" class="feed-icon"><img src="/mysite/drupal/misc/feed.png" alt="Syndicate content" title="Syndicate content" width="16" height="16" /></a>

and its not enclosed in tags. Is this a function of the Blog module?

I thought that was causing my right sidebar and footer to show up inside my main content area but I fixed that and they still show up inside the main content area. Only on the ?q=blog page. All other pages are fine including the individual node pages. Also my teaser length varies for each post. Anywhere from 100 characters to none. I STILL haven't found a way to control teaser length other than <!-- break --> which wouldn't even work in this case anyway.

sepeck’s picture

The break tag is the way to control teaser length provided out of the box with Drupal core. A search of projects for the word teaser generated some other possible approaches for you.

http://drupal.org/project/nodeteaser
http://drupal.org/project/teaserbytype

Whether they work for you or your present version is for your test site.

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain

-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide