2

The best way would be to use the Model service to create Channel Entries and files: https://docs.expressionengine.com/latest/development/services/model.html This will guarantee you are saving complete records, which you can't guarantee if you are just blindly inserting data in the database. This also means you are triggering EE's extensions system, so ...


1

I got some feedback from the developer of Stash (Thanks again, Mark!) on this via Twitter, and he advised not to do it this way. So I went back to the drawing board. I ended up having our programmer help me out and write some custom php to perform a search in the file directory, and return the results in my template, rather than use any EE tags. Basically, ...


1

I found that it's a jquery conflict, I just remove the jquery include from script tag and it works.


1

Easiest way to do this and see the markup used for channel form is to use the following. {exp:channel:form channel='other_details'} <input type='hidden' name='title' value='Some new title here.' /> {!-- This will output the correct syntax for your file upload field specified in the cPanel. --} {field:custom_upload} <input type='...


1

I had the same issue. You can solve it by disabling XSS filtering: Admin -> Security and Privacy -> Security and Sessions. Than select "No" for "Apply XSS Filtering to uploaded files"


1

Try this. {exp:channel:entries channel="teleconferences"} {exp:channel_files:files entry_id="{entry_id}"} {if file:count==1} /// do ABC /// {if:else} /// do XYZ /// {/if} {/exp:channel_files:files} {/exp:channel:entries} Don't forget to remove the limit from {exp:channel_files:files} Oh. And your ...


1

I might be missing something here, but in your Control Panel > Administration > General Configuration page, just set the URL to the root directory of your site setting to: //www.mysite.com/ (replacing that with your site URL) Same for the URL to your "themes" folder setting. Using the double-slash with no http prefix means that it is protocol ...


1

When I experienced similar issues, the solution boiled down to jQuery conflicts. If you are using include_jquery="yes" in your Channel Form tags, make sure you haven't included jQuery via a <script> tag anywhere else on the page. If you use include_jquery="no", make sure that you have defined jQuery, and make sure you're using the 1.8 branch. (1.9 ...


1

This was due to me having the php post_max_size set to -1 (unlimited) on my local machine. The file manager should probably handle this, but it doesn't so I've amended Filemanager.php to the below, which fixes it: public function validate_post_data() { ee()->load->helper('number_helper'); $post_limit = get_bytes(ini_get('post_max_size')); ...


1

Low Search doesn't have specific support for Channel Files (CF), so whether the two play nicely together depends on how CF stores its (searchable) data. If CF stores its data in the native channel_data table, then you can use the Field Search filter to search for substrings like .pdf etc. If it does not, then a custom filter/extension would be needed to add ...


Only top voted, non community-wiki answers of a minimum length are eligible