There is something that i'm wondering on how it can be done. I've looked through on a few drupal websites like theonion.com, usmagazine.com and riflesnguns.com. The thing that i'm wondering is that how did they make their main page appear in the way they want to be. They are able to specify which nodes to be appeared on the main page and some other static nodes (like contact us and about us) not to appear.
From what I did, I can't get the selected nodes to appear on my main page only. Whenever I'd submitted new nodes, all of the nodes appear on the main page which I don't want. What I want is only the selected nodes will appear on the main page. So how can I do that?
I hope I've made my problem easy to understand.
Comments
When you edit a node, you
When you edit a node, you can choose whether it appears on the main page or not under the "Workflow" filedset. Uncheck "Promoted to front page"
To permanently change the default behaviour for different nodes, you can do this under admin >> settings >> content types >> Workflow default options. So you could set it so that by default, "Pages" aren't promoted to the front page.
---
www.whatwoulddrupaldo.org
Full control
See the front page module and the views module, and read the templating manual sections covering placement of content in custom regions. Nodequeue also is particularly helpful.
Thx
that was a quick reply... Thank you so much... Now i get it...
i guess i will try out the front page module and view module.
Hello. I worked on the
Hello. I worked on the usmagazine.com site. With some excellent advice from some Lullabots -- we tried and like the current approach to our front page:
Basically it's a custom content type that we use to make the front page only.
We used CCK to make a custom node called "home page".
We set up a field for each of the major areas (the poll in the upper right, the four feature areas in the middle).
We created a node-home-page.tpl.php (however it's named) which arranges each of the fields just so in our HTML.
We create one node for this CCK type, and then go into settings and set it so the front page maps to that particular node: /node/3277 or whatever.
Then when our clients want to update they can edit that particular node.
Theoretically you could make other nodes of the same type -- but they're not needed. It felt counter intuitive to make a content type for just one node, but it works well, and leaves you with a separate .tpl.php file for your front page, which is handy.
now that's a neat idea
Would you consider adding a little more 'generic' information on this approach to the site-recipe section? http://drupal.org/handbook/site-recipes
-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
Done!
Done! Hope I did the handbook proud. If not, I hope someone changes what I wrote!
http://drupal.org/node/87709
very nice
Thanks. Don't forget to check the 'contributed documentation' box in your profile.
-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
Thank you for giving another
Thank you for giving another approach of customizing the main page. I'll give it a try. Actually I got it done already and here's how I customize my front page:
I used views module to make individual node and block.
I used panels module to determine the layout and insert the nodes or blocks in the area I want.
and finally, I used frontpage module to set the page create by panels to the index page.
I'm not sure whether my approach of customzing the main page is an ideal way. But I will try CCK now.
If you use panels module ,
If you use panels module , just set a panel name to "node" and will appear in the frontpage without using frontpage module,
how do you set the page created by panels module to the frontpage module ?
---
Drupaldemo now 5.0
http://www.drupaldemo.org