[TYPO3-core] RFC 15502: localization links in list mode are brocken
Gosign | Caspar Stuebs
caspar at gosign.de
Tue Aug 24 11:09:45 CEST 2010
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Björn,
Am 24.08.2010 09:28, schrieb Bjoern Pedersen:
> v6 is still wrong. The backPath is added by issueCommand already.
no, it is not. The backpath inside typo3/template.php is not the same as
inside typo3/class.db_list_extra.inc, as the first one is working in
directory typo3/ (backpath = ''), while the second one is included by
typo3/sysext/list/mod1/db_list.php and is working in that directory
(backpath = '../../../').
with patch v6 all works expected, with patch v7 I get an error while
clicking on the localisation link:
The requested URL /typo3/sysext/list/mod1/tce_db.php was not found on
this server.
Am 23.08.2010 22:42, schrieb Steffen Kamper:
> brr - the handling of links and backpath in listmodule(s) is really
> awful. It doesn't mattered before as backPath was empty all the time.
yes, it is.
I found that $this->backPath is used at nearly all occurences where a
backpath is needed. But in some cases the $GLOBALS['BACK_PATH'] is used
instead. This should be fixed to use $this-backPath at any time. (see
patch v8 with additionally CGL issues)
I had a look if it is possible to change the backpath to the contstant
TYPO3_mainDir as it should work with a path relative to the page-root,
but in some cases the backpath needs to be relative to the called
script. :-(
So there should be a lot of work to do...
Viele Grüsse
Caspar Stuebs
Entwicklung
***Gosign im Jahrbuch der Werbung 2009***
NEW | We web pink: www.bebegeneration.de
We web green: www.greenpeace-hamburg.de
We web baguette: www.renault-safety.com
- --
Gosign media. GmbH | We web ideas.
Lokstedter Weg 36 | 20251 Hamburg
Tel. +49 (0) 40 / 31 70 15 00 | Fax +49 (0) 40 / 31 70 15 02
eMail caspar at gosign.de | Internet www.Gosign.de | Skype caspar.stuebs
Amtsgericht Hamburg HRB 112197 | Ust-IdNr. DE215891388
Geschäftsführung Bert Gogolin
Greenpeace energy: Gosign läuft mit ehrlichem Strom.
Diese Mail bitte nur ausdrucken, wenn es wirklich sein muss.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkxzjFkACgkQBN8gVNLcSL50pwCdEkljDRZUhvmy/FFR3a4Lh2Yp
eGEAoLQXl1A9Fr4wAxP9TSTL0gByammg
=Eiid
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 15502_v8.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100824/822c4a5a/attachment.asc>
More information about the TYPO3-team-core
mailing list