how can I display path to script in uploadify's js code?

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
cve
Forum Members
Forum Members
Posts: 44
Joined: Wed Jul 07, 2010 10:54 am

how can I display path to script in uploadify's js code?

Post by cve »

I'm working on somethink like Gallery module and I want to hook nice uploadify plugin to it, but I need to provide a path to the script that handle uploaded files (this is the action.upload.php in the main folder of module):

Code: Select all

$('#upload').uploadify({
		'uploader': '../modules/Galeria/uploadify/uploadify.swf',
		'script': 'how to display path to the action.upload.php',
		'folder': '../modules/Galeria/albums',
		'cancelImg': '../modules/Galeria/uploadify/cancel.png'
		});
Post Reply

Return to “Developers Discussion”