[TYPO3-dev] Multidomain setups and crosslinking - concept

Dmitry Dulepov dmitry at typo3.org
Fri Dec 19 12:38:49 CET 2008


Hi!

Steffen Kamper wrote:
> *point 1* for me i don't understand:
> typolinkEnableLinksAcrossDomains enables typolinkCheckRootline
> typolinkEnableLinksAcrossDomains is used in a section where
> typolinkCheckRootline has to be set. So typolinkEnableLinksAcrossDomains
>  is only something to enable typolinkCheckRootline, why this both and
> what is the difference?

typolinkCheckRootline serves another purpose (see in TSRef). typolinkEnableLinksAcrossDomains requires typolinkCheckRootline, so it sets it implicitly. typolinkEnableLinksAcrossDomains is used on line 5273 at typo3/sysext/cms/tslib/class.tslib_content.php and later the variable $enableLinksAcrossDomains is used on lines 5461, 5550 and 5518. It is not the case if only typolinkCheckRootline is set. Also RealURl knows about typolinkEnableLinksAcrossDomains and performs different actions depending on its value.

> *point 2* - domain record seems not be respected, imho this should be
> the first url-part used

It is respected (lines 5493 and below)

> *point 3* - usage of baseURL and/or absRefPrefix - IIAC baseURL should
> be set, both can be a problem, absRefPrefix is needed for fully
> qualified urls for pictures and other ressources

baseURL is not necessary for linking across domains, neither is absRefPrefix.

> *point 4* following doesn't work proper:
> 
> - Menus all use actual domain

This was fixed in 4.2. There is a bug report about it. If it does not work, you need to provide steps to reproduce the problem.

> - linking to page in other menu using element browser always use actual
> domain

I do not understand. Linking in menu using element browser??? How do you do it? menu is typically created by TS and element browser works with RTE.

-- 
Dmitry Dulepov
TYPO3 core team
In the blog: http://typo3bloke.net/post-details/how_will_i_fix_bugs_in_extensions_from_now_on/
My TYPO3 book: http://www.packtpub.com/typo3-extension-development/book




More information about the TYPO3-dev mailing list