Is this possible with Structure & Freebie?
I'm working on a site that will include a "Downloads" area where users can download various types of files. So I was going to build out the section in Structure like normal, set up a couple of channels to handle different types of downloads, and set each channel up as a listing. So far, pretty straightforward. But the catch is that the client wants to require users to fill out a contact form before they can download the file.
So my thought would be to build out the section as normal. However, on the page for a particular download listing, I'll set up a basic contact form using Freeform which, when successfully submitted, would send them to the same URL but with a "success" segment added on the end. Freebie would then use that "success" segment as a trigger word, and instead of displaying the form, would display the download link. So, in other words, here are two sample URLs:
http://www.domain.com/downloads/pdfs/pdf-to-download/
- Normal Structure URL, displays form
http://www.domain.com/downloads/pdfs/pdf-to-download/download/
- Displays if form on above URL is successfully submitted, displays
file details and a download link
Based on some other posts I've read in the forum, it seems doable, but I just want to verify that once and for all. Is my reasoning solid, or am I missing something?
FWIW, I'm using EE 2.5.1, Structure 3.2.4, and Freeform 3.1.4.
Support Staff 2 Posted by Travis Schmeisser on 25 Jun, 2012 02:36 PM
Sounds completely doable to me, but of course you'll need to run a few tests to verify your specific instance. I've never hidden things behind a form using it, but I don't see why not. Should be really easy to prototype.