[TYPO3-core] RFC: #9046: Nested domain linking with domain record on root page

Steffen Ritter info at rs-websystems.de
Tue Apr 28 15:01:46 CEST 2009


Oliver Hader schrieb:
> Hi,
> 
> Tobias Liebig schrieb:
>> Tobias Liebig schrieb:
>>> Christopher Hlubek schrieb:
>>>> Hi,
>>>>
>>>> This is an SVN patch request.
>>>>
>>>> Type: Bugfix
>>>>
>>>> Branches: Trunk, TYPO3_4-2
>>>>
>>>> Bugtracker references:
>>>> http://bugs.typo3.org/view.php?id=9046
>>>>
>>> After another look on the code we completly rewrote the part of the
>>> code  to find the domain records for the target page.
>>>
>>> What the patch does now is simply doing those three steps:
>>> 1. check if the target page is a subpage of the current page and would
>>> be reachable with the current domain (=> if so, skip the rest)
>>> 2. find all domain records in the rootline of the target page
>>> 3. use target domain only if the target page is not reachable within
>>> the current domain
>>>
>>> Along the way we saved one foreach loop and corrected some strange
>>> variable namings.
>>>
>>>
>>> Note: make sure to set "config.typolinkCheckRootline" to true/1 when
>>> dealing with multiple domains.
>>>
>>> Note 2: This patch is sponsored by the bug auction on the current
>>> t3board in Laax. Thanks!
> 
> Together with Ingmar the following issue was fixed:
> 
> + root (domain A, siteroot)
> |
> +--+ Subsite (domain B, siteroot)
> | |
> | +--+ Subpage
> |
> +--+ Subsite (domain C, siteroot)
> |
> +--+ Some Page
> |
> +--+ Other Page
> 
> When "domain B" was called, the links to "domain C" were not prepended,
> since the uppermost domain record in the rootline "domain A" overwrites
> "domain B".
> 
> Besides that: +1 on reading and testing
> 
> olly
> 
#Reminder!
and my +1 on reading...


More information about the TYPO3-team-core mailing list