Page 1 of 1

force news to show just detailed content

Posted: Wed Apr 25, 2007 10:46 pm
by nat601
Hi,

I'm "coding" (i.e hacking together) a record label website at the moment and have run into trouble with the news module.

The site can be seen here:

http://www.polarred.com

i've had the bright idea of using news articles to store the content for information on new releases. This means that they will appear on the front page as menu items, showing just the summary.

What I am trying to do is on the releases page I want to call the news module again but just show the detail content of the news item.

I've looked at the parameters of the news module but can't find anything. I'm guessing it will have to be done through a custom news template, maybe forcing cms to use my detail template for the summary template...

Also my detail template looks like this:

Code: Select all

<!--{if $entry->formatpostdate}
	<div id="NewsPostDetailDate">
		{$entry->formatpostdate}
	</div>
{/if}-->
<h1 id="NewsPostDetailTitle">{$entry->title}</h3>

<hr id="NewsPostDetailHorizRule" />

<div id="NewsPostDetailContent">
	{eval var=$entry->content}
</div>


{if $return_url != ""}
<div id="boldcontent">{$return_url} </div>
{/if}
is there any easy way to change the $return_url into a url that redirects to the page for the relevant category (i.e. so i can put a link to "more releases" that directs to the releases page or "more site news" that redirects to the news page)

Sorry if this is confusing, i'm relatively new to building websites this way, but just impressed so far and eager to learn!!!

Thanks in advance,

Nat601