I want to promote a page to the front page in full content. I DO NOT want to change my Site Information in Site Configuration to http://www.mysite.com/node/1 because if you do, than other pages will not be promoted to the front page.
This is what I hope I can achieve:
1. Welcome page is published to the front page in full content and will be sticky to stay at the top.....please do not recommend changing Site Information to http://www.mysite.com/node/1 since this will prevent other pages from being published to the front page.
2. I want the rest of my pages promoted to the front page as well, below the Welcome page, and have the default teaser with the read more link.
Can this be done somehow. If so, I would appreciate some guidance.
Thanks
Comments
_
You can do this with the views module and "attachment" displays. Create a new node view, add a page display, configure 1 of the 2 items you want, then add an "attachment" display and configure it for the other item. You're essentially putting 2 views on the 1 page-- works great.
EDIT:
It's actually even easier than that-- when you install views you get a 'frontpage' page view that simulates the default front page. Simply clone it then edit it to add an attachment display for the full node and configure it to appear "before".
Thanks....I will play around
Thanks....I will play around with it. I'm just starting to use the View module and it seems like a powerful tool. I'll keep reading and hopefully I can grasp it. I have found some videos on the view module, but they must of been for a different version because they don't look like the version I'm using for 6.x.
Thanks again
Adding to WorldFallz's info
Adding to WorldFallz's info (okay, I'm slow and probably will need this again):
For Drupal 6.x and Views 6.x-2.6
- When you click Clone change the "View name:"
- change the Path from "frontpage" so Views doesn't get confused. (click 'Page' under 'Defaults')
After adding the Attachment:
- click 'Attachment' to change the 'Attachment settings' [ Position: Before | Attach to: Page ]
- change and 'Overide' 'Items to display:' to 1 (or as many full nodes as you want to display)
- change and 'Overide' 'Row style: Node' to 'Build mode: Full Node' (click the star button to open "Attachment: Row style options")
Changes the Page tab:
- change 'Items per page:' to however many teasers you want and change the offset to the Attachment's 'Items to display:'
Drupal Hosting
NIH Cancer Study: Supplemention with both vitamins and fenbendazole exhibited significant (P = 0.009) inhibition of tumor growth.
Just wondering
Sorry if I'm stealing/digging up this thread.. but it seemed like the right place to ask.
This works great, but I get the latest node printed two times: one time as the full node, then another time as a teaser.
I'm rather new to views, and (Drupal) coding in general, but I bet there must be a solution for this, right?
I'm trying to get the latest (promoted) node printed as a full node, while the rest of the (promoted) nodes will just be teasers.
Promoted to frontpage nodes:
- Node #4 (latest, full node)
- Node #3 (teaser)
- Node #2 (teaser)
- Node #1 (first, teaser)
How do I accomplish this?
Thanks in advance!
_
This part of Sam's additional instructions should take care of that: