↓
 

ChopShop

dj1480 development site

  • Home
  • RA Manual
  • Manage files
  • LATN Events
  • Bibliographies
  • Staff listings
  • Sitemap
  • CDASR Site
ChopShop→Categories Manage Files

Category Archives: Manage Files

(More) Files on Google

ChopShop

The search is on for adding editable documents. Like, a spreadsheet you can update.

First, using the “Add Google File” button above the TinyMCE editor.

  • A window came up and said “Loading”, presumably loading my Google docs or drive directory.  After a long wait, I gave up.
  • Trying again…after fixing up the credentials*
[google-drive-embed url=”https://drive.google.com/file/d/0B9de3Y3pjINMc3RhcnRlcl9maWxl/view?usp=drivesdk” title=”Getting started” icon=”https://ssl.gstatic.com/docs/doclist/images/icon_12_pdf_list.png” newwindow=”yes” style=”normal”]
  • The ‘getting started.pdf’ file was the only one that was listed in the Add Google File window; perhaps it was the only ‘Public’ document in my drive.  But this time I logged in as djcrowley.mclean when I clicked Add Google File, and it listed all of my drive files.  here is a file that I chose “Embed”.  Although it finally works, it only gives me an Embed.  During set up, the only other option is ‘Viewer File Link’.  That’s shown below the Embed.  (The ‘Download File Link’ option requires an Enterprise license!!).
[google-drive-embed url=”https://docs.google.com/document/d/1kw87bkXLQWx8kqaKWwfsqNmlDARjqUEDlud0bKnt1Q4/preview” title=”Features on xxxxLATN WordPress sites” icon=”https://ssl.gstatic.com/docs/doclist/images/icon_11_document_list.png” width=”100%” height=”400″ style=”embed”]

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

  • Here is the Viewer link.  Now, finally, I can edit the document!
[google-drive-embed url=”https://docs.google.com/document/d/1kw87bkXLQWx8kqaKWwfsqNmlDARjqUEDlud0bKnt1Q4/edit?usp=drivesdk” title=”Features on xxxxLATN WordPress sites” icon=”https://ssl.gstatic.com/docs/doclist/images/icon_11_document_list.png” newwindow=”yes” style=”normal”]

 

Second error:

  • After getting the backend credentials to work, I could add the link.  But when I clicked the link, I was taken through a set of Google authorization steps that I didn’t want to see.  because: I set up the original auth using djcrowley.mclean; I logged in to WP using my WP dj1480 account.  I could have but didn’t use the ‘login with google’ button.

 

(1) The old credentials contained the urls for the http/ site, so they didn’t work once I had changed to a https:// site

 

Posted in Manage Files, Potato | Leave a reply

Files as attachments

ChopShop

It turns out that this is the third post about document links.  They all show pretty much the same things. This is a link to a file in the /media library.  The file was uploaded and the link was created by “Add Media”

Recordkeeping_and_Record_Requirements

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit

Next, the same link was created as an attachment to the post via ‘Add Media’.  This constructs a child post dedicated to the file.  It would be nice if this child could link to a viewer, or even better if I could ’embed-any-document’; but this doesn’t happen.  Instead, the child post consists of a link for you to download the file.  The child post is created automatically, and so far I don’t know how to add/modify the contents.

Study Staff

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit

Now here is the embed-this for the same document.

Loader Loading...
EAD Logo Taking too long?

Reload Reload document
| Open Open in new tab

Download [255.88 KB]

esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 

Posted in Manage Files, Potato | Leave a reply

2nd post with Doc links

ChopShop

Previously, I posted about file-links.  Next I’ll post about file-links, using embed-any-document

Picking up where I left off, it seems that Fileway produces nice lists of files, but when you click on the title it always downloads the file.  Embed-any-doc utilizes viewers really nicely,

Download [14.11 KB]

Let’s try a different document.

This next link points to a file in the media library.  However, the link fails!  Maybe it has something to do with the fact that it’s part of an mDocs library.

Download

Just for excerise, 1 year later, I’ll Add a Media document.  MAST-instructions-ELS-Alexis-9-16-14

 

 

Posted in Manage Files, Potato | Leave a reply

Three blind media

ChopShop

Gosh, this is what a post looks like!  I even added a Featured Image for the post.

This one will have links to 3 pieces of media i.e. pdf and doc files. Let’s see how it goes!   So, using the ‘Add Media’ button, I… added media.  This looks like an absolute link, btw.  Also, I added a description and a caption.  And, I selected an option about the size of the thumbnail.  So, lets see!

Recordkeeping_and_Record_Requirements

Clicking on the link opens the media in a new page.  But there’s no description, no caption.  Not sure how to make those happen with Media links.  Worth noting, the Add Media button does not insert a shortcode; it just adds the Text, with the link.  Notably, the url point to the location “/wp/wp-content/uploads/2017/01/”.  The url is driven by the date the file was uploaded into this post.

Trying again with a .doc file, using ‘Link to Media’: cheek swab study

That doc file just downloaded, it seems there was no attempt to View it.  Here’s the same file, with “Link to Attachement”: cheek swab study

This media was inserted with ‘links to None’: iaccarino_nature16

here’s the second row, using FileAway

(I switched to the Page Builder visual editor, then inserted a second row.)
(subsequently, I switched back.  After switching, I had to Update the page in order to see the new edits.)

First lets try a FileAway list of files in the FA library.  Unfortunately FileAway forces a defaults to download of the file rather than opening it, like Media.  This used ‘Lightbox=pdfs’ and  boxtheme=yang.

Certification Test Checklist (22.6k)
How to Order Hardware and Software (15.7k)
Storage Usage and Costs 2014 (25.1k)
Study Staff (4.2k)
Study Staff (36.3k)
Games (24.9k)
Jupiter Access Changes Apr 2015 (10.9k)
Quick Pc Configs 2016-01-09 (12.4k)

Lesson learned: If the ‘width’ parameter isn’t specified for a List, the page text will wrap around the box.  If the insert is a Table, the width defaults to 100% so there’s no wraparound.

Another lesson: In the settings of FileAway, you can add a list of filetypes that should be opened in another tab. Specifying .pdf in the settings, all pdf files are opened in the browser.  But if the browser doesn’t have that viewer, you’re out of luck and the file will simply download.

And now, some lorem ipsum so that I can see what happens when the text goes beyond the end of the FA widgets.

rem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam qua

But anyware.  Here’s an AttachAway list of the Attachments on this page.  It will pick up the two pieces of Media that were linked in row 1 and row 3..

Study Staff (36.3k)
Recordkeeping_and_record_requirements (255.9k)
Iaccarino_nature16 (14.7M)
Els Pizzagalli Final Report_09212015 (138.1k)
Cheek Swab Study (96k)

just for yucks I added a second attachaway, with fixed colors this time.

Study Staff (36.3k)
Recordkeeping_and_record_requirements (255.9k)
Iaccarino_nature16 (14.7M)
Els Pizzagalli Final Report_09212015 (138.1k)
Cheek Swab Study (96k)

I have to add more lorem after the shortcode, to see what’s going on.  . In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, lu

Next, an Attachaway with lots of style settings including a width of 100%.

Silk, a Heading, and width of 100%

Study Staff 36.3k
Recordkeeping_and_record_requirements 255.9k
Iaccarino_nature16 14.7M
Els Pizzagalli Final Report_09212015 138.1k
Cheek Swab Study 96k

There were extra blank boxes in the listing, due to the Page Builder edits here.

I have to add more lorem to see what’s gogin on.  . In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula,

Then, a Table of FA files. (Note that even though the attachaway list had a width of 100%, this bit of text would still in the Wrap area of the prior list.)

TypeFile NameDate ModifiedSize

docx
Certification Test Checklist 4:07 pm 09/03/201722.6k

docx
How to Order Hardware and Software 3:02 pm 07/22/201615.7k

xlsx
Storage Usage and Costs 2014 3:01 pm 07/22/201625.1k

csv
Study Staff 5:04 pm 10/21/20174.2k

xlsx
Study Staff 2:54 pm 07/23/201636.3k

docx
Games 10:58 pm 03/17/201724.9k

xlsx
Jupiter Access Changes Apr 2015 3:27 pm 07/22/201610.9k

xlsx
Quick Pc Configs 2016-01-09 3:58 pm 07/22/201612.4k

And now, some more  lorem ipsum so that I can see what happens when the text goes beyond the end of the FA widgets.

rem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam

Let’s go back and see if the FA listing with formatting is any better than the version without.

(with Boxed In theme)

Certification Test Checklist 22.6k
How to Order Hardware and Software 15.7k
Storage Usage and Costs 2014 25.1k
Study Staff 4.2k
Study Staff 36.3k
Games 24.9k
Jupiter Access Changes Apr 2015 10.9k
Quick Pc Configs 2016-01-09 12.4k

dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a, tellus. Phasellus viverra nulla ut metus varius laoreet. Quisque rutrum. Aenean imperdiet. Etiam ultricies nisi vel augue. Curabitur ullamcorper ultricies nisi. Nam eget dui. Etiam rhoncus. Maecenas tempus, tellus eget condimentum rhoncus, sem quam semper libero, sit amet adipiscing sem neque sed ipsum. Nam quam nunc, blandit vel, luctus pulvinar, hendrerit id, lorem. Maecenas nec odio et ante tincidunt tempus. Donec vitae sapien ut libero venenatis faucibus. Nullam quis ante. Etiam sit amet orci eget eros faucibus tincidunt. Duis leo. Sed fringilla mauris sit amet nibh. Donec sodales sagittis magna. Sed consequat, leo eget bibendum sodales, augue velit cursus nu

here’s the third row

(having a hard time inserting another row. Using Add Row it was created, but I couldn’t edit it.  So I fell back onto Duplicate Row, to start with a duplicate of row 1).  I’ll use Add Media again, and I chose ‘link to attachment page’.

ELS Pizzagalli Final Report_09212015

 

Just for nothing I’ll try to use “Add Document”.  I’d forgotten, but this is the Embed Any Document short code.

Download [36.34 KB]

 

 

Posted in Manage Files, Potato | Leave a reply

LATN Events

October 6, 2025
  • Katie out
    October 2, 2025 - October 9, 2025 @ 

    See more details

  • Open Enrollment thru Oct 20
    October 6, 2025

    See more details

  • Flu vaccine clinic
    October 6, 2025 @ 8:00 am - 4:00 pm
    Drop-in at DM132
    See more details

  • CDASR CORE committee
    October 6, 2025 @ 10:00 am - 11:00 am
    https://teams.microsoft.com/l/meetup-join/19%3ameeting_NDc5ZDk3MGUtOTUzNi00NjQ0LWI1ZjItZDIxZDU4NDNlMDMw%40thread.v2/0?context=%7b%22Tid%22%3a%22720edb1f-5c4e-4043-8141-214a63a7ead5%22%2c%22Oid%22%3a%22c6a2c85e-7bec-4831-8994-a277046579f6%22%7d
    See more details

October 7, 2025
  • Katie out
    October 2, 2025 - October 9, 2025 @ 

    See more details

October 8, 2025
  • Katie out
    October 2, 2025 - October 9, 2025 @ 

    See more details

  • CDASR speaker: Brian Kangas
    October 8, 2025 @ 9:30 am - 10:30 am

    See more details

October 9, 2025
  • Katie out
    October 2, 2025 - October 9, 2025 @ 

    See more details

All Pages

  • #1482 (no title)
  • Bibliographies
    • A zotero bibliography
    • Pubmed pub list
    • Pubs
  • Different ways to embed files
    • Browsing Documents with Memphis Documents
      • Documents
      • mDocuments
      • Memphis Docs as a Blog
      • Technical Library
    • Embed files using Embed-Any-Doc
    • Files managed with File-Away
      • Study Staff spreadsheet (fileaway)
    • Google Drive Embedder
    • Linking directly to pdf articles
    • Links to a Google sheet
    • Links to a OneDrive file
    • Links to Media Library files
    • Use WP Media Folder
    • WP FD – Same category, separate page
    • WP File Download – categories and trees
    • WP File download – search and single file
    • WP File Download 2
  • Documents
  • LATN Events
  • RA Manual
    • RA Manual with ToC
  • register here
    • a login page
    • edit profile
    • recover password
  • Sitemap
  • Staff listings
    • Directories using ‘Connections’
    • Directory using ‘Simple staff-members’
    • Staff List – 2020
    • Unprofessional Staff
  • Test Pages
    • a test using a custom template
      • template = iframe full width
    • Links to LabArchive notebooks
    • Regular Posts
    • sample simple document
    • Simple BWL KB test
      • Page for testing BWL kb
    • test using Site Origin Page Builder
  • Time for some Candy News!

Meta features

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
©2025 - ChopShop
↑