Russian TYPO3 community Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community  

Вернуться   Russian TYPO3 community > Обсуждение общих технических вопросов > Общие вопросы

 
 
Опции темы Опции просмотра
Старый 19.01.2006, 19:56   #4
Valery Romanchev
Administrator
 
Аватар для Valery Romanchev
 
Регистрация: 23.08.2003
Адрес: Moscow, Russia
Сообщений: 1,926
Отправить сообщение для Valery Romanchev с помощью Skype™
По умолчанию re: Мультидоменность. Тиражирование контента по сайтам

http://bugs.typo3.org/view.php?id=1208
И вот еще

07-06-2005 13:31 by Andreas Dolleschal, andreas@we dont want spamdeveloper.at

Hi,

We have a typo3 installation (V3.7) where we use domain-pointers because
we have many subwebs in one installation. If we try to link internally
from one domain to another domain, the links will not produced
correctly.

For example:

link to Page 1023 in another domain produces this link:

http://another.domain.com/?id=1023

as you can see there is index.php missing. Snooping a little into the
Source i found the following statement in class.tslib_content.php (Line
4996)

----
$this->lastTypoLinkUrl =
$this->URLqMark('http://'.$tCR_domain.'/?id='.$page['uid'],$addQueryPara
ms).$sectionMark;
----

>From my point of view holds $tCR_domain just the URL to the domain (eg:
http://another.domain.com) which results in the above Url. Changing the
statement to

----
$this->lastTypoLinkUrl =
$this->URLqMark('http://'.$tCR_domain.'/index.php?id='.$page['uid'],$add
QueryParams).$sectionMark;
----

Fixes this problem. Hopefully this change does not result in any
sideeffects.

Best regards,
Andreas

Valery Romanchev вне форума   Ответить с цитированием
 


Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB code is Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


Часовой пояс GMT +4, время: 17:26.


Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot

Хостинг и техническая поддержка: TYPO3 Лаборатория