PDA

View Full Version : Adding a (read more) link to news box


Bryan Ex
12-03-2006, 12:13 AM
When you post a news article in Pro 1.2 "..." is added if the article is longer than what you configured in admin panel to show on index.php and the only link to news.php is the title. I wish to change the "..." to "...(read more)" and have "(read more)" link to news.php. Where is that line of code located because I can't seem to find it?

Bryan Ex
12-03-2006, 02:09 AM
Never mind... I found it in the index template when I had been looking in the php files;

<div class="news-body">{$one_news.body|truncate:$config.news_max:"..."}</div>

All fixed up...