[TYPO3-core] FYI: #16802: iFramePanel needs function to detect id in URL

Steffen Kamper info at sk-typo3.de
Tue Dec 21 18:11:45 CET 2010


Hi,

The following change has been committed to
trunk rev. 9865

Type: Bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=16802

Branches:
trunk

For all navigation scripts it's imprtant to determine the id used in url 
of contentFrame. There is the function getUrl() but then you have to 
parse the url by yourself.

This patch adds a little helper function getIdFromUrl() which is used by 
the new pageTree.

How to test:
Open console in BE and type:
top.TYPO3.Backend.ContentContainer.getIdFromUrl()
You'll see "undefined" if no id is used, or the used id.

vg Steffen
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: getIdFromUrl.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101221/dbeba0e8/attachment.txt>


More information about the TYPO3-team-core mailing list