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

news column fixed height v4.2

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 01-28-2009, 08:14 AM
 
HotrodOffroad HotrodOffroad is offline
 

Member
  
Join Date: Dec 2008
Posts: 16
 

Default news column fixed height v4.2

OK, anyone know if it's possible to add a fixed height to the news column on the right in 4.2?
I can't seem to find the height attributes anywhere, or anything in the forums about it.
__________________
4.2 My site
Fancy Categories

4.2 Customer site
Fancy Categories
Reply With Quote
  #2  
Old 01-29-2009, 01:19 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: news column fixed height v4.2

Quote:
Originally Posted by HotrodOffroad
OK, anyone know if it's possible to add a fixed height to the news column on the right in 4.2?
I can't seem to find the height attributes anywhere, or anything in the forums about it.

And what happens if the news does not fit the specified height?
Reply With Quote
  #3  
Old 01-29-2009, 10:57 AM
 
HotrodOffroad HotrodOffroad is offline
 

Member
  
Join Date: Dec 2008
Posts: 16
 

Default Re: news column fixed height v4.2

I'm ok with it being cut off as long as it can be seen in the previous news section.. Which I plan on renaming to more news or something like that.
__________________
4.2 My site
Fancy Categories

4.2 Customer site
Fancy Categories
Reply With Quote
  #4  
Old 02-04-2009, 04:34 AM
 
HotrodOffroad HotrodOffroad is offline
 

Member
  
Join Date: Dec 2008
Posts: 16
 

Default Re: news column fixed height v4.2

Still no ideas?
__________________
4.2 My site
Fancy Categories

4.2 Customer site
Fancy Categories
Reply With Quote
  #5  
Old 02-04-2009, 05:22 AM
  JWait's Avatar 
JWait JWait is offline
 

X-Man
  
Join Date: Nov 2005
Location: California
Posts: 2,440
 

Default Re: news column fixed height v4.2

I haven't used the standard news feature in so long I'm not sure if this will work of not. Instead of trying to make the "news" a fixed height, try changing this in today_news.tpl

{$news_message.body}
to
{$news_message.body|truncate:100:"...":true}
then change "100" to whatever figure works for what you want to achieve in height.

What I usually do is just put a link in to "Latest News" and move the "subscribe" to that page.
__________________
Two Separate X-Cart Stores
Version 4.4.4 Gold - X-AOM - Vivid Dreams Aquamarine (modified) - Linux
Mods - Newest Products - View All -, and a few others. Numerous upgrades from 4.0.x series.
Integrated with Stone Edge Order Manager + POS

Version 4.1.12 Gold (fresh install) - X-AOM - Linux
Mods - XCSEO free
Reply With Quote
  #6  
Old 02-05-2009, 01:25 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: news column fixed height v4.2

It's unclear a bit.
Do you want to make teaser for every news with a link "read more"?
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
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 02:49 PM.

   

 
X-Cart forums © 2001-2020