We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

New Extension: MX Tinybrowser (universal field for creating TinyMCE or/and MarkItUp textareas with TinyBrowser&LinkManager;support)

Development and Programming

Cem Meric's avatar
Cem Meric
210 posts
16 years ago
Cem Meric's avatar Cem Meric

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?

       
Cem Meric's avatar
Cem Meric
210 posts
16 years ago
Cem Meric's avatar Cem Meric

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?

       
Max Lazar's avatar
Max Lazar
341 posts
16 years ago
Max Lazar's avatar Max Lazar

I will upload a new version today with thumbs bug’fixing

       
Cem Meric's avatar
Cem Meric
210 posts
16 years ago
Cem Meric's avatar Cem Meric

Thanks Max, look forward to it.

I’ve also noticed that “TinyMCE + TinyBrowser” gets lost if used in multiple instances in FF Matrix

       
Dennis Frank's avatar
Dennis Frank
12 posts
16 years ago
Dennis Frank's avatar Dennis Frank

Yeah, this is a great field type! 😊

Two questions:

  1. 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.

  2. 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!

       
Max Lazar's avatar
Max Lazar
341 posts
16 years ago
Max Lazar's avatar Max Lazar

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.

       
Cem Meric's avatar
Cem Meric
210 posts
16 years ago
Cem Meric's avatar Cem Meric

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

       
Max Lazar's avatar
Max Lazar
341 posts
16 years ago
Max Lazar's avatar Max Lazar

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

       
JT Thompson's avatar
JT Thompson
745 posts
16 years ago
JT Thompson's avatar JT Thompson

I’ve been reading up on this thread, and I’m excited to use this extension. I didn’t want to pay that ridiculous fee for the TinyMCE file manager.

Thanks a bunch for doing this!

       
JT Thompson's avatar
JT Thompson
745 posts
16 years ago
JT Thompson's avatar JT Thompson

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.

       
Max Lazar's avatar
Max Lazar
341 posts
16 years ago
Max Lazar's avatar Max Lazar

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

       
Max Lazar's avatar
Max Lazar
341 posts
16 years ago
Max Lazar's avatar Max Lazar

Cem Meric create the nice video about using MX TinyBrowser Asset & Content Management with MX TinyBrowser Field extension for FieldFrame

       
JT Thompson's avatar
JT Thompson
745 posts
16 years ago
JT Thompson's avatar JT Thompson
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

       
JT Thompson's avatar
JT Thompson
745 posts
16 years ago
JT Thompson's avatar JT Thompson

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?

       
Max Lazar's avatar
Max Lazar
341 posts
16 years ago
Max Lazar's avatar Max Lazar
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

       
First 3 4 5 6 7 Last

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.