It actually should be Folder class I think, but I just can't make it happen.
I can't see why this doesn't work, but it doesn't! Theres no errors, just no result.
From dca/tl_realestate.php
	Code:
			'onsubmit_callback' => array
		(
			array('tl_realestate', 'generateFolder')
		)
 
	Code:
	class tl_realestate extends Backend
{
	//generate a new folder based on street/name AND id initially and each time the street/name is changed
	public function generateFolder(DataContainer $dc)
	{
	$foldername = 'realestate/' . $dc->activeRecord->accomm_street .'_id_'. $dc->id;
	$folder = new Folder($foldername);
	
	//inform that this folder has been created... messages????????
	}
....
 Do I need to import something since it extends backend ?
						
					
Bookmarks