Support Forum

Every time that you post a problem, PLEASE add the Joomla and the extension's versions and revisions (for example: Joomla 3.3.6, Contact Enhanced 3.3.5), PHP version and Server's Operating System. If you only manage only one site it is easier if you edit your profile and just add that information to your signature. Don't forget to add a detailed description of the problem. If possible, write down all steps to simulate the problem.

Before submitting a new post, PLEASE make sure you are running the latest version, test in different browsers (IE, FF, Chrome,..) and clear Joomla and browser's cache after every change you make.

Also, most questions are already answered in our FAQ and in iFAQ and Contact Enhanced documentation pages.

File Upload to file

12 years 1 week ago #11006 by JoomlaNZ
Hi

I have a project where large drawing files will be uploaded as part of a form.

At present the uploads are attached to the email.

Is it possible to have the option to save files directly to a specified uploads directory?

Thanks

Please Log in or Create an account to join the conversation.

12 years 1 week ago #11007 by douglas
Dear JoomlaNZ,

Contact Enhanced Multiple Files custom field already works like that. If all submitted files together have over 2Mb, they will be stored only in the server and a link will be sent to the email recipient.

Best regards,

Please Log in or Create an account to join the conversation.

12 years 1 week ago #11009 by JoomlaNZ
Ok great. Can I change the setting to 0Mb so they are all stored on server.

Also where are they stored on the server - can this be set?

Please Log in or Create an account to join the conversation.

12 years 6 days ago #11011 by douglas
Dear JoomlaNZ,

I've implemented this because some mail servers have a 2mb attachment restriction. There is no setting for this, but you can easily change it in the source code.
Open the file:
[Path to Joomla 2.5]/components/com_contactenhanced/controllers/contact.php
Find:
if($pparams->get( 'saveform',1 ) OR $hasFileOver2mb){
With:
if(true){

The upload folder is [Path to Joomla]/administrator/components/com_contactenhanced/uploadedfiles/
If you want to change the uploaded files directory, open [Path to Joomla]/components/com_contactenhanced/defines.php and change the CE_UPLOADED_FILE_PATH define.

All the best,

Please Log in or Create an account to join the conversation.

Powered by Kunena Forum

Copyright © 2018 IdealExtensions.com. All Rights Reserved.

This site is not affiliated with or endorsed by the Joomla!™ Project. It is not supported or warranted by the Joomla!™ Project or Open Source Matters™. The Joomla!™ logo is used under a limited license granted by Open Source Matters™, the trademark holder in the United States and other countries.
We may collect your IP address and your browser's User Agent string while using our site for security reasons and deriving aggregate information (analytics). This information is retained for a minimum of 1 and a maximum of 24 months.
Feedback