[TYPO3-dev] Current pid not yet available while FE authentication?
Steffen Müller
typo3 at t3node.com
Fri Nov 23 15:20:10 CET 2012
Hi Richard,
On 22.11.2012 21:42 Richard Davies wrote:
>
> I've thought this through and there are a couple of 'hack' ways to do this:
> 1. Use the array $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] in
> conjunction with database lookups to decode the URL yourself (or use a part
> of RealUrl if it allows it
> 2. If all you need is the site rootline pid, you can use the table
> sys_domain. Get the domain name from global vars, then select pid from
> sys_domain where domainName = $domainName
>
Thanks for your support.
Your suggestion is a step forward. But using the rootpage id would not
deliver the specific TS settings from the current page below the rootpage.
Do you have some more hints?
--
cheers,
Steffen
TYPO3 Blog: http://www.t3node.com/
Twitter: @t3node - http://twitter.com/t3node
More information about the TYPO3-dev
mailing list