PDA


View Full Version : $getbgrow not working for news Archive


Austin
07-11-2004, 02:25 AM
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: if (strlen($news['preview']) > 100)
{
$news['preview'] = fetch_trimmed_title($news['preview'], 100);
} under: 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..

Austin
07-11-2004, 02:33 AM
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.

Brian
07-11-2004, 09:25 PM
Moving this to the bugs forum as it should work by default. ;)

Austin
07-12-2004, 05:05 PM
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?