By Sudrien on
Ok, I have some categories, with a sticky page at the top and stories beneath.
The thing is, all those sticky pages are also sticking on my root/index/frontpage. It's OK if the stories are there, but the sticky pages really don't belong.
I'm working off the sharepoint-like theme.
-Sudrien.
Comments
promoted?
If the sticky pages are not promoted, they won't appear on the front page. You can demote them at /admin/node
Check your default settings re: promoted under /admin/settings/content-types
---
Work: BioRAFT
New Front Page
The standard code for the home page looks something like this
The "ORDER BY n.sticky DESC" puts the sticky nodes at the top
To get what you want
- create a new Page
- insert the PHP code below into the Page
--- make sure to select the PHP code Input Format
--- note the remove of n.sticky
- make that new page your default home page through Admin/Settings/General/Default Front Page