Recent Topics

1 Apr 14, 2009 07:05    

My b2evolution Version: 3.1.0

Just playing around with 3.1.0 and I was wondering if there is a way to force the default option under the Visibility / Sharing panel to "Published". It's more a minor annoyance than anything, but it would be nice to change it if at all possible.

Really liking 3.1.0 though. Can't wait to see what's on the horizon.

Thanks.

2 Apr 14, 2009 11:23

2 choices :

1) /inc/collections/model/_blog.class.php ( approx 1185 ), change draft to published

		if( empty( $status ) )
		{
			$status = 'draft';
		}

2) /inc/items/items.ctrl.php ( approx 205 ), change NULL to "published"

		$edited_Item->status = param( 'post_status', 'string', NULL );		// 'published' or 'draft' or ...

¥

3 Apr 14, 2009 11:25

This should be able to be set/selected at the "write" screen... A very "3" idea :)

4 Apr 14, 2009 16:17

Wow! That was fast! Thanks for the help! :D

5 Apr 14, 2009 22:22

Didn't I see a "Save and Publish Now" button where good old fashioned "Publish" used to be? I didn't play long enough to test it, but I got the impression that would, you know, over-ride the default draft setting.

6 Apr 16, 2009 14:34

You did, it can ... I'd still prefer a setting for "default post status" though ;)

¥


Form is loading...