[TYPO3-dev] [BE] popup to other record (edit) close window on save

Gijs Epping gijs.epping at efocus.nl
Fri Jan 25 15:17:01 CET 2008


Hello,

I am creating a BE plugin for a customer but i need to add a popup to 
edit a other record.

this is the TCA how i call the script with the popup and some sql 
statements:

"information" => Array (		
	"exclude" => 1,		
	"label" => "Informatie",		
	"config" => Array (
		"type" => "user",	
		"userFunc" => "tx_rpho_user->user_TCAform_test",	
	),
),	


The popup i am using now is just a simpel javascript popup:

<a href="#" 
onClick="window.open(\'/typo3/alt_doc.php?&amp;edit[tx_efrpho_concertinformatie]['.$row['uid'].']=edit\',\'newwindow\',\'width=550,height=450,scrollbars=yes,toolbar=yes,location=yes\'); 
return false">
<img src="/typo3/sysext/t3skin/icons/gfx/edit2.gif" border="0">
</a>

But when the user saves, the window (offcourse) will no close. is there 
a way in typo world that i can change the user actions on the opened window?

may be i can add some javascript:

window.opener.reload
window.close()


regards Gijs




More information about the TYPO3-dev mailing list