Am Freitag, 25. Februar 2011 13:48:22 UTC+1 schrieb (unbekannt):
i think its much better to add
$this-set('referer',$this-referer());
to your beforeRender();
and
$this-Html-link('back',$referer);
to your view.
one less reliance on js is a win in my book.
Mike Karthauser
can't find out how to resolve:
a href=javascript:history.back()go back/a
with:
$this-Html-link
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related
can't find out how to resolve:
a href=javascript:history.back()go back/a
with:
$this-Html-link
you can do
echo $this-Html-link('go back',javascript:history.back());
i think its much better to add
$this-set('referer',$this-referer());
to your beforeRender();
Or you can just do:
a href=javascript:history.back()go back/a
No need to use an HTML helper for a task its not needed for.
On Feb 25, 4:48 am, mi...@brightstorm.co.uk wrote:
can't find out how to resolve:
a href=javascript:history.back()go back/a
with:
$this-Html-link
you can do