Wednesday, March 10, 2010
  Search
 
Register
Login
 
Creating new DotNetNuke HTTP Alias Records
 Setting up DotNetNuke to handle serving requests for Portal Alias records is a breeze. You can use these records to direct your site to handle requests for multiple domain names to one website with ...

Find this article and more in the category

Read This Article . . .

DotNetNuke 5 Cambrian Extropy Skin Features and Limitations
The new DotNetNuke Extropy skin looks very cool from a distance...leaps and bounds above the old default blue skin. But, it's got some limitations you should know about upfront.

Find this article and more in the category

Read This Article . . .

New "Styles" SkinObject Found in DotNetNuke 4.9
One more addition has been added to the developer's DotNetNuke skinning toolbox with the release of DotNetNuke 4.9. Introducing...the Styles SkinObject. This little object is a very welcome addition ...

Find this article and more in the DotNetNuke category

Read This Article . . .

Adding Google AdSense with Video
Adding Google AdSense to your DotNetNuke portal has never been easier. By default, a Google AdSense module is added the list of installed modules when your DNN portal is first created. It's easy to ...

Find this article and more in the Modules category

Read This Article . . .

How to Utilize AjaxToolKit with DotNetNuke Portals
Integrating the AjaxToolkit into DotNetNuke modules is super easy. But, can be frustrating if you're not sure how. Find out how to Ajax enable your modules in less than 5 minutes now!   The ...

Find this article and more in the Module Development category

Read This Article . . .

Everything You Never Wanted to Know About the Config File
This is the "pre-" first installment in a series that will cover the parts of the web.config file to give you an idea of how to manipulate and customize your DotNetNuke portal. The web.config fi...

Find this article and more in the category

Read This Article . . .

Setting Up the DotNetNuke Side of Multi-Websites
Ok, so by now you know that DotNetNuke can handle multiple websites, but you still want to know why. Well, it’s pretty easy once you know how to do it, but it can be pretty confusing to some who are ...

Find this article and more in the category

Read This Article . . .

Customize Google Analytics for DotNetNuke Search
You can easily set up your Google Analytics account to track the search feature on your DotNetNuke website and take advantage of all the in depth reporting that Google has to offer. It's simple, here...

Find this article and more in the category

Read This Article . . .

I Need to Modify the What to Install DNN? What in the World is a Web.Config File Anyway??
 If you're wondering what in the world a web.config file is, then wonder know more. . .in about 5 minutes, you'll know more than you do now and be well on your way to moving forward.

Find this article and more in the Web.Config category

Read This Article . . .

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal
Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make t...

Find this article and more in the category

Read This Article . . .

Recently Added Articles

Minimize
Article List

 

How To Customize the Privacy and Terms Links on Your DotNetNuke Portal

3/17/2009 12:39:42 AM - By Briana Tarrance

Category: | | Comments 0

 

 

Related Links

Straight out of the box, DotNetNuke already has a lot of things covered. But, what do you do when you are ready to begin customizing your site. Sometimes, it’s not so easy to figure out how to make those changes. But, customizing your portal to fit your needs is actually pretty easy.

image     

 

We’ve all seen them on every DotNetNuke portal out there. Talk about duplicate content! If you’re ready to make sure your site is different than all the others. Here’s how:There are actually two things you can make changes to. The first being the actual text of the link and the other the actual text on the page the link leads you to.First, let’s change the link text. All you have to do is add a “Text” attribute on the Privacy control located on your skin file.  Save the file and refresh your page and Voila!

 

<dnn:PRIVACY 
    runat="server" 
    id="dnnPRIVACY" 
    CssClass="footer" 
    Text="My New Privacy Text Link"/>

 

image

 

Now, to change the text on the pages following the links, you have two options. 

Standard DotNetNuke Terms Of Use Text Standard DotNetNuke Privacy Statement Text

One method is to make the changes directly from the website.  You must be logged in as the Host/Superuser accout. Under the Host Menu, click on “Languages”:

image

On the next screen, click on the “Edit Language Files” link.

Editing DotNetNuke Standard Portal Text

 

***  Please note that whatever changes you make for the Privacy and Terms will affect all of the hosted portals. Under the “Global Resources”, you can look for the MESSAGE_PORTAL_PRIVACY.text box and make edits there. (MESSAGE_PORTAL_TERMS.Text to change the Terms of Use page)

imageimage

 

Here is a copy of the text that I placed for the new page:

<div align="left">
<h1>My New Privacy Statement</h1><p>It's short, but it's to the point. [Portal:PortalName] cares about your privacy and you can <b>trust</b> me!</p>
<p>You can email <a mailto:[Portal:Email]>[Portal:Email]</a> with questions </div>Notice that HTML and tokens are acceptable. Also, notice how the link for the PortalEmail was formed so that it would be a clickable link: <a mailto:[Portal:Email]>[Portal:Email]</a>

 

Once you have made your changes, scroll to the bottom and save your changes and preview your new page:

image

 

The other option you have for editing resouces is my preferred method just because I don’t have to muck around online, but you can actually make the changes directly in your website files. Under your site directory, navigate to "App_GlobalResources” >> GlobalResources.resx. In Visual Studio, you will get a UI representation of the resource file. Scroll to the setting you want to change and make the modifications here. Th .resx file can also be viewed as an XML styled file as well

 

 

image

 

 Here is the new rendered output after a local edit. Notice I used a new token here also: [User:Username]

image

 

I’m sure you’ve noticed by now that there is a great amount of information that you can change throughout the portal, both global and local changes can all be made like this.Alright, what are you waiting for….there’s so much to do now!

 


 
 
Copyright 2008 by Virtual-Essentials.com Privacy Statement    Terms Of Use