Recent Topics

1 Feb 03, 2006 21:29    

Hey Gang,

OK, here's a real stumper.. I'd like to "Pre-populate" the main entry field on a new blog entry.

So for example, when you "start" a new blog entry, you'll see

"Please enter your main copy here. You must enter the following:
Short summary of why you would want to do it:
Step by step instructions:
1.
2.
3."

Is there a simple way I can do this? Obviously, I don't want this to re-appear when someone edits the blog entry.

Thanks gang!

Dan

2 Feb 03, 2006 22:54

Open /b2evocore/_edit_form.php and find this part:

 <?php // ---------------------------- TEXTAREA -------------------------------------
        // Note: the pixel images are here for an IIS layout bug

?>


Make it look like this:

 <?php // ---------------------------- TEXTAREA -------------------------------------
        // Note: the pixel images are here for an IIS layout bug
if (empty($content)) $content = 'Hello, this is a test.';
?>


Form is loading...