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

Oliver Hader oliver at typo3.org
Mon Mar 30 09:45:56 CEST 2009


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
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0009046_v4.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090330/36f9688e/attachment.txt 


More information about the TYPO3-team-core mailing list