Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding Text with URL Link to FooterAdding Text with URL Link to Footer
Previous
 
Next
New Post
9/8/2009 3:10 PM
 

Hi,

How do I add a text with a URL link in it to the footer of a dnn skin? I have looked in the .ascx file however not sure what & where exactly I need to put at the top for the Register Tag and also below where I want the text/url.

It already has privcay & terms, however under that I want to add a footer text and when clicked it takes you to a website.

Thanks

 
New Post
9/8/2009 4:05 PM
 

Skin accepts HTML code, simply add a < a href="www.mytargetsite.com" target="_blank">my Link< /a>  (omit spaces  between < and following character).


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
9/8/2009 7:18 PM
 

Ok. Where exactly do I input this at? In the ascx file? Top/Bottom/Register Target, etc....

Also, I know I change the "mytargetsite" to the url I want, how bout "my link" Is this the url again?

I noticed in the .ascx file everything has a registered target at the top. Is this required for what I am needing to accomplish?

Thanks for the help!

 
New Post
9/10/2009 12:39 AM
 

Hey Cory

Here is an example I just did a couple of minutes ago for a content pane in the ascx file footer to have custom footer links, it is not the most elegant but does the job.  The reason for using a contentpane and not hard coding links is it is easy to link to pages on your existing site (given the urls that DotNetNuke creates) and allows you to change the text or link without the need to touch the code after deployment.

NOTES:
- The key area is in bold
- This example has right aligned footer links you could also do left or center similar
- The float right, floats the contentpane "SiteLink" to the right of the other footer links (works in ie7, ie8 and moz 3.5)  thats all ive tested
- you could remove the margin-right its simply for spacing on the far right of the links
- I usually create a container called none that removes all cotainer tools but the action menu and assign it to this pane to provide better display in admin mode
- You then put a HTML module in this content pane but be careful as depending on what content you put in this html module you may have to create a style that controls its margins/padding to ensure it stays inline i.e. FooterLinks p { margin: 0px; padding: 0px;} for a paragraph

<div id="Footer">
    <div style="float:right; margin-right:14px;" class="FooterLinks" runat="server" id="SiteLink"></div><dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" CssClass="FooterLinks" />
    &nbsp;&nbsp;|&nbsp;&nbsp;<dnn:TERMS runat="server" id="dnnTERMS" Text="Disclaimer"
        CssClass="FooterLinks" />
    &nbsp;&nbsp;|&nbsp;&nbsp;
</div>

Hope this helps
Ed
 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Adding Text with URL Link to FooterAdding Text with URL Link to Footer


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out