Recent Topics

1 Jun 28, 2008 11:07    

My b2evolution Version: 2.x

Hi!

I'm looking for a way to add a default text INTO the textarea in the write-Form!

This text should be visible for all users!

Is there a way to do this?

Please, I need help I'm geting desperate ;)

Andylee

PS: Any further information required?

2 Jun 28, 2008 18:45

Open /inc/items/views/_item_simple.form.php and after all globals around line 50 add this code

global $action;
if( !empty($action) && $action == 'new' )
{
	$item_content .= 'My default text';
}

Do the same thing for /inc/items/views/_item_expert.form.php if needed

3 Jun 28, 2008 19:06

thanks, problem solved, happyness secured, day saved, girlfriend gaind, gold earned, work done, points collected.... what was I trying to say? 8|


Form is loading...