Hi,
I have a file field(repeatable) and the upload form - WordPress Media Library manager checked.
The file selection button selects multiple files trough the manager, but the view shows only 1 button with dynamic file url name, although all files have been uploaded.
I have them listed as downloadable buttons and simple single fields in the view and the buttons show only one of the uploaded files in the batch, while the single fields show all.
Hello. Thank you for contacting the Toolset support.
I would like to know - are you using blocks to display the file field or classic view shortcodes?
Have you tried repeating field block to display you file field. If you can share problem URL and admin access details and tell me what exactly the output you are looking for within what section of your page.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
I managed to get to the view, but no matter what i do the save button is not clickable and i cannot save any progress.
Like before i need the filename to be visible - not the whole path.
I made it work before, but now it no longer works with the new code.
I've added the following custom shortcode to "Custom Code" section offered by Toolset with the code snippet namely "toolset-cutom-code":
=> hidden link
function toolset_file_field_filename_only($atts, $content = null) {
$file_url = trim(wpv_do_shortcode($content));
if (empty($file_url)) {
return '';
}
// Extract and return the file n
return basename($file_url); // Extracts filename only
}
add_shortcode('teacher_lessons_filename', 'toolset_file_field_filename_only');
And within your view' I've adjusted the code to display button as given under: