vBadvanced Forums  
Go Back   vBadvanced Forums > vBadvanced Products > vBadvanced CMPS > vBa CMPS v1.x (Archive - Closed for Posting) > Bugs & Other Issues

 
 
Thread Tools Display Modes
  #1  
Old 07-11-2004, 01:25 AM
Austin Austin is offline
Junior Member
 
Join Date: Jul 2004
Posts: 4
Default $getbgrow not working for news Archive

It worked when it was default, but I made a slight change so it would appear like I want it. (see attachment)

All I did was add:
PHP Code:
            if (strlen($news['preview']) > 100)
            {
                
$news['preview'] = fetch_trimmed_title($news['preview'], 100);
            } 
under:
PHP Code:
        if ($vba_options['portal_news_archivepreview'])
        {
            
$news['preview'] = $news['pagetext'];
        } 
then change the templates around.

Anyone know a good place to look where this might have been messed up? I'm guessing it's the template, but it has class="$getbgrow" like it should..
Attached Images
File Type: jpg archive.jpg (59.6 KB, 39 views)

Last edited by Austin; 07-11-2004 at 01:30 AM.
  #2  
Old 07-11-2004, 01:33 AM
Austin Austin is offline
Junior Member
 
Join Date: Jul 2004
Posts: 4
Default Re: $getbgrow not working for news Archive

wait a tick. It appears that it doesn't trade off by default..

Well, then someone show me how to do this? (and a mod move this to 'How Do I' =P)

Edit: Well, I figured it out myself. Thanks anyway.

Last edited by Austin; 07-11-2004 at 07:54 PM.
  #3  
Old 07-11-2004, 08:25 PM
Brian's Avatar
Brian Brian is offline
Administrator
 
Join Date: Jan 2004
Location: Georgia, USA
Posts: 34,240
Default Re: $getbgrow not working for news Archive

Moving this to the bugs forum as it should work by default.
  #4  
Old 07-12-2004, 04:05 PM
Austin Austin is offline
Junior Member
 
Join Date: Jul 2004
Posts: 4
Default Re: $getbgrow not working for news Archive

But the default template looks almost like forumhome_level2_post, ne? Those rows aren't supposed to be the same color throughout and alternate, each cell alternates and is the same for each row.

Did that make sense?
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:29 AM.

Forums Powered by vBulletin, Copyright ©2000-2009, Jelsoft Enterprises Ltd.
Please note that vBadvanced is in no way affiliated with Jelsoft Enterprises Ltd, nor will Jelsoft be able to provide any support for our products.