Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How to disable flash uploader for existing Joomla extensions?

Posted on 2009-05-06
4
Medium Priority
?
869 Views
Last Modified: 2013-11-15
Since release of Adobe Flash 10 Joomla flash uploader (for files and images) has stop working.
Since joomla ver. 1.5.8 it is possible (trough main configuration) to disable such flash uploader and the standard form is displayed.

Existing extension like JAM (Joomla Advanced Message) were based on joomla flash uploader and now is impossible to use it.

Where can I start from to make existing extensions working with standard upload form?
0
Comment
Question by:phoenix128
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 3

Expert Comment

by:binarygeek
ID: 24323154
goto Site->Global Configuration

Hit The "System" tab

scroll down a bit

Check the last option of media settings
0
 

Author Comment

by:phoenix128
ID: 24323469
Unfortunately, this option is valid for Joomla core components but not automatically valid for third-party extensions such as JAM witch implements some custom code to call upload field from Joomla libraries.

For example, in my case, JAM import all mootools staff needed to create the upload field alngoside with some custom JS code to call FancyUploader (attached to this comment).

I'd need to Know some guidelines to convert this fancyuploader with standard upload form.
var uploader;
function JAMAttachments(){
	if(!jam_attachmentslimit){
		return false;
	}
	
	uploader=new FancyUpload(
		$('JAMAttachment'),
		{
			url:document.adminForm.attachmenturl.value,
			swf:'/media/system/swf/uploader.swf',
			queueList:'upload-queue',
			container:$('upload-swf'),
			limitSize:jam_attachmentsizelimit,
			limitFiles:jam_attachmentslimit,
			onAllComplete:function(){
				document.adminForm.attr.value='1';
				JAM.Ajax()
			}
		});
		
		$('upload-clear').adopt(new Element('input',{type:'button',events:{click:uploader.clearList.bind(uploader,[false])},value:jam_clearcompleted}));
}
		
function JAMNewAttachments(show){
	var attachments=$('attachments');
	if(!attachments){
		return;
	}
	if(show){
		attachments.setStyle('display','block');
	}else{
		attachments.setStyle('display','none');
		uploader.clearList(true);
	}
}

Open in new window

0
 
LVL 3

Expert Comment

by:binarygeek
ID: 24323507
check the file

libraries/joomla/html/html/behavior.php

if that helps
0
 
LVL 3

Accepted Solution

by:
binarygeek earned 2000 total points
ID: 24323508
check the function uploader ... Also see the implementation in com_media
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What you will need: Any version of Photoshop or similar product (examples in Photoshop) Internet Access FTP Access to your joomla install or ability to upload images within joomla administrator backend Create Image: Lets start off with cre…
This script checks a path to see if a folder exists. If the folder does exist you will get output "The folder has previously been created. No action taken" If not it will create the folder. Then adds one user modify permission to the folder. It …
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question