[TYPO3] How to get domain name thru typoscript

Christopher Torgalson bedlamhotel at gmail.com
Wed Dec 26 21:35:35 CET 2007


Elijah wrote:
> Thank you for spotting my mistakes there, no wonder it isn't working.
> 
> What I was actually trying to do is to grab the domain name record for 
> each menu item(if there is any), the code you've given me works great 
> for my site but when used in a menu and a particular menu item has it's 
> own domain name it will still fetch the current domain.


That's right--because menus are a special case where each menu item's 
'scope' is that of the page record of the current/given page. Glad it's 
working out.


-- 
Christopher Torgalson / bedlamhotel at gmail.com


More information about the TYPO3-english mailing list