PrivateEyes

 


Hide and show content

PrivateEyes is an amazing, simple-to-use, yet very powerful tool that lets you keep content and clutter under wraps—not just to the viewer but in the source code as well. This allows for many possibilities, including keeping your content private, making page loads more efficient, simplifying small site design and much more.

Using the power of PHP, PrivateEyes only makes its content available on demand through special URLs, unlike JavaScript which merely hides content that is still readily available in the source code. By rendering content on demand you can keep prying eyes off data you don't want seen. Or you can leverage this power to make single-page, dynamic websites, efficient galleries and more...

Instructions

Note: PrivateEyes must be published to view its full functionality. You can use the "Preview Switch" to view hidden content in Preview mode only while drafting your hidden content.

Sample: Want to get a quick start on using PrivateEyes? Download the sample RapidWeaver project.

Type: "Show content"
  1. Drag a PrivateEyes stack element onto your Stacks page.
  2. In the settings panel, select the "Preview Switch" to allow viewing in Preview mode while drafting your content.
  3. Into the "Show" drop zone, add the content you wish to hide.
  4. Into the "Replace" drop zone, add the content you wish to show in place of the hidden content. (optional)
  5. In the settings panel, select the "Use Replacement" switch. (optional)
  6. In the settings panel, to "Show (s)" add the appropriate comma-separated keywords, letters and numbers you would like to use to expose your content.
  7. In the settings panel, to "Hide (h)" add the appropriate comma-separated keywords, letters and numbers you would like to use to hide your content.
  8. In the settings panel, to "Master (m)" add a keyword, letters and numbers you would like to use to show all content with the same master keyword. (optional)
  9. In the settings panel, to "Path contains (p)" add a folder or path name you wish to use to show content if detected in the URL. (optional)
Type: "Submit form"
  1. Drag a PrivateEyes stack element onto your Stacks page.
  2. In the settings panel, choose "Submit form" from the Type menu.
  3. In the settings panel, to "Form Label:" add a suitable label.
  4. In the settings panel, to "Target Page:" click "Set Link:" and add a path, folder name or full URL to the destination page where your hidden content resides. If left blank, PrivateEyes assumes that the content is on the current page.
  5. In the settings panel, select "Password" if you wish your input in the text field to be obscured.
  6. In the settings panel, to "Button:" add a suitable submit button name.
  7. In the settings panel, customize your button with some special classes and/or add an image to it.
Exposing hidden content

PrivateEyes reveals your hidden content with special PHP indicators in the URL, namely "?" and "&" along with the key you've defined in your settings.

For example, if your content is hidden on the page http://example.com/ and your "Show" key is "showme" then your content is exposed when you send a visitor to http://example.com/?showme with a link or menu button.

If you also wish to show content with the key "andthistoo", send your visitors to http://example.com/?showme&andthistoo with a link or menu button. Have a look at our Content on Demand page for tips on manually building such links and menus.

The same is true if you've set your content to hide when certain keys are present, except PrivateEyes will hide that content instead of showing it.

PrivateEyes can also detect folder names and paths in the URL. This comes in handy for those who want to build a single library of content and @import(()) that page into others. PrivateEyes can show content relevant to the page it's being imported into.

There is also a second mode to PrivateEyes, "Submit form", that can help you expose content with its special submission form. Visitors can enter keys into the form and upon submission be presented with the hidden content they seek. Have a look at our Keep it Private page to see this form in action.

Examples

We've published a couple of examples of what PrivateEyes can do on this separate test website. You can also download the test site as a RapidWeaver 6 project file, using this link.

TimeRelease is a stack developed and supported by Tom Bristol.

Thanks! Please check the following:
System requirements
This stack requires RapidWeaver and the YourHead Stacks plugin. It will not work with other platforms (like Wordpress). We recommend you aim towards installing the latest version of RapidWeaver that your computer is capable of running (preferably RapidWeaver 6 or greater) and Stacks 3 or later.

License agreement
You may use this purchased stack an unlimited number of times in personal or commercial projects, request technical support and receive free updates in future.

This stack can be installed or synced onto all computers that you own. You are permitted to make archival backup copies of the stack.

You may not resell or make this stack available for download, remove copyright credits or license information.

The software is provided "as is" without any implied or expressed warranty of merchantability or fitness for purpose. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise arising from, out of or in connection with the software or the use or other dealings in the software.

Refund policy
By purchasing this stack, you agree that your purchase will be available immediately via digital download and that you waive your statutory right of withdrawal.

All purchases are final and refunds will not be provided (we physically cannot un-download or remove stacks from your computer).

You are reminded to make use of the free demo version already provided on the website, to fully evaluate this stack for compatibility and suitability before purchase.

Customer support
If you have questions that relate specifically to this stack, you should make contact via the support page. We aim to answer all messages within 12 hours, Monday to Friday.

If you require a faster response at weekends or during public holidays, please post your question(s) to the RapidWeaver forums, where a support volunteer may be able to assist you quicker.
Free demo versions
We provide free demo versions of all our stacks, so you can try before you buy! In the free demo's, automatic updates are disabled, a credit is displayed below the stack, and the stack fades out of view after 60 seconds. There are no trial expiries or disabled features. Buy with the confidence of knowing what you're getting.
What is a Stack?
A stack is a drag-and-drop component you can add to your webpages. These individual stack elements can be used to quickly add extra layout or functionality. Stacks work inside the Stacks plugin by YourHead software; an extremely popular plugin for RapidWeaver.
Learn more >
Customer support
Questions, feature requests, bug reports, or advice required about our stacks? No problem, we're here to help you. Fast and friendly expert support direct from the developers. No lousy FAQs, canned responses, complicated ticket systems or outsourced support agents here!
Learn more >
All prices shown include any applicable VAT
RapidWeaver® is a registered trademark of Realmac Software
Webpage Updated: 02/05/2017