[TYPO3] TV: Image Field: click enlarge

Patric Schmid info at virtualvisions.ch
Mon Jun 19 17:41:23 CEST 2006


Thx, meanwhile i've found the mistake: i didn't put the <![CDATA[ thing..
thx anyway
tric


"Peter Klein" <peter at umloud.dk> wrote in message
news:mailman.1.1150726947.27380.typo3-english at lists.netfielders.de...
> Hi Patric. Try  wrapping the TypoScript part of your DS like this, as
> described in the manual.
>
> <TypoScript><![CDATA[
> ...original typoscript...
> ]]></TypoScript>
> You can find more info here:http://wiki.typo3.org/index.php/TemplaVoila
> --
> Peter Klein/Umloud Untd
>
> "Patric Schmid" <info at virtualvisions.ch> skrev i en meddelelse
> news:mailman.1.1150720333.27245.typo3-english at lists.netfielders.de...
> > How can I define the click-enlarge functionality in a Templavoila Image
> > Field
> >
> > I've tried the following:
> >
> > <?xml version="1.0" encoding="iso-8859-1" standalone="yes" ?>
> > <T3DataStructure>
> >    <meta type="array">
> >        <langChildren type="integer">1</langChildren>
> >        <langDisable type="integer">1</langDisable>
> >    </meta>
> >    <ROOT type="array">
> >        <tx_templavoila type="array">
> >            <title>FCE1</title>
> >            <description>Select the HTML element on the page which you
want
> > to be the overall container element for the template.</description>
> >        </tx_templavoila>
> >        <type>array</type>
> >        <el type="array">
> >            <field_image type="array">
> >                <tx_templavoila type="array">
> >                    <title>Bild</title>
> >                    <sample_data type="array">
> >                        <numIndex index="0"></numIndex>
> >                    </sample_data>
> >                    <eType>image</eType>
> >                    <TypoScript>
> > 10 = IMAGE
> > 10.file.import = uploads/tx_templavoila/
> > 10.file.import.current = 1
> > 10.file.import.listNum = 0
> > 10.file.maxW = 200
> >                 10.imageLinkWrap = 1
> >                10.imageLinkWrap.enable = 1
> >                10.imageLinkWrap.bodyTag = <BODY bgColor=black>
> >                10.imageLinkWrap.wrap = <A href="javascript:close();"> |
> > </A>
> >                10.imageLinkWrap.width = 800
> >                10.imageLinkWrap.height = 600
> >                10.imageLinkWrap.JSwindow = 1
> >                10.imageLinkWrap.JSwindow.newWindow = 1
> >                10.imageLinkWrap.JSwindow.expand = 17,20
> >               </TypoScript>
> >                </tx_templavoila>
> >                <TCEforms type="array">
> >                    <config type="array">
> >                        <type>group</type>
> >                        <internal_type>file</internal_type>
> >                        <allowed>gif,png,jpg,jpeg</allowed>
> >                        <max_size>1000</max_size>
> >
<uploadfolder>uploads/tx_templavoila</uploadfolder>
> >                        <show_thumbs>1</show_thumbs>
> >                        <size>1</size>
> >                        <maxitems>1</maxitems>
> >                        <minitems>0</minitems>
> >                    </config>
> >                    <label>Bild</label>
> >                </TCEforms>
> >            </field_image>
> >        </el>
> >        <section>0</section>
> >    </ROOT>
> > </T3DataStructure>
> >
> > but this destroys the xml
> > Please help, thank you!
> > cheers
> > tric
> >
> >
>
>





More information about the TYPO3-english mailing list