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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0problem designing default.aspx home pageproblem designing default.aspx home page
Previous
 
Next
New Post
3/20/2007 1:05 AM
 

Hi wtatters ,

On the hope page of DNN, you will see the caption "DotNetNuke® is copyright 2002-2007 by DotNetNuke Corporation" at the footer. This is what I want to remove. How can I go about it?

From the default.aspx, I realise it's using a user control from a class. On designing this page, it's give error. I believe if this default.aspx can be designed, this message must be coming from an hyperlink control. Please, what is your view?

Thanks

 
New Post
3/20/2007 3:12 AM
 
olumyde77 wrote

This is what I want to remove. How can I go about it?

The Copyright statement is an optional feature of a skin (there are many tokens a skin designer can use).  So you have 3 options:

(1) Keep the same skin. Go to Admin >> Site Settings... Advanced Settings / Other Settings and make the Copyright setting blank.

(2) Use a different skin that does not emply the [COPYRIGHT] token.

(3) Edit the skin to remove the [COPYRIGHT] token.  In an HTML skin it would look just like that... in an ASCX skin it would look something like:
<dnn:COPYRIGHT CssClass="CopyrightText" runat="server" id="dnnCOPYRIGHT" />


Scott Willhite, Co-Founder DNN

"It is only with the heart that one can see rightly... what is essential is invisible to the eye. "
~ Antoine de Saint-Exupéry

 
New Post
3/20/2007 4:11 AM
 

The thing to understand about  DNN is that the whole system is based on a set of templates and user defined modules whose layout is determined at runtime by values stored in a SQL database.

As such therefore - to make changes to the content of a DNN site you dont edit default.aspx.

But instead you make changes to the relevant template or user module concerned.

>>>  For your specific request - that is getting rid of the copyright statement - the easiest way is to simply turn of the switch in the database that causes the copyright statement to be displayed.

This switch is located on the HOST Menu -> Host Settings

On that page you will find a checkbox "Show Copyright Credits"  = turn it off and you are done.

>>>

As to exactly how this works. WHEN default.aspx is called:

1. it looks to see what skin your site has selected

This skin contains all the info for the default layout of your site.
The skin is effectively a big user control defined as an ascx file that contains the HTML markup that defines where all the main elements of your generic page layout appear.

In reference to your original question - the skin .ascx file currently in use on your site will contain a tag that looks something like this:

 <dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />

 This is the dnn element that is used to display the copyright message.

So you could also create your own skin and delete this tag - to get rid of the copyright message.

Westa

 

 
New Post
3/20/2007 12:14 PM
 

That was a very wonderful contribution. I really appreciate your time.

I think the tag I need is <

dnn:DOTNETNUKE runat="server" id="dnnDOTNETNUKE" /> and not <dnn:COPYRIGHT runat="server" id="dnnCOPYRIGHT" />

I have checked this out in one of the skins.

Also, another way to solve this problem is to dissable to caption in the code. Check admin\skins\dotnetnuke.aspx.vb

So with this now, I can put in my own information to be displayed.

Thanks

 
New Post
3/21/2007 4:07 AM
 

Umm just a comment on editing the core - admin\skins\dotnetnuke.aspx.vb etc

I would recommend you avoid doing so like the plague - dnn is an evolving system that allows for extension and expansion without touching the core code.

The advantage of this -  when the core is updated - which happens on a relatively regular basis - you can upgrade your sites by simply updating the core - and getting access to all the new features.

If you start hacking around in the core code - then updating can get MUCH more messy.

>>>>

Stick to things like editing SKINS and Creating custom modules
 - frankly there is very little that cannot be done by working in these two areas.

Cheers

Westa

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0problem designing default.aspx home pageproblem designing default.aspx home page


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