[TYPO3-dev] $BACK_PATH Problem

Steffen Kamper info at sk-typo3.de
Wed Feb 11 10:44:37 CET 2009


Hi,

use $GLOBALS['BACK_PATH'] all the time (you already do)

vg Steffen

Alexanderl All schrieb:
> Hi,
> 
> i´m trying my firts backend-extension. My problem is that i would like delete a dataset and than reload the frame automatically. Unlike reload the erasure is working with following code. 
> 
> [php]
>     function main()    {
>         global $BE_USER,$LANG,$BACK_PATH;
>         ...
>         $this->doc->backPath = $BACK_PATH;
>         ...
>         for(......) {
>            ....
>            $delete = "<a href=\"".$this->doc->backPath."tce_db.php?&amp;cmd[".$this->table."][".$uid."][delete]=1\"><img".t3lib_iconWorks::skinImg($GLOBALS['BACK_PATH'],'gfx/garbage.gif','width="16" height="16"')." title='delete' border='0' alt='' /></a>";
>            ...
>         }
>         ...
>     }
> [/php]
> 
> In this script is 
> [php]
> $this->doc->backPath = $BACK_PATH; 
> [/php]
> 
> emty. Have someone advice how i make it better?
> 
> Thanks
> 
> 
> _________________________________________________________________
> Neu: Office Live Workspace, der kostenlose Online-Arbeitsbereich für Office. Ideal auch für Teams. Jetzt ausprobieren!
> http://workspace.officelive.com/?lc=1031&cloc=de-DE




More information about the TYPO3-dev mailing list