Jump to:
| Project: | Go - url redirects |
| Version: | 4.7.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | jredding |
| Status: | closed (fixed) |
Issue Summary
The organization I work for needed to post a disclaimer before any external links were followed. I modified this module slightly to add three new administrative items
Disclaimer On/Off (checkbox)
# of seconds to wait (0 for indefinite, select box)
Text to display as a disclaimer with variables for the URL and the # of seconds to wait.
When the disclaimer is checked "on" anytime a user clicks on a "GO" link (i.e. http://yoursite.com/go/externalsite) a disclaimer is displayed as a full page (not a popup.. because I hate popups), a meta-refresh is used to automatically move them to the selected page.
It is working great for us currently, although we haven't gone live with it yet. You can check it out at
http://beta.mnn.org/viewers/schedule (click on any non-email link)
Code needs review... I'm probably missing a few steps.
| Attachment | Size |
|---|---|
| gotwo.patch | 2.32 KB |
Comments
#1
This patch works perfectly - I don't think you missed anything :) The code looks good too (although I'm not yet a programmer). You seem to be using the Forms API nicely, etc. I'm setting this as ready to be committed seeing as I have seen no issues with it and its a nice feature to have.
#2
Awesome, I do have a few minor changes that I've made since I posted the patch. If you commit the patch I'll download it, merge my latest changes and repost a new patch.
Thanks for the original code, sometimes people don't say that enough. You saved me a LOT of time!
#3
Hi,
Is the version no downloadable including the patch?
greetings,
Martijn
#4
Patch should be included in the downloadable release within the next week or so.