How to set initial news item?

Discuss news styles, css code, and other Coranto customizations in here...the possibilities are endless, so have at it!

Moderator: Spunkmeyer

How to set initial news item?

Postby cosmocanuck » Thu May 11, 2006 10:18 pm

Hi all!

I'm using the "viewnews" addon, plus a customized .tmpl file, to create a news page with headlines on the left, and one news item (at a time) on the right. The test page is here:

http://www.coastspas.com/aboutcoast/news2.shtml

Only trouble is, I would like there to be some news on the initial page. Right now you have to click a headline first - which goes to the template page - to see anything on the right.

Is there a code i can use on this initial page that will automatically grab the most recent news item and display it? (I could hard-code a news item on this first page but don't want to do that for obvious reasons...)

Hope this makes sense... and that there's an easy answer! 8^)

Thanks,
Cosmo
cosmocanuck
 
Posts: 9
Joined: Thu May 11, 2006 10:04 pm

Re: How to set initial news item?

Postby Parahead » Fri May 12, 2006 7:50 pm

cosmocanuck wrote:Is there a code i can use on this initial page that will automatically grab the most recent news item and display it?
Simply create a profile that includes one newsitem...
Yes, I am still around...
www.parahead.com/coranto/
User avatar
Parahead
 
Posts: 4837
Joined: Fri Jan 12, 2007 8:54 pm
Location: Stockholm - Sweden

Postby cosmocanuck » Fri May 12, 2006 9:20 pm

Thanks! That did it.

It's definitely taking me a while to get my head around the whole Profile paradigm... but I do believe I'm getting the hang of it... mostly...
cosmocanuck
 
Posts: 9
Joined: Thu May 11, 2006 10:04 pm


Return to Customization

Who is online

Users browsing this forum: No registered users and 2 guests

cron