wirzard 'browseLinks' with mode 'folder' buggy in flexforms/TCEForms?

View: New views
3 Messages — Rating Filter:   Alert me  

wirzard 'browseLinks' with mode 'folder' buggy in flexforms/TCEForms?

by Franz Koch-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I just tried to add the browserLinks.php in mode 'folder' to a input
field inside a flexform. The wizard is showing up correctly and I can
browse the file structure - but I can't select a folder. If I do so I
get the following error: "Error - reference to main window is not set
properly". If I use the mode "wizard" everything is fine - although I
get tabs that I don't want to have at this point.

Any ideas how to let the editor browse for a folder?

I tried to debug but it's been too unclear how things interact for me -
so I gave up.

Thanks in advance for any help on that.

--
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: wirzard 'browseLinks' with mode 'folder' buggy in flexforms/TCEForms?

by Franz Koch-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Franz Koch wrote:

> Hi,
>
> I just tried to add the browserLinks.php in mode 'folder' to a input
> field inside a flexform. The wizard is showing up correctly and I can
> browse the file structure - but I can't select a folder. If I do so I
> get the following error: "Error - reference to main window is not set
> properly". If I use the mode "wizard" everything is fine - although I
> get tabs that I don't want to have at this point.
>
> Any ideas how to let the editor browse for a folder?
>
> I tried to debug but it's been too unclear how things interact for me -
> so I gave up.
>
> Thanks in advance for any help on that.

forgot to mention my setup:
- Typo3 4.2.6
- dam 1.1.0
- the field is inside a flexform of a plugin

--
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev

Re: wirzard 'browseLinks' with mode 'folder' buggy in flexforms/TCEForms?

by Franz Koch-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

> I just tried to add the browserLinks.php in mode 'folder' to a input
> field inside a flexform. The wizard is showing up correctly and I can
> browse the file structure - but I can't select a folder. If I do so I
> get the following error: "Error - reference to main window is not set
> properly". If I use the mode "wizard" everything is fine - although I
> get tabs that I don't want to have at this point.
>
> Any ideas how to let the editor browse for a folder?
>
> I tried to debug but it's been too unclear how things interact for me -
> so I gave up.
>
> Thanks in advance for any help on that.

ok - forget it. Found it:

<config>
        <type>input</type>
        <size>40</size>
        <eval>trim</eval>
        <wizards type="array">
        <link type="array">
                <type>popup</type>
                <overline>Link</overline>
                <icon>link_popup.gif</icon>
                <script>browse_links.php?mode=wizard</script>
                <params>
                        <blindLinkOptions>page,file,url,mail,spec</blindLinkOptions>
                </params>
         
<JSopenParams>height=300,width=500,status=0,menubar=0,scrollbars=1</JSopenParams>
        </link>
        </wizards>
</config>


had to set the "params" -> "blindLinkOptions". I thought that I tried
that once and it didn't work - that's why I hadn't tested it before. But
that seemed to be a different issue back then.

Anyways - thanks for listening to my monologue ;)

--
kind regards,
Franz Koch

---------------------------------------------------
PayPal-Account: 'paypal _at_ elements-net _dot_ de'
---------------------------------------------------
_______________________________________________
TYPO3-dev mailing list
TYPO3-dev@...
http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev