About This Ticket

File rename

by 312 / August 1, 2014, 8:39 pm

Hi there-

I'm having trouble trying to figure out how/where to add some code to rename file uploads.  Can you provide any help?


Well, I found the option in upload.php but I'm having trouble figuring out how to pass a value from part of the form.  I have this:

<input type="text" class="form-control" name="name" value="<?php echo $this->crud_model->get_type_name_by_id('user', $this->session->userdata('user_id'), 'name'); ?>" readonly>

...but am having trouble figuring out how to name the file the same thing of this input value.


Hi there!

Unfortunately, giving instructions on how to customise our software is outside the scope of our (basic) support. Using these forums, we can provide assistance with bugs and other issues with the software as is.

If you'd like assistance with customising Sent API, we'd suggest purchasing one of our premium support packages, more info can be found here. (the $99 package comes with cusomisations).

Alternatively, you could also hire a developer to make the changes for you (Envato Studio is a great place to find good developers).