[TYPO3-dev] Scheme enforcement in 4.5.x
Jigal van Hemert
jigal at xs4all.nl
Fri Dec 9 13:11:25 CET 2011
Hi,
On 9-12-2011 11:39, Felix Nagel wrote:
> Am 08.12.2011 22:05, schrieb Jigal van Hemert:
>
> Just for my curiosity: What is the technical difference? Parsing TS pf
> the linked page vs. checking the page field url_scheme of the parent
> page(s)? Why is it less performance hungry?
In order to have the TS configuration of the linked page you need to
follow the rootline and collect all linked TS templates (including the
templates of extensions, TS files, etc.). After this the combined TS
needs to be parsed.
Collecting the page properties of all the parent pages just requires
collecting the rootline.
> Whats the exact difference between empty and no protocol? "Force not to
> use a protocol" leads to "use same as page where link is" Or is it just
> to prevent the inheritance when using config.typolinkInheritProtocol?
It's to prevent inheritance in a subtree. The idea is that if
typolinkInheritProtocol = 1 you only need to set the protocol for one
page and all the subpages use this setting. This is only useful for
editors if the default setting (<empty>) means "inherit". If you want to
unset this for a subtree you can use the new "force no protocol" setting
(which will also be inherited by subpages of that page).
> Sounds usable to me!
I'll see when I can make a patch in the coming days :-)
--
Kind regards / met vriendelijke groet,
Jigal van Hemert.
More information about the TYPO3-dev
mailing list