[Typo3] multiple domains & content_from_pid

Igor Timofeev etern at list.ru
Sun Jul 31 11:57:50 CEST 2005


Thanks to Dmitry Dulepov for hint of using typoLink() to produce correct
link.
The problem was in modified tt_products.
After rewriting links in the following manner crosslinks between domains
seems to work correctly.

Before:

$markerArray["###CAT_TITLE_LN2###"] = '<a
href="index.php?id='.$this->conf["PIDlistCatsItems"].'&cat='.$row[uid].'">'.
$row["title"]."</a>";

Now, using typoLink:

$markerArray["###CAT_TITLE_LN2###"] =
          $this->cObj->typoLink(
           $row["title"],
    array(
     'parameter' => $this->conf["PIDlistCatsItems"],
     'additionalParams' => '&cat='.$row[uid],
     'no_cache' => 1
    )
   );

Thanks.

--
Wbr, Igor Timofeev
2:5015/10.6



"Igor Timofeev" <etern at list.ru> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
news:mailman.1.1122796959.11377.typo3-english at lists.netfielders.de...
> Now I have this in setup section of my rootlevel template:
>
> #for correct links with multiple domains
> config.typolinkCheckRootline=1
> TSFE.jumpUrl_transferSession = 1
> config.jumpurl_enable = 1
> config.content_from_pid_allowOutsideDomain=1
>
> But anyway, if I open domain2.com?4 (pid=4 belongs to domain1.com page
> subtree), I recieve main page of domain2.com, not expected domain1.com?4
:(
>
> What else can I try?
>
>
> "Valery Romanchev" <it at webmed.ru> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
> news:mailman.2122.1122792594.20617.typo3-english at lists.netfielders.de...
>
> #for correct links with multiple domains
> config.typolinkCheckRootline=1
>
> ---
> Best regards,
> Valery Romanchev
> freelance TYPO3 web-developer
> Email: romanchev at list.ru
> Phone: +7 (095) 370-84-08
> Moscow, Russia
>
>
> > -----Original Message-----
> > From: typo3-english-bounces at lists.netfielders.de
> > [mailto:typo3-english-bounces at lists.netfielders.de] On Behalf
> > Of Dmitry Dulepov
> > Sent: Sunday, July 31, 2005 9:56 AM
> > To: typo3-english at lists.netfielders.de
> > Subject: Re: [Typo3] multiple domains & content_from_pid
> >
> > Hi!
> >
> > There is an option called something like checkRootLine
> > (cannot find exact name right now). It works on the typolink
> > level and adds domain if necesary.
> >
> > Dmitry.
> >
> > Igor Timofeev wrote:
> > > I found it finally:
> > > config.content_from_pid_allowOutsideDomain=1
> > >
> > > Now I have to manage links from domain1.com?pid, where "pid" is in
> > > domain2.com page subtree, so that link opens
> > domain2.com?pid instead.
> > > How this can be done?
> > >
> > > Thank you!
> > >
> > >
> > > "Igor Timofeev" <etern at list.ru> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ
> > ÓÌÅÄÕÀÝÅÅ:
> > >
> > news:mailman.1.1122782072.16637.typo3-english at lists.netfielders.de...
> > >
> > >>Hello, I need some help on the following:
> > >>
> > >>There're two sites in one page tree. Each site has "advanced" pages
> > >>displaying content from other site (content_from_pid field in
> > >>table).After adding domain records to these two sites, such
> > pages don't work anymore.
> > >>Instead the 'advanced' pages show first page of current site, not
> > >>content from other site page.
> > >>I suppose this is a known problem, but I didn't found solution yet.
> > >>Thank you for suggestions.
> > >>--
> > >>Wbr, Igor Timofeev
> > >>
> > >>
> > >
> > >
> > >
> > _______________________________________________
> > Typo3-english mailing list
> > Typo3-english at lists.netfielders.de
> > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >
>
>





More information about the TYPO3-english mailing list