Elxis CMS Forum

Support => Administration => Topic started by: apkoutsou on February 21, 2009, 20:39:39

Title: IBrowser resize [SOLVED]
Post by: apkoutsou on February 21, 2009, 20:39:39
I try to use iBrowser to upload an image, but when I click the "send image" button, not all of the options for uploading are shown, I think due to the resizing of the window to the initial div's size - function resizeWinTo(idOfDiv) in popup.php (plus the fact that no further resizing may or can take place later even if the div's size must be spreaded or when the window is resized). I can upload images through ftp, but not all of admins know how to do that (apart from the fact that this may be dangerous, giving ftp usernames and passwords everywhere...)

Can this be fixed?? (I'm using Firefox 3 and have not tested it with any other browser)

Title: Re: IBrowser resize
Post by: ks-net on February 21, 2009, 21:10:29
first of all make sure that your logged in the administrator area using the correct live-site...

in few words http://www.domain or  just  http.domain ?
check what is your live-site  in glodal-config>>server..

what version of elxis are you using?
Title: Re: IBrowser resize
Post by: apkoutsou on February 21, 2009, 21:22:37
The setting are OK, and I'm logging using the full name: http://www.domainname.gr

I'm using Elxis 2008.1
Title: Re: IBrowser resize
Post by: ks-net on February 21, 2009, 22:05:55
i don't get it!

i am using ff3 no problem with this.... buttons in their positions an window is resizeable!

give me screen shot pleas,  if possible!

ff3 javascript console(ff3 tools tab)?what errors there?
Title: Re: IBrowser resize
Post by: apkoutsou on February 21, 2009, 22:16:09
1. I'm using FF3 on Ubuntu 8.04.1 (there are some differences depending on the version of the OS - if that matters in this case)

2. Here is the screenshot:
(http://www.imageshack.gr/files/11q20jrccf0v2apt4xia_thumb.png) (http://www.imageshack.gr/view.php?file=11q20jrccf0v2apt4xia.png)

3. No error report from the FF3 javascript console
Title: Re: IBrowser resize
Post by: ks-net on February 21, 2009, 22:52:27
quick fix-hack

use it on your own risk and only  if you know what are you doing...
and have in mind that in future update this will be overwritten!

go to >>
mambots/editors/tinymce/jscripts/tiny_mce/plugins/ibrowser/

find ibrowser.php

in line 1335 or around it find the line below and change the 43 to lower value .. i think 35 or 40 (chars) is ok.
i




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

edit: by the way i use same version Os and browser .. elxis 2008.1 latest version.. no problem.
thinking that you have or have not configure correct your fonts in your pc and fonts are bigger than it should be .

firefox ff3 has problem on ubuntu  and font rendering must set as in screenshot below might this is the true problem!


[attachment deleted by admin]
Title: Re: IBrowser resize [SOLVED]
Post by: apkoutsou on February 22, 2009, 03:28:55
 OK! it was a matter of font configuration!

thanx
Title: Re: IBrowser resize [SOLVED]
Post by: Farhad Sakhaei on February 23, 2009, 12:57:27
There is a problem in IBrowser too :
When we click on Ibrowser icon , the address is like :

/mambots/editors/tinymce/jscripts/tiny_mce/plugins/ibrowser/ibrowser.php?editor=[object Object]&callback=iBrowser_callback

It should be like :

/mambots/editors/tinymce/jscripts/tiny_mce/plugins/ibrowser/ibrowser.php?editor=mce_editor_0&callback=iBrowser_callback