[TYPO3] How to get domain name thru typoscript
Elijah
elijah.alcantara at gmail.com
Wed Dec 26 08:47:36 CET 2007
Hi,
I'm just trying to get a domain name :
lib.currentdomain = TEXT
lib.currentdomain {
data = DB : sys_domain : {GPvar:pid} : domainName
data.wrap3 = {|}
data.insertData = 1
}
I followed that snippet somewhere from this list but it doesn't work, it
will only work when I replace {GPvar:pid} with the correct pid number
from a domain record.
Has anyone done this before?
Regards,
Elijah
More information about the TYPO3-english
mailing list