How do I do this?

jadenoel - June 7, 2009 - 20:39

Front page:

I want to have a certain content type always at the top (no matter how old), followed by all other content that has been promoted to the front page (ordered by creation date, not content type then creation date which is what I have going now.)

Thanks.

=-=

VeryMisunderstood - June 7, 2009 - 20:52

investigate the publishing option sticky

although if I already had views.module and panels.module installed, I'd likely build my front page with those.

I don't like sticky because

jadenoel - June 7, 2009 - 20:58

I don't like sticky because the theme I'm using puts a red "sticky" graphic by the post header (I'd rather not modify the theme, I'm trying to find a more robust way of doing this).

Right now I'm using the views module default frontpage view. I'm having it sort by node:type and then node:date but like I said, after the first post (which I want to remain at the top) I'd like all the following posts to be ordered just by date (not type, then date).

=-=

VeryMisunderstood - June 7, 2009 - 21:08

and if you use panels you can put more than one view on the same page or there may be even modules that do this in contrib. thus, one view with the 1 "content types" on top of another view with the standard river.

Mmm, okay. I think I get it,

jadenoel - June 7, 2009 - 22:06

Mmm, okay. I think I get it, though I'm not familiar with panels. I'll check it out.

But panels 3 is in early beta

nwwoman - June 8, 2009 - 16:26

But panels 3 is in early beta stage with a warning about serious problems. So, what do we do when unable to use panels?

=-=

VeryMisunderstood - June 8, 2009 - 16:32

If you are asking for an alternative to panels, I don't know that there is one beyond the composite layout.module. I've never tested it, so I can't give advice in that regard. However, when it comes to panels 3 or 2? choose which you believe to be the lesser of two evils. In my case I chose Panels 3. If I hit a bump, I can delete the module remove its tables and start over. It's not content so I'm not worried by using beta2.

Another alternative is to create a tpl.php file create regions to put content/blocks/views in.

Yep, the latter is what I've

nwwoman - June 10, 2009 - 18:45

Yep, the latter is what I've decided to do. I haven't used panels 3 but did do way too much research. Bob at mustardseedmedia.com does wonderful, excellent podcasts and he said he doesn't use panels because he believes that if you know css and understand regions/blocks/views/cck, you can do everything you want without the extra overhead of panels.

I'm opting to believe him.

My only concern is that with several sections, I'm going to end up with a rather huge blocks display in admin.

It'd be interesting (at least to me) to discuss the pros/cons of panels, composite versus just going with blocks....

 
 

Drupal is a registered trademark of Dries Buytaert.