[TYPO3-dev] $BACK_PATH Problem

Alexanderl All speedy_is_here at hotmail.com
Wed Feb 11 11:03:14 CET 2009



Thanks Steffen but it´s the same result

[php]

$delete = "<a href=\"".$GLOBALS['BACK_PATH']."tce_db.php?&amp;cmd[".$this->table."][".$uid[$i]."][delete]=1\">...</a>"; 

[/php]
[html]
<a href="tce_db.php?&amp;cmd[tx_alltrader_personen][2][delete]=1">...</a>
[/html]


> From: info at sk-typo3.de
> Date: Wed, 11 Feb 2009 10:44:37 +0100
> To: typo3-dev at lists.netfielders.de
> Subject: Re: [TYPO3-dev] $BACK_PATH Problem
> 
> 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
> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

_________________________________________________________________
Hotmail to go! Hol' Dir Hotmail aufs Handy!
http://windowslivemobile.msn.com/BrowserServiceHotmail.aspx?lang=de-de



More information about the TYPO3-dev mailing list