Uploaded File Viewer (airdoc)

6 years 7 months ago - 6 years 7 months ago #62994 by jeffhoneyager
Here is what I did:

Copied value_InlineBoxes.php to value_abspath.php (note "value_" is required for the field template to display)

Edited lines 63 and 400

From
$field->{$prop}[]	=  $pretext . $str . $posttext;

To
$aridoc_filename = $file_data->filename;
$field->{$prop}[]	=  $pretext . $aridoc_filename . $posttext;

This worked!!!!

Thank you - you saved my behind.

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

6 years 7 months ago #62997 by jeffhoneyager
Update.

I made the change (new template for viewing - called it value_FileNameOnly.php) on the live site WITHOUT using the modified version of F.C. on github and it worked.

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

Moderators: vistamediajoomlacornerggppdk
© 2018 Flexicontent. All Rights Reserved.
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline