Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

News Managament Help

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-02-2006, 01:13 PM
  pctechtoys's Avatar 
pctechtoys pctechtoys is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Orlando, FL
Posts: 36
 

Default News Managament Help

Ok I am having an issue with my news management. I figured out how to display the news. But when put it in the storefront it displays the whole article.. I donБ─≥t want it to do that I just want it to display the Title and if people are interested they can click on it and read the article.

How can i set it up for this. I have seen other websites operating x-cart that do what I want to do. Am I just over looking something or????

Thank you in advance
__________________
X-Cart version 4.0.12
www.pctechtoys.com
www.ecsidirect.com
Reply With Quote
  #2  
Old 03-02-2006, 03:43 PM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

edit news.tpl
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 03-02-2006, 04:03 PM
  pctechtoys's Avatar 
pctechtoys pctechtoys is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Orlando, FL
Posts: 36
 

Default

I have looked in the news.tpl and the today_news.tpl and anything else that was related to news. I simply can not find what line to edit to get the program show only the subject news not the whole news article.
__________________
X-Cart version 4.0.12
www.pctechtoys.com
www.ecsidirect.com
Reply With Quote
  #4  
Old 03-03-2006, 02:24 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

in todays_news.tpl find

Code:
{$news_message.body}

change to

Code:
<A href="news.php?newsid={$news_message.newsid}"> {$news_message.subject} </A>

something like that anyway
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #5  
Old 03-03-2006, 08:35 PM
  pctechtoys's Avatar 
pctechtoys pctechtoys is offline
 

Advanced Member
  
Join Date: Jul 2004
Location: Orlando, FL
Posts: 36
 

Default

SHan,

That did it, thank you very much.
__________________
X-Cart version 4.0.12
www.pctechtoys.com
www.ecsidirect.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:41 PM.

   

 
X-Cart forums © 2001-2020