Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic Aurora Files

 AfterLogic Forum : AfterLogic Aurora Files
Subject Topic: Altering Preview Pane Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
mfran
Newbie
Newbie
Avatar

Joined: 27 March 2023
Location: United States
Online Status: Offline
Posts: 2
Posted: 27 March 2023 at 4:11pm | IP Logged Quote mfran

Hello, I am trying to alter the height of the iframe in the preview pane for documents. I see it is set to 400px height and would like it to be 600px. In what file could I edit this? Thank you.
Back to Top View mfran's Profile Search for other posts by mfran
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 28 March 2023 at 12:09am | IP Logged Quote Igor

You're looking for the file called FilesTableviewWebclientPlugin.app.hash-value-here.js (not .min.js) under static/js directory:

Code:
$("#files_view_pane").html("<iframe id='view_iframe' name='view_iframe' style='width: 100%; height: 400px; border: none;' src='" + selectedFile.getActionUrl('view') + "'></iframe>");


You'll need to set "UseAppMinJs" to false in data/settings/config.json file for this to work (so that non-minified JavaScript is loaded instead of minified one), and clear browser cache to apply changes.

--
Regards,
Igor, Afterlogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 
mfran
Newbie
Newbie
Avatar

Joined: 27 March 2023
Location: United States
Online Status: Offline
Posts: 2
Posted: 28 March 2023 at 11:48am | IP Logged Quote mfran

It's perfect now, thank you!
Back to Top View mfran's Profile Search for other posts by mfran
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide