DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
EXT: My Extension¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed by: | Franz Ripfel |
Changed: | 2006-08-18T15:04:42 |
Author: | Author Name |
Email: | your@email.com |
Info 3: | |
Info 4: |
EXT:abz_core_domainlink¶
Extension Key: abz_core_domainlink
Copyright 2006, Franz Ripfel <typo3@abezet.de>
This document is published under the Open Content License
available from http://www.opencontent.org/opl.shtml
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
Table of Contents¶
EXT:abz_core_domainlink 1
Introduction 1
What does it do? 1
Screenshots 1
Adminstration 1
Configuration 2
Tutorial 2
Known problems 2
To-Do list 2
Changelog 2
Introduction¶
What does it do?¶
This Extensions provides an XCLASS for tslib_cObj::typolinkto allow following scenario:
You have a website with probably lots of pages in a big tree. On a deeper part of this page tree you want to relate to a page with different domains.
E.g.: You build a website for your region with all the cities and villages around in it. Lets have the domain www.yourarea.com for it. Some of the villages are very happy to have their content within your site, but want to have a different layout, if the visitor comes to your site by their domain. Lets assume www.single-village.de for it.
Since the content for the village is incorporated in your big site, you want to have links from the village subpart to the rest of your site.
These links should be internal links when a visitor visits the domain www.yourarea.com but become external (absolute) links when the visitor has www.single-village.de in his browser address bar.
Screenshots¶
Not available right now
Adminstration¶
Just install it.
Make sure you meet the following requirements:
- you do not want to set the rootlevel flag for your www.single- village.de part of the page because of the menu structure for the overall page. If its ok for you to set this flag in your TS template, you do not need this extension.
- config.typolinkCheckRootline is set to 1
- you have a condition for the domain www.single-village.de set in the Extension Template on root page for www.single-village.de , i.e.: [globalString = HTTP_HOST= www.single-village.de ]. Within this condition you would define another html template file, different menu structures and so on.
- You have a domain record for your overall website: www.yourarea.com.
Configuration¶
No further configuration necessary.
Tutorial¶
See Administration
Known problems¶
When using cache you need to have a condition in your extension template for the subpart of www.single-village.de , otherwise the cache won´t see any difference between www.single-village.de/ index.php?id=100 and www.yourarea.com/index.php?id=100 and therefore deliver wrong page layout.
See administration.
We did not check for realurl combatibility, so please check correct behaviour.
To-Do list¶
- check for realurl combatibility
- see if current domain can be added to cache parameters, so it won´t be necessary to have a condition set.