Update on the issue.. when used together (see attached) I get an error “win is undefined” on line 16 in file “mx_tinybrowser_field/tinybrowser/js/tinybrowser.js.php”
16 win.document.getElementById(tinyMCEPopup.getWindowArg("input")).value = URL;Are they not suppose to work together?
There is also a bug about sub folder location not being added to thumb location upon save.
As you can see it in attached screen, first image is sitting in root folder where as the other one is in sub folder.
What I originally wanted to do is to create dynamic sub folders using “Sub Folders Variables” i.e. %Y/%mm
i.e.
2009 - 08 - 09
Any ideas on how to fix this?
Yeah, this is a great field type! 😊
Two questions:
Where can I download 0.1.3? The download link on your site still points to mx_tinybrowser_field_0_1_2_dark.zip. I have some thumb issues with images in sub folders.
A sub folder variable %weblog% (or so) would be nice. I use the same field group for 20+ weblogs where my client uploads lots of different images. A weblog variable could clean up the upload folder. What do you think about this?
Thanks!
Version 0.1.3 is available now
I fix issue with thumbs + add Matrix support for TinyMCE mode.
At this moment MX TinyBrowser has one limitation for Matrix cells – if you have on the page more than one Matrix field with cells created by MX TinyBrowser in TinyMCE mode, they all mast have the same config file for TinyMCE.
Thanks for the update Max, so far so great 😉 you’ve just changed the ballgame in file/image management for EE.
One thing though if I may, can you explain what you’ve done to address security issues with TinyBrowser i.e. http://is.gd/2wnGC or http://is.gd/2wnHq
Most of this issue was closing by using session protections. And today I will release a new version with additional XSS protection. I working with security really carful because I planning to used it in one of my project for front-end (with SAEF).
BTW - really nice example of using in you attachment.
p.s. and I waiting for new requests 😊 at this moment I have two checkpoints 1. include crop functions into TinyBrowser 2. adding opportunity to create a folder by post id
OK I realized you already uploaded the newest version.
I’m using this with tinymce, and lg tinymce.
I’ve added the callback line: file_browser_callback : “tinyBrowser”
I’ve added the plugins advimage,advmedia
I’ve added the buttons theme_advanced_buttons2 : ‘link,unlink,|,image,media’,
I see the browse icon when i click on ‘image’ ‘media’ and ‘link’. However, if I click it, it does nothing and produces this error: Webpage error details
Message: ‘undefined’ is null or not an object Line: 1 Char: 125858 Code: 0 URI: http://dev.mmaspot.net/tinymce/jscripts/tiny_mce/tiny_mce.js
So I’m stuck.
I checked the url for the scripts and it’s correct as well as the global. I’m not sure where else to look.
If you need the TinyMCE, you don’t need LG TinyMCE (i start thinking that choose incomplete name for this extensions : ). Just switch MX TinyBrowser field in TinyBrowser+TinyMCE mode 😊You can find the switcher in left column of field settings. But don’t forget to setup TinyMCE path in global settings
Cem Meric create the nice video about using MX TinyBrowser Asset & Content Management with MX TinyBrowser Field extension for FieldFrame
If you need the TinyMCE, you don’t need LG TinyMCE (i start thinking that choose incomplete name for this extensions : ). Just switch MX TinyBrowser field in TinyBrowser+TinyMCE mode 😊You can find the switcher in left column of field settings. But don’t forget to setup TinyMCE path in global settings
yeah I did that. Now tinyMCE doesn’t show up at all. I verified the path and URL are correct, changed thins to the exact same settings in your pic.
there is also no more error. but since nothing loads I’m not surprised.
I have installed tinymce as it comes by default in the root of the site
EDIT:
ok I got it working. the paths that this uses are way off. tinymce comes by default with this structure
tinymce/jscripts/tiny_mce but this expects the tiny_mce to be in the root of the site /tiny_mce
Whqatever the case, i’ve got it going now, and am moocho happier.
one question.
I need to edit the init for tinymce to change buttons. IN the lg_tinymce i did it through the CP. but there’s no option in your script for that. Since i didn’t need to look lol I didn’t know where the init is called so i can edit it.
help?
I need to edit the init for tinymce to change buttons. IN the lg_tinymce i did it through the CP. but there’s no option in your script for that. Since i didn’t need to look lol I didn’t know where the init is called so i can edit it. help?
you can find TinyMCE config files, which you can choose by field setting, in fieldtypes/mx_tinybrowser_field/tinymce_config/. You can edit one of default or create yours.
BTW - for understanding specific of creating your own config file, you can read the chapter TinyMCE Config Files
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.