Login | Register
Blog
Sep 15

Written by: Dylan Barber
9/15/2009 12:53 AM  RssIcon

When I build my sites in DNN I really do not like to use the default ‘Terms of Service’ and ‘Privacy Statement’ controls. For one thing the controls place the content in the Content Pane of the admin skin the site uses and sometimes this is problematic for a pleasing and cohesive site design. I found a possible ‘bug’ that helps me create my own privacy and terms pages without a lot of work. This is one bug I hope the DNN team doesn’t fix anytime soon! :)

Any skin that uses the current skin objects for ‘Privacy Statement’ and ‘Terms of Use’ can take advantage of this little hack.

  1. Make sure your site  is using a url format of HumanFriendly. So in your web.config file you will need to find the line for the friendly url provider and if you are using the DNNFriendlyURL provider make sure it has  urlFormat="HumanFriendly" as one of the parameters.
  2. Create a new tab/page with a page title of ‘Privacy’.
  3. Add your own content, move modules around on this page, and change skins as you would any other page.
  4. Go to any other page and click the link created for the ‘Privacy Statement’ it should now navigate to the page you just created and not to the ‘Privacy’ control.
  5. Repeat steps 2 – 4 using a page title of ‘Terms’ for the ‘Terms of Use’ page.

One downside to this is the lack of internationalization in the default HTML module but this can be overcome with other modules like the Apollo multi language module.  I think the increased and more transparent control over the ‘Terms’ and ‘Privacy’ pages offsets this downside especially if you are turning the site over to non technical people to edit.


Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
Enter the code shown above in the box below
Add Comment   Cancel 
 
Categories
Skip Navigation Links.
Search
Tags
Recent Entries
Mass Tabs – the free way to build a huge site quickly
Playing with the new DNN Blog (4.00.00 Beta 3)
Playing with the new DNN Blog (4.00.00 Beta 2)
SEO in DNN
"Our Development Process" - My Response
‘Privacy Statement’ and ‘Terms of Use’ in DNN
Textarea fun, making textareas auto expand!
OpenForce ‘09 – In case you didn’t know
Archive
Privacy Statement | Terms Of Use
Copyright 2008 by Code My Pants Off