Hi folks.

I'm trying to figure out what the drupal.org site uses for its front page. Basically, i've been looking over the drupal.org site trying to use drupal.org as an example of what you can do and how to do it.

The layout of the page is similar, yet not quite the same as the rest of the pages on the site. In particular, the three boxes (blocks?) on the top of the page which (today) show "happy birthday", "a mission", and "download" stuffs respectively.

Does drupal.org use the "frontpage" module?

What are those three boxes? Are they blocks that are put in the new "header" area using 4.7? Or are they nodes that have a special taxonomy that allow them to be rendered in those special places?

Was there custom php pages/code that is used to display them? Or is it part of the bluebeach theme?

Thanks

...alex...

Comments

Emiliano’s picture

alex,

I *believe* those 3 blocks (happy birthday, mission and downloads) are coded inside the "Mission" field. The block below them is simply a sticky post. That's it. :-)

Please, also read: http://drupal.org/node/27367 .

Cheers,
Emiliano.
http://www.novayork.com

__Tango’s picture

I've read that node many times, however it really only talks in generalities "drupal.org uses this module", not "drupal.org uses this module in this way, with these specific php blocks, etc, etc, etc." which is what i'm looking for.

Perhaps i should xpost this to the "how-do-I?" forum.

Thanks though.

...alex...

laura s’s picture

view-source:http://drupal.org/

If this doesn't help you, then I suggest getting a CSS book. It's perhaps not obvious, but it's not rocket science, either. The Visual Quickstart Guide series book on CSS and dhtml is generally a good primer to get you started.

Laura
===
pingVisionrare patternscattered sunshine

_____ ____ ___ __ _ _
Laura Scott :: design » blog » tweet

bdmp’s picture

Just for clarification, the three boxes on the front page are just css code posted in to a text box (in this case the mission statement box)? What they are using is CSS? I will get the book to read about it, but can the samething be done with html? Excuse me for my lack of knowledege on the subject.

__Tango’s picture

Looking at the source and the CSS (which i've already done) really only explains how the layout is physically performed.

For example, the happy birthday image is in a span with id "brochure". Is "brochure" a node type? is it a taxonomy term? is it a tag that was defined by a custom module? By just looking at the source, i'm not sure if it's either of those (or something else).

Also, just looking at the source/CSS does nothing to explain to me what drupal is doing underneath to figure out how drupal is making decisions on how to render those pieces of information. It doesn't seem that the happy birthday image is a block, since the rest of the left column is not occupied by other blocks.

I guess if I knew how the data was defined, it might make it easier to figure out what's going on.

capmex’s picture

The brochure span is not created dynamically. They add the html in the mission's form, and they reference an image uploaded in the theme's directory. It's exactly like adding arbitrary html to a post.
--
Webmaster Resources | Canadian Directory