[TYPO3] Domain Element not working properly

Bernhard Kraft kraftb at kraftb.at
Tue Aug 1 16:10:23 CEST 2006


Amir M. wrote:
> Hi,
> 
> I have just created a subdomain civ.stratcommandcenter.com and I want
> one of the subsites on my website to have this subdomain.  So what I did
> is I pointed the civ.stratcommandcenter.com subdomain to the Typo3
> installation index, and then created the Domain element in the subsite's
> root page.
> 
> Now when you click civ.stratcommandcenter.com, it takes you to the right
> page - the subsite's root page, HOWEVER, when you click any other link
> within that subsite it does not retain "civ.stratcommandcenter.com" it
> just goes back to the old urls forums.

Does this happen when you have a menu whose links lay in different domains ?

If this is the case you are encountering a bug in TYPO3. AFAIR it will only
occur when you use simulateStatic or realURL ...

Here is an extension which fixes this problem:

http://think-open.org/kraftb/index/T3X_kb_domainLinks-0_0_0.t3x

you have to put this:

---
config.domainTarget = _top
---

into the TS-Setup field of your TS-Template (of every page which links to others)




greets,
Bernhard
-- 
----------------------------------------------------------------------
"Freiheit ist immer auch die Freiheit des Andersdenkenden"
Rosa Luxemburg, 1871 - 1919
----------------------------------------------------------------------
[[ http://think-open.at | Open source company ]]



More information about the TYPO3-english mailing list