Recent Topics

1 Apr 28, 2009 22:18    

My b2evolution Version: Not Entered

Hey all, so I've been playing with 3x and also with a photo blog. The installation is running:

http://birthdayshoes.com

Where I'm running into weird quirks are when b2evo builds a cropped grid index. For an example, see here:

http://birthdayshoes.com/photos.php?disp=mediaidx

I've set the mediaidx display to only two columns as when I was doing 8 (default), it was just doing one long row. I've noticed the somewhat erratic grid of the mediaidx is also seen when I do larger photo index widgets on the sidebar of http://birthdayshoes.com

It seems as though the build is struggling with the table creation -- has anyone else seen this problem?

Justin

2 Apr 30, 2009 10:41

I have a funny feeling that the same solution in http://forums.b2evolution.net/viewtopic.php?t=15660 will take care of this issue, although the file is now different. Seems the skin bug was upgraded to a widget bug :)

In v310 crack open /inc/widget/widgets/ and look around line 237 for $count++, then move it to just after the } on the next line. Can't hurt eh?

3 Apr 30, 2009 17:31

EdB wrote:

I have a funny feeling that the same solution in http://forums.b2evolution.net/viewtopic.php?t=15660 will take care of this issue, although the file is now different. Seems the skin bug was upgraded to a widget bug :)

In v310 crack open /inc/widget/widgets/ and look around line 237 for $count++, then move it to just after the } on the next line. Can't hurt eh?

That worked like a charm - the one fix fixed both the widget and the index.

The file in inc/widgets/widgets/ that you need to fix is _coll_media_index.widget.php and it looks like this after the fix:

			if( $post_ID != $prev_post_ID )
			{
				$prev_post_ID = $post_ID;

			}
				$count++;

Thanks EdB!

For future search purposes, a few keywords: mediaidx photo index widget 3x grid photoblog media


Form is loading...