Making all of the news summary a link

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
subliminal
New Member
New Member
Posts: 4
Joined: Wed Dec 12, 2007 4:18 pm

Making all of the news summary a link

Post 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?
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Making all of the news summary a link

Post 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).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
Post Reply

Return to “Layout and Design (CSS & HTML)”