Page 1 of 3

CMSMS 1.3 TinyMCE file selection problem

Posted: Wed Jun 11, 2008 6:26 pm
by lmw
Hi,

I'm having a problem when linking a file in TInyMCE. In Insert/edit link-> Link URL I click browse icon it opens CMSMadeSimple file selection but shows only picture files !!!! Where is the setting to show all files i.e. pdf xls doc and so on ??

regards,
mika w

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Wed Jun 11, 2008 7:21 pm
by Dr.CSS
Where are the "pdf xls doc and so on"?...

When it pops up it has a drop down on the left, it should, that should have a choice of what "Resource Type" you are looking for, if it says Image try File, then it looks in uploads, Image looks in uploads/images...

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Wed Jun 11, 2008 8:41 pm
by lmw
Those files are in 'uploads' and  file selection shows right directory contents but only  pictures.  The problem seems to be  that there is no dropdown for 'Resource Type' (look at attchement) ? What's wrong ? I'm using Firefox browser could depend on that ??

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Thu Jun 12, 2008 12:04 am
by Dr.CSS
Sorry you are right, in the new 1.3 tiny when you use filepicker it goes to uploads/images only, tiny in 1.2.5 lets you set the type you are looking for...

You may need to go to tiny modules developer and request this as a feature added back in...

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Fri Jun 13, 2008 2:08 pm
by Ziggywigged
Yeah, just noticed I can no longer select uploaded PDF files to link to.  :-[  I'll put in a request, hopefully for 1.4.

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Fri Jun 13, 2008 4:15 pm
by Dr.CSS
You can install tiny from CMSMS ver. 1.2.5... tested and works...

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Fri Jun 13, 2008 4:20 pm
by alby
Or SVN also

Alby

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Fri Jun 13, 2008 6:09 pm
by Ziggywigged
thx guys.

Thought though: if this featured isn't going to be supported in the future, won't that make the FileManager useless? Almost certainly for the non-technical user who relies on TinyMCE to link to an uploaded file.

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Fri Jun 13, 2008 6:34 pm
by alby
mikeiam wrote: Thought though: if this featured isn't going to be supported in the future, won't that make the FileManager useless? Almost certainly for the non-technical user who relies on TinyMCE to link to an uploaded file.
This feature is SUPPORTED.
Infact in SVN (version in development) this feature works.
With last version there have been many changes and in testing phase is evidently escaped.

Alby

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Fri Jun 13, 2008 10:34 pm
by WhiteStar99
mikeiam wrote: thx guys.

Thought though: if this featured isn't going to be supported in the future, won't that make the FileManager useless? Almost certainly for the non-technical user who relies on TinyMCE to link to an uploaded file.
Hi!
I was looking for a solution for the problem, that I can not link to files other than images (no other files are shown!) in my uploads dir with TinyMCE (formally in 1.2.5 that was not a problem at all). As you mentioned I also think, that this makes the whole FileManager useless, as my editors need the ability to link to files they themselves uploaded.

I tried to install TinyMCE 2.2.7 but now I get JavaScript Errors when clicking the folder-icons (both within link and image):
TinyMCE_SimpleBrowserPlugin has no properties
[Break on this error] tinyMCE.importPluginLanguagePack('simplebrowser','en');var TinyMCE_SimpleBrowser...

Seems to have to do something with the language, because I have set everything to German.

What can I do? Or which stable version of TinyMCE can I use, which works with CMSMS 1.3 and all sorts of files?

Thanks!

/Edit: I Found a solution for the script error in the German forum. If anyone else has it, try to deinstall and then reinstall the TinyMCE module.

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Tue Jun 17, 2008 6:24 pm
by Dr.CSS
If you use the new, 2.4.1 iirc, then you could, by enabling the file picker option, create a new folder in images, PDFs, etc., for non image files then they can choose this folder to upload to or find files to link to...

Just a work around for now, I also believe the old style of being able to search the uploads folder was nice...

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Tue Jun 17, 2008 6:51 pm
by alby
If anyone that have 2.4.1 want test this (SVN version):
- download this attach
- rename filepicker.php.mpg to filepicker.php.zip
- rename modules/TinyMCE/filepicker.php to modules/TinyMCE/filepicker.php.old
- uncompress filepicker.php and put in modules/TinyMCE/
- test

Alby

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Tue Jun 17, 2008 7:02 pm
by alby
sp119 wrote: With version 2.4.1 I am able to see all of my folders in the uploads area, for instance I have a folder called "File" in my uploads area
Have you try with attach?

Alby

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Tue Jun 17, 2008 7:42 pm
by Dr.CSS
I tried the attached file and still can't see anything but images and it only goes to uploads/images...

CMS Made Simple Version: 1.3
Installed Modules:

    * CMSMailer vers - 1.73.13
    * FileManager vers - 0.3.0
    * MenuManager vers - 1.5
    * ModuleManager vers - 1.1.6
    * News vers - 2.8
    * nuSOAP vers - 1.0.1
    * Printing vers - 0.2.3
    * Search vers - 1.5
    * ThemeManager vers - 1.0.8
    * TinyMCE vers - 2.4.1
    * CGExtensions vers - 1.8
    * Blogs vers - 0.3.0b2
    * CompanyDirectory vers - 1.1.3

Current PHP version: 5.2.6
Maximum Post Size = 8M
Maximum Upload Size = 10M
PHP Memory Limit = 40M
MySQL server version = 5.0.45-community

Server Software = Apache/1.3.41 (Unix) mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_ssl/2.8.31 OpenSSL/0.9.7a

Re: CMSMS 1.3 TinyMCE file selection problem

Posted: Tue Jun 17, 2008 8:03 pm
by alby
mark wrote: I tried the attached file and still can't see anything but images and it only goes to uploads/images...
mark, I don't know if attach works with Tiny in 1.3, I know that works with new version of Tiny, try to upgrade to 2.4.1 and overwrite filepicker.php

Alby