All,
My first on this board -- this is a great CMS!
Here's what I'm trying to do. I have a homepage where I want to display the first two news items (just the headline). The news headlines will be clickable to the main news page. That's it, but I have tried and been unsuccessful.
One more note, I want the code to look like this:
News item 1
News item 2
...as I am trying to make this design web-standards compliant using a list.
Thank you!
Customize news view
Re: Customize news view
In Admin, look under the Content Menu and then News. Then look at the Summary and Detail templates tabs. Here you can set a mix of html and module variables to allow you to achieve this.
Hope this helps,
Russs
Hope this helps,
Russs
-
- Power Poster
- Posts: 322
- Joined: Sat Feb 04, 2006 1:24 am
- Location: London, England
Re: Customize news view
First you will need to modify the Summary Template in Content > News - you can get help on how to do this by clicking the Help link above it.
Then you'll need to put this code in your page:
{news number='2'}
Then you'll need to put this code in your page:
{news number='2'}
Re: Customize news view
A follow-up... I've gotten the template set up properly, but I now I'm starting to play with the detail template. If I want the news items to all click to a news page that shows all news items, do what do I need to put in the detail template?