Clicky

RapidWeaver Stacks, PlugIns, Themes ...
My Image

All the latest RapidWeaver Stacks reviewed,
plus the most important community news …

Stay up to date with current RapidWeaver developments

Perfect Warehousing With RapidWeaver

Warehoused content keeps your RapidWeaver projects compact and reduces page loading times. We've all heard that, but uploading sites using the RW publishing controls doesn't allow us to freely access the resources folder and not everyone is comfortable using FTP software.
A perfect solution would be a secure file manager that allows you to upload your files via a browser and then to link to said files in RW.

Using Jannis of InStacks' own words Repository is the perfect solution! Judge for yourself.

Setting up Repository is a breeze. Drag the new stack into a Stacks page (it needs to reside on its own page), set a user name and password and publish.
Open up your repository directory in the browser and drag files into it, or download the files that it contains. There's nothing else to it.
Or is there?

First step – setting the user and password – Repository doesn't save passwords as plaintext, but uses a hash code which you'll first need to generate. That's simple enough – got to the Repository instruction page, scroll down to Generating your own password hash, click the link and enter the password you'd like to use. Click 'Generate Hash' and copy the result into the Password Hash field in the stack settings. Only a single user is allowed.
As a further safety precaution, Repository also has a Blacklist and a Whitelist. Lists of file extension that may, or may not be uploaded. This means that potentially harmful files will never land on your server. I tried to upload an .exe file and received an error message. Something tells me that someone is taking security very seriously here.

InStacks Repository

There is, of course, more to the setup than just entering the password hash. If you want your clients to be able to access the folder, there are a few options available in the Repository stack settings that will help improve security.

"But why would you want your clients to be able to access the repository?" I hear you ask.
Because if your images are warehoused and your client has access to them, he/she can replace them at will. And, if you've added text blocks to your project using a stack such as Embed from S4S, he/she could change the text content too!

Repository currently offers two flavours. Bootstrap, or Material Design. Both look quite attractive when loaded in your browser (you don't see a lot in edit, or preview mode), but more importantly, the user interface is functional. The menu at the top of the page includes Refresh; Search; Upload; New Document; New Folder and Logout.
It's not immediately obvious, but you can just drag files into the browser window to upload them to the server.

Text files can be edited directly by clicking the Edit button, but the most distinctive feature is a built in lightbox for images.

Stack Settings

Theme - Bootstrap Design, Material Design
Nav Back Colour
Nav Text Colour
Check Authentication - can be deactivated
Username
Password Hash
Language
Timezone
Open Files In New Window

Then follow a flurry of additional options to allow, or disallow: File Download, Copy To Clipboard, Copy/Move Files/Directories, Create Directories, Create Files, Edit Files, Delete Files/Directories, Extract Archives, Upload, Rename, Create Archives.
Show: Last Modified Date, File Size, Image Dimensions, Owner, Group Htdocs, Hidden Files.

If you need a secure File Manager, Media Browser, and Online Text Editor for RapidWeaver, Repository is most certainly a very good choice.

Comments

File Manager For RapidWeaver

There aren't many stacks that you can simply drag to a page, publish the page and have done with it. FileMan from Stacks4Stacks is, however just such a stack. And it's useful too!

FileMan, as you might guess from the name, is a File Manager for RapidWeaver. It has many uses that aren't immediately apparent.

FileMan creates a PHP database on your [client's] website. The database may optionally configured to allow file uploads, downloads and/or deletion.

Simplest scenario: you have a number of documents that you want to make available online. Drag them to your FileMan folder via FTP and they will immediately be accessible to anyone that can log in to the File Manager page.

The next possibility is a flat CMS solution. Let's say you have a warehoused client gallery, or slideshow online and your client wishes to swap out the images on a regular basis. Once the client has been instructed how to create the images accordingly, he/she could log in to their FileMan warehouse page, delete the old images and upload the new ones.
The same applies to text files (or whole HTML/Markdown pages) that are linked to DropCMS (Free download from Stacks4Stacks) boxes, or PDFs linked to the recently reviewed PDF Viewer.

FileMan couldn't be simpler to set up – as stated above, drag the stack to a Stacks page, upload the page and you're done. As soon as you access your new page, FileMan will create a PHP database and you can begin uploading files. You may, however, wish to do a little configuration first:

Stack Settings
FileMan creates a directory outside of the RapidWeaver project. Directory Path will be the name of said folder on the server (refresh your FTP browser view after accessing the FileMan for the first time).
Login Password. Enter the password that will be used to access the FileMan Directory. Permissions – Read/Write, or Read Only.
Next the stacks panel has a number of options: Add Sample Files these may be deleted via FTP if the option Allow File Deletion remains checked before your initial upload. Allow Creation Of New Folders. Allow Direct Links allows files to be downloaded directly. Allow File Uploads allows the user to upload.

Disallowed Files contains a list of potentially harmful files that may not be uploaded to the server. You may add your own definitions to the list.
The remaining FileMan settings are for the localisation strings that you may wish to alter.

It remains to be said that FileMan – a free download, BTW – can be inserted into an iFrame and lightboxed – as demonstrated below.

FileMan

Comments

Show more posts

Links to the developers ® All trademarks cited on this page are the property of their respective owners.

Subscribe to Ninja News
or ask a question

Hi, I’m the Ninja Bot. What’s your name?
image/svg+xml
Nice to meet you, [1-1]. Could you tell me your mail address?
image/svg+xml
[1-1], would you like to subscribe to the monthly Ninja Newsletter?

Yes, I would like to receive your monthly newsletter.

No thanks, I’m good for now. I have a different issue.

image/svg+xml
Thanks for your support, [1-1]. Is there anything else I can do for you?
image/svg+xml

[1-1], thanks for subscribing. If you made a further request, I’ll get back to you – typically within 24 hrs.

image/svg+xml
Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I would like to subscribe to the Ninja Newsletter

Message

[4]
I’m sorry tohear that, [1-1]. How may I help you then today?
image/svg+xml

[1-1], thanks for contacting me. I’ll review your mail, and get back to you – typically within 24 hrs.

image/svg+xml
Name: [1-1] [1-2]
Email; [2]

Contacted you via the Siphon form at Ninja News.

I don’t want to subscribe to the Ninja Newsletter right now.

Message

[6]

Thanks again for contacting us. Your request was successfully submitted.

Contact Information

rjh logo

rjh web design

265 Moo 2
Mae Na Toeng Nai, Pai
Mae Hong Son
Thailand 58130

About Us

We design websites and print-products for small businesses at reasonable prices. We specialise in Responsive Web Design.

Legal

This site uses Cookies to determine the best method of display in combination with your browser.
We do not harvest or sell personal information.
© rjh web design 2010—17

Powered by rjh-design

This website was built with loving care on a Mac using Foundation. For more information, contact me.

Don’t miss a post!

Sign up for our monthly newsletter.

A monthly digest of all the latest updates from our RapidWeaver blog, keeping you up to date with the hottest new stacks and themes.

View previous campaigns.

Subscribe to the Ninja Newsletter

* indicates required