Page 1 of 1

Making all of the news summary a link

Posted: Wed Dec 12, 2007 8:43 pm
by subliminal
When publishing a news article the title and the more link work as links into the detailed article.

I've added a field definition called image where editors can upload an image in a separate block, easier for them that way.

My articles start off in this order:

image
[link]title[/link] <-- a link to the detailed news page
summary
[link]more[/link] <-- a link to the detailed news page
Published date
Category
Publisher

But what I´d really like is this:
[link]
image
title
summary
more
Published date
Category
Publisher
[/link] <--- all ofthe above as a link to the detailed news page

Is this possible. Please let me know how I should go about to make this come true.

I´ve also noticed that the rating module doesnt work for the news, only for pages since it cannot find the correct url in the news. Anyone heard about this or has a fix for it?

Re: Making all of the news summary a link

Posted: Wed Dec 12, 2007 8:51 pm
by calguy1000
use a combination of {get_template_vars} and {$objectname|print_r} to view what is available for you to use within templates.

I know the answer is there.... you just have to find it.

Finding it, is an excercise left up to the user (it's an educational process).