Editing the "aticle body" template problems

Please read the forum rules before asking for help

Editing the "aticle body" template problems

Postby alexh » Thu Mar 11, 2010 4:56 am

Hello,

I am trying to set up a very simplified template for the latest news articles on my main page. I want it to list the latest 4 articles, in the following format:

Article Title
... Read More (link)

Article Title 2
... Read More (link)

So, here is what I tried:

Code: Select all
{title}<br>
{article}
{full_news_link}Read More...{/full_news_link}<br><br>


Unfortunately it doesn't turn out the way I think it would.
The first article worked fine. After I added a second article, it cut off the title on the first one, and when I added a third and fourth article it totally got screwed up! :o
Here's a link to the site I'm creating: http://174.132.189.220/~srpdv2/

What I would really like to see is an ability to create a template with the following format:

Article Title 1 (as a link to article)
DATE / AUTHOR

Article Title 2 (as a link to article)
DATE / AUTHOR

Article Title 3 (as a link to article)
DATE/AUTHOR

Article Title 4 (as a link to article)
DATE/AUTHOR

... Archives

News management powered by Xpression News
alexh
 
Posts: 27
Joined: Thu Mar 04, 2010 3:26 am

Re: Editing the "aticle body" template problems

Postby whscouts » Sun Mar 14, 2010 10:18 pm

This looks sort of like the problem I'm experiencing with the template

I just looked at your site (very nice by the way!) and see that you solved the problem.

Is there any chance you can explain to me how you managed that.

This problem is driving me nuts!!!!

Ken
whscouts
 
Posts: 8
Joined: Mon Mar 01, 2010 11:19 am
Location: The town of Tring in the UK

Re: Editing the "aticle body" template problems

Postby alexh » Mon Mar 15, 2010 9:14 am

Thanks for the compliment! It's got some work to be done, but I'm getting there!

i *sort of* fixed it. I added about 5 "blank" lines in the beginning of the template. (just it enter a few times) before the code. Somehow it seemed to help. Can't figure out how though...
alexh
 
Posts: 27
Joined: Thu Mar 04, 2010 3:26 am


Return to Help & Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron