Bug #18764
closed
Linking between domains in the pagetree with checkRootline does not work with menus and normal text links
Added by Tobias Hunziker over 16 years ago.
Updated about 6 years ago.
Description
This is the same issue as reported in 0007839. One of our customers doesn't wants to upgrade to Typo3 version 4.2. Therefore we are looking for a working patch for Typo3 version 4.1.6.
We donate for a working patch on our system.
(issue imported from #M8356)
Files
Hey,
there is a workaround for this for 4.1 and 4.0 to do this over TypoScript. Would this work for you?
I'll see if I can find this one for you again.
Benny, are you sure it is possible to enable links across domains using TS?
The code patch for 4.1.6 is attached. It applies ok to 4.1.6:
~/Projects/TYPO3/TYPO3_4-1-6 $ patch -p0 --dry-run < ../8356.diff
patching file typo3/sysext/cms/tslib/class.tslib_fe.php
patching file typo3/sysext/cms/tslib/class.tslib_menu.php
patching file typo3/sysext/cms/tslib/class.tslib_content.php
I made it some time ago but it did not went to 4.1 and there is no chance that it can get into 4.1 because it is a new feature. But you can apply it yourself.
Hi Dmitry, i tested already the patch from issue 0007839 in our system, but there were some errors patching the file. I will test your patch 8356.diff on wednesday and give you a feedback about that.
@Benny: I think a patch is the better solution for our customer.
7839 is for 4.2, it will not apply to 4.1 :)
Hello Dmitry,
first thank you very much for your patch. We installed it on our test enviroment without problems.
The Situation now is as fallows:
- I enabled typolinkCheckRootline and typolinkEnableLinksAccrosDomains.
- Text-links (from text-content elements > RTE) seems to work now correct between domains!
Links in navigations (TMENU) pointing to an other domain does still not work.
Do you have any tips for me to get that working? you can contact me via mail tobias.hunziker@namics.com
All domains must have "Is root of web site" set in page properties for the domain's root page.
I copied the original src-files again into the directory and patched them once again without errors. But today I thinked i check the patched files if they are really patched and realized, that the files were not changed (Patching didn't work). Therefore I changed the files manually and checked the links again. Now all links are working correctly.
Please send me your paypal mail-address that we can transfer the money.
PayPal address is dmitry.dulepov@gmail.com. I have problems with making invoices (not sure if it is important to you). If you do not need formal invoice, then all fine.
Tobias, I do not have your e-mail but you can contact me at gmail address or at dmitry@typo3.org.
- Status changed from Resolved to Closed
Also available in: Atom
PDF