1 of 3
1
What Settings Do You Use with the Tiny_MCE Extension?
Posted: 17 December 2005 01:58 PM   [ Ignore ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

Here are the ones I’m using:

mode : "exact",
elements: "field_id_2",
theme: "advanced",
plugins : "table,advlink,spellerpages,paste",
theme_advanced_buttons1:  "bold, italic, bullist, numlist, undo,redo, link, unlink, cleanup, removeformat, formatselect",
theme_advanced_buttons2: "tablecontrols,outdent,indent,hr,justifyleft,justifycenter,justifyright,justifyfull,spellerpages,pastetext,pasteword,code",
theme_advanced_buttons3: "",
theme_advanced_blockformats: "p,h3,h4",
relative_urls: "false",
remove_script_host: "false",
convert_newlines_to_brs: "false",
force_p_newlines: "true",
paste_create_paragraphs : "true",
paste_use_dialog : "true",
cleanup_on_startup: "true",
theme_advanced_toolbar_location : "top",
table_color_fields : true, custom_undo_redo_levels : 4, remove_script_host: "false",
cleanup_on_startup: "true",
extended_valid_elements : "a[name|href|target|title|onclick]",
paste_use_dialog : "false"

Does anyone have settings yet that enable the Tiny_MCE image upload capability?

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 18 December 2005 11:07 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  6
Joined  04-03-2003

We use iBrowser plugin for image uploading and this config:

mode : "textareas",
theme : "advanced",
plugins : "table,ibrowser,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,flash,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable",
theme_advanced_buttons1_add_before : "save,newdocument,separator",
theme_advanced_buttons1_add : "fontselect,fontsizeselect",
theme_advanced_buttons2_add : "separator,insertdate,inserttime,preview,separator,forecolor,backcolor",
theme_advanced_buttons2_add_before: "cut,copy,paste,pastetext,pasteword,separator,search,replace,separator",
theme_advanced_buttons3_add_before : "tablecontrols,separator",
theme_advanced_buttons3_add : "ibrowser,separator,emotions,iespell,flash,advhr,separator,print,separator,ltr,rtl,separator,fullscreen",
theme_advanced_toolbar_location : "top",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
theme_advanced_resize_horizontal : false,
theme_advanced_resizing : true

Profile
 
 
Posted: 18 December 2005 12:24 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

Thanks very much. That works quite well. I found some documentation on installing iBrowser on TinyMCE, here.

For those looking for a way to integrate an image upload utility into TinyMCE for use with EE, this seems like a great way to go.

On my system, the iBrowser dialog (which is very cool) always snaps into the top left position on my monitor. I’d be curious to find out if there’s a way to make it stay where I put it on the screen.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 18 December 2005 02:19 PM   [ Ignore ]   [ # 3 ]  
Grad Student
Avatar
Rank
Total Posts:  59
Joined  11-04-2003

Can the ibrowser use the per weblog configured upload-path? ... i think, it uses a “general” path and not the EE user-rights. Am i right?

 Signature 

Deutsches ExpressionEngine Forum

Profile
 
 
Posted: 18 December 2005 03:15 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

iBrowser can be configured to use any path.  The way to set this up is discussed in the documentation I linked to in my previous post.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 18 December 2005 03:49 PM   [ Ignore ]   [ # 5 ]  
Grad Student
Avatar
Rank
Total Posts:  59
Joined  11-04-2003

ok, it can use several directories… but if i read the documentation correctly then there is no way to seperate the upload-dirs based on the actual EE-weblog… or is there a chance to use the different EE-upload-dirs configured for the different EE-weblogs (“weblog” in the EE-sense of “section”, not as a real weblog)?

 Signature 

Deutsches ExpressionEngine Forum

Profile
 
 
Posted: 18 December 2005 05:42 PM   [ Ignore ]   [ # 6 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

I’m not sure I follow your question yet. Could your rephrase it?

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 18 December 2005 05:45 PM   [ Ignore ]   [ # 7 ]  
Moderator
Avatar
RankRankRankRankRankRankRankRank
Total Posts:  33271
Joined  05-14-2004

ExpressionEngine uses File Upload paths that can be assigned to a weblog (Admin -> Weblog Administration -> File Upload Preferences).  I believe iteria is asking if there is a way to get TinyMCE to respect those settings.

 Signature 
Profile
MSG
 
 
Posted: 18 December 2005 05:55 PM   [ Ignore ]   [ # 8 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

iBrowser does not interface to that extent with with EE. You just have to enter the paths you want to use in iBrowser’s config file.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 18 December 2005 06:17 PM   [ Ignore ]   [ # 9 ]  
Grad Student
Avatar
Rank
Total Posts:  59
Joined  11-04-2003

Thanks Lisa for the explanation.

In a one-user-environment i can easily live with the access to all upload-dirs… but on a website with about 20 different upload-dirs and with about 20-30 different people editing content and uploading pictures, there should be some kind of restriction to the pictures the editors can use and link… at least this should be kind of ideal solution.

 Signature 

Deutsches ExpressionEngine Forum

Profile
 
 
Posted: 20 December 2005 12:08 PM   [ Ignore ]   [ # 10 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

On a Mac, using FireFox, I couldn’t see the iBrowser image upload button—it was hidden behind the “Browse” button. I fixed it as described in the documents I linked to above. On line 1266 of iBrowser.php, I changed the text from:

<input name="nfile[]" type="file" class="fldlg" id="nfile[]" size="53" accept="image/*" />


...to:

<input name="nfile[]" type="file" class="fldlg" id="nfile[]" size="43" accept="image/*" />

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 20 December 2005 12:12 PM   [ Ignore ]   [ # 11 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

DigiFilm, do you find that iBrowser forces images to be resized to either 400px or 120px, when you use iBrowser to upload images to the server? If I uncheck the size checkboxes, iBrowser seems to refuse to upload.

I can work around it by uploading the image to the server via FTP. But it seems like an odd restriction.

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 08 January 2006 11:42 AM   [ Ignore ]   [ # 12 ]  
Research Assistant
RankRankRank
Total Posts:  744
Joined  05-15-2004

Here are my current TinyMCE settings, after adding iBrowser and make some other changes:

mode : "exact",
elements: "field_id_2",
theme: "advanced",
plugins : "ibrowser,table,advlink,spellerpages,paste",
theme_advanced_buttons1:  "bold, italic, bullist, numlist, undo,redo, link, unlink, cleanup, removeformat, formatselect",
theme_advanced_buttons2: "ibrowser,tablecontrols,outdent,indent,hr,justifyleft,justifycenter,justifyright,justifyfull,spellerpages,pastetext,pasteword,code",
theme_advanced_buttons3: "",
theme_advanced_blockformats: "p,h3,h4,blockquote",
relative_urls: "false",
remove_script_host: "false",
convert_newlines_to_brs: "false",
force_p_newlines: "true",
paste_create_paragraphs : "true",
paste_use_dialog : "false",
cleanup_on_startup: "true",
theme_advanced_toolbar_location : "top",
table_color_fields : true, custom_undo_redo_levels : 4, remove_script_host: "false",
cleanup_on_startup: "true",
extended_valid_elements : "a[name|href|target|title|onclick]"

 Signature 

http://www.FlavorZoom.com

Profile
 
 
Posted: 10 January 2006 10:12 AM   [ Ignore ]   [ # 13 ]  
Summer Student
Total Posts:  17
Joined  12-24-2005

DigiFilm, do you find that iBrowser forces images to be resized to either 400px or 120px

go to the Ibrowse config file, there are more options there just remove */ at the end end front of the striked out code.

Profile
 
 
Posted: 10 January 2006 10:16 AM   [ Ignore ]   [ # 14 ]  
Summer Student
Total Posts:  17
Joined  12-24-2005

I have Ibrowse working but encounter 2 problems:
1. Now and then on my IE and Firefox it doesn’t show as the tinyMCE doesn’t show, emptyinhg the temp internet files helped though
2. the path to my images is ../images/uploads as a result I get picture link like this http://www.definitive-news.co.uk/index.php/site/categorie/C10/images/uploads/pic.jpg ??? anyone know a way arround this? I had to make tinymce a relative path because I use diff. domains.

I also us ethe same config as digifilm.

cheers

Tikkas

Profile
 
 
Posted: 13 January 2006 11:52 AM   [ Ignore ]   [ # 15 ]  
Summer Student
Avatar
Total Posts:  9
Joined  11-13-2004

i don understand where to put the settings and how. could anyone post how you’ve implemented them?

thanks.

 Signature 

To know that you know nothing is the first step to enlightenment.

Profile
 
 
Posted: 13 January 2006 12:38 PM   [ Ignore ]   [ # 16 ]  
Summer Student
Total Posts:  17
Joined  12-24-2005

When you install the proggy, just click settings and paste the code there. So in EE itself, no need to go to the php files or so…

Profile
 
 
Posted: 13 January 2006 01:44 PM   [ Ignore ]   [ # 17 ]  
Summer Student
Avatar
Total Posts:  9
Joined  11-13-2004

well…i guess that was a kinda stupid question then…

just updated from 1.3 to 1.4.1

thanks.

 Signature 

To know that you know nothing is the first step to enlightenment.

Profile
 
 
Posted: 13 January 2006 03:13 PM   [ Ignore ]   [ # 18 ]  
Summer Student
Total Posts:  17
Joined  12-24-2005

wink

Profile
 
 
   
1 of 3
1
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 66394 Total Logged-in Users: 30
Total Topics: 84725 Total Anonymous Users: 16
Total Replies: 454724 Total Guests: 152
Total Posts: 539449    
Members ( View Memberlist )