[TYPO3] typolink - open.window

Camilla test at test.dk
Wed Dec 20 15:39:53 CET 2006


Hi Dmitry

I tried to delete 10.typolink.returnLast = url but then an error occures:
Reason: Segment "<a href=\"om-os" was not a keyword for a postVarSet as 
expected!

and it the locationbar

http://...<a%20href="om-os/profil/profil-billede1/"%20>Profil_billede1</a>

I use realUrl - is it something with that?

And I map <a href target="_blank"><img></a> as a link in a FCE -

The full typoscript in TemplaVoila Data Structure:

<field_link1 type="array">
    <type>attr</type>
    <tx_templavoila type="array">
     <title>link1</title>
     <description>link1</description>
     <sample_data type="array">
      <numIndex index="0">link1</numIndex>
     </sample_data>
     <eType>link</eType>
     <TypoScript>
             10 = TEXT
                10.typolink.parameter.current = 1
                10.typolink.returnLast = url
 10.typolink.parameter.target = window.open
                10.typolink.parameter.target = 
230x450:resizable=0,location=1
                10.typolink.JSwindow_params = 
230x450:status=0,menubar=0,scrollbars=0,resizable=0,location=0,directories=0,toolbar=0
       </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>link1</label>
    </TCEforms>
   </field_link1>


-- 
Best regards

Camilla

"Dmitry Dulepov" <dmitry at typo3.org> skrev i en meddelelse 
news:mailman.1.1166622307.9339.typo3-english at lists.netfielders.de...
> Hi!
>
> Camilla wrote:
>> I nedd help with typolink in a FCE (Templa Voila) - I want my link to 
>> open a new window without statusbar, locationbar and so on...but this 
>> doesnt work:
>>
>>      <TypoScript>
>>              10 = TEXT
>>                 10.typolink.returnLast = url
>>                 10.typolink.parameter.current = 1
>>                 10.typolink.parameter.target = window.open
>>                 10.typolink.parameter.target = 
>> 230x450:resizable=0,location=1
>>                 10.typolink.JSwindow_params = 
>> 230x450:status=0,menubar=0,scrollbars=0,resizable=0,location=0,directories=0,toolbar=0
>>        </TypoScript>
>
> You script returns URL only due to "10.typolink.returnLast = url". So no 
> JS window will be there.
>
> -- 
> Dmitry Dulepov
>
> Web: http://typo3bloke.net/
> Skype: callto:liels_bugs
>
> "It is our choices, that show what we truly are,
> far more than our abilities." (A.P.W.B.D.) 




More information about the TYPO3-english mailing list