Call Us 203.687.6053

Blog with a focus on DotNetNuke news, tips and tricks, DNN SEO, and insights and opinions about the DNN community at large.

10 DNN Admin Quick Tips

Posted by Tom on Tuesday, July 22, 2008 to DotNetNuke, DNN Tips and Tricks

Here are 10 somewhat lesser known “quick tips” for DotNetNuke administrators described in no more than a sentence or two and implemented just as quickly.

  1. Module Header & Footer Text

    Use the module header and footer text boxes (Module Settings > Advanced Settings) to inject short snippets of text and / or HTML above or below any given module. No need to drop additional text/html modules.
  2. Registration Copy

    I still see way too many sites with the default copy of “Membership to this portal is Private / Public / Verified. …” Change it via the language editor at Admin > Languages > Global Resources > SharedResources.
  3. Login / Register Links

    And while you have the language editor running, customize the anchor text of commonly used skin tokens such as Login, Register, Terms, and Privacy at Admin > Languages > Local Resources > Admin > Skins. Alternatively, most of these tokens support a “text” attribute for overriding the anchor text directly in skin.ascx:
    <dnn:login runat="server" id="dnnLOGIN" text="Sign in" />
  4. Page Header Tags

    Tucked away in the advanced page settings is a field that allows you to specify additional meta tags on a page by page basis. For instance, to keep Google from archiving the page, enter <meta name="robots" content="noarchive">.
  5. Installation Date

    Ever lost track of when you or your hosting provider installed DNN for your site? The “InstallationDate” key in the appSettings section of web.config will tell you.
  6. Terms of Use & Privacy Statement

    The default terms and privacy notice are meant as a general guideline only. If you are running a “high profile” site, have the documents reviewed by a legal professional and edit accordingly via Admin > Languages > Global Resources > GlobalResources (message_portal_terms.text and message_portal_privacy.text.) Even if the default copy is sufficient for your needs, mask the email address in the last paragraph of the privacy statement to avoid spam.
  7. Website Administrator

    You have entered a valid email address in your DNN profile and double-checked the SMTP server settings and still don’t receive admin notifications from DNN? In case of multiple users with admin rights, you need to set yourself as the site administrator at Admin > Site Settings > Advanced Settings > Other Settings.
  8. Module Title

    The module title field accepts roughly 250 characters including HTML/CSS. That’s good enough for little tricks such as adding a small image, link or vary the font size of words in the module title. Just don’t overdo it.
  9. Copyright

    Similar to the module title field, I often enter additional information such as contact details into the copyright field (Admin > Site Settings > Site Details), which then conveniently display in the footer of your pages or wherever else you placed the copyright skin token.
  10. Module Installation Timeout

    As modules get more sophisticated and provide more features and functionality, the file size of private assemblies (PAs) naturally grows as well. This may lead to HTTP session timeouts when uploading PAs the conventional way (Host > Module Definitions > Install New Module.) While there are means to increase the session length in web.config, I prefer to simply FTP upload the PA zip file into the Install\Module folder on the web server and then change the file extension from .zip to .resources. Subsequently, the module is listed in the Available Modules section of the Modules Definition page and installation can resume from there.

At least half of the above suggestions should be applicable to any DNN version, while the other half is geared more towards DNN 4 and above.

As always, I encourage you to voice your thoughts in the comments below. But for this post, I would love to see you share additional DNN gems that you have discovered while working with the framework.


Permalink Permalink      Comments 9 Comments      RSS feeds RSS feeds      Email updates Email updates

 

Comments

Comment By Mitchel Sellers on Tuesday, July 22, 2008 at 5:19 PM

Tom,

One important note about #5, installation date is NOT always available inside the web.config as newer DNN versions do not necessarily add it.

However, you can always find out this information via Host/SQL by running the following query.

SELECT *
FROM Version

Comment By Tom Harris on Tuesday, July 22, 2008 at 5:24 PM

Great Tips!
I use the advanced setting to add additional style tags when necessary. It is a great place to set a specific margin or padding setting using div tags. Add the end div tag to the footer textarea.
Thanks!

Comment By Tom Kraak on Tuesday, July 22, 2008 at 5:33 PM

Thanks for sharing guys.

Comment By John Mitchell on Wednesday, July 23, 2008 at 9:08 AM

The first one reminded me of one from my blogs:

Have you ever wished that your modules would align better, or have less space in between? Maybe you want to position two modules side-by-side without having to put thim in seperate skin panes.

You could also achieve this easily with a little CSS magic.

In the Module Settings > Advanced Settings, put some code in the Header and Footer to wrap the module in a floating DIV tag.
Then you can position the module anywhere you like and not be confined by DNN positioning.

In the Header put this:

<div style="position:relative;top:-100px;left:100px;">

And in the Footer put this:

</div>

Now, you can adjust the top and left to put the module anywhere you like.

Comment By Tom Kraak on Wednesday, July 23, 2008 at 9:51 AM

Excellent tip John - thanks.

Comment By Lance on Monday, July 28, 2008 at 1:31 PM

People always under estimate the power of editor templates.

Open the file: Providers\HtmlEditorProviders\FckHtmlEditorProvider\FCKeditor\fcktemplates.xml and replace with standard layouts and mark up. For instance, any of the micro formats are a natural but also any pseudo columns etc.

Similarity, modify the fckstyles.xml file in the same folder to start using site wide styles properly.

Note: this affects all portals on the instance so add only semantically neutral content.

Comment By Ismet Dumlupinar on Sunday, August 03, 2008 at 5:52 AM

Lance your tip was helpful too, i am trying to use dynamic styles within FCK Editor, however sometimes caching prevent me configure it properly, i am still working on it with DotNetNuke 4.8.4 release.

Comment By Greg on Thursday, August 21, 2008 at 4:16 PM

Great tips Tom!

I also really like the one from John - I've seen tons of posts on DNN.com asking this question. I didn't know it was possible.

Too bad there isn't a tips section on DNN.com for knowledge like this!

Comment By Tom Kraak on Thursday, August 21, 2008 at 4:22 PM

Thanks Greg, I'm glad you found it useful.

Add a comment