[TYPO3-english] AOE linkhandler troubles

Jigal van Hemert jigal at xs4all.nl
Mon Jun 15 21:26:50 CEST 2009


Hi Tolleiv,

Thank you for answering!

>> (links to pages work correctly)
>> The RTE link isn't even handled at all:
>> <a href="typo3/record:tt_news:278">news</a>
> Hm maybe this is also cause by Firefox 3.0.11 and the "known" bug
> http://bugs.typo3.org/view.php?id=11009, since usually if TYPO3 would
> not handle it you wouldn't see the "typo3/record:..." in your output
> (especially the "typo3/" is strange ...
>

Correct, I just found this nice little 'bug'.

Links in the RTE work fine now, it's just that the FE rendering of links
to records in FCEs are broken.

This definition:

<field_link type="array">
  <type>attr</type>
  <tx_templavoila type="array">
    <title>Link to message</title>
    <sample_data type="array">
      <numIndex index="0"></numIndex>
    </sample_data>
    <eType>link</eType>
    <TypoScript>
10 = TEXT
10.typolink.parameter.current = 1
10.typolink.returnLast = url
        </TypoScript>
    <proc type="array">
      <HSC type="integer">1</HSC>
    </proc>
  </tx_templavoila>
  <TCEforms type="array">
    <config type="array">
      <type>input</type>
      <size>15</size>
      <max>256</max>
      <checkbox></checkbox>
      <eval>trim</eval>
      <wizards type="array">
        <_PADDING type="integer">2</_PADDING>
        <link type="array">
          <type>popup</type>
          <title>Link</title>
          <icon>link_popup.gif</icon>
          <script>browse_links.php?mode=wizard</script>
          <JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
        </link>
      </wizards>
    </config>
    <label>Link naar bericht</label>
  </TCEforms>
</field_link>

as generated by TemplaVoila works correctly with internal pages, etc.
Only a link to a record is rendered as:

<a href="&lt;a
href=&quot;index.php?id=366&amp;amp;tx_ttnews[tt_news]=265&amp;amp;tx_ttnews[backPid]=177&amp;amp;cHash=5cadd12fee&quot;
&gt;news details&lt;/a&gt;" >Test message</a>

It's almost as if linkhandler causes typolink.returnLast to stop working :-(

-- 
Jigal van Hemert.



More information about the TYPO3-english mailing list