DotNetNuke Hosting with ASPHostPortal.com

BLOG about DotNetNuke CMS, latest technology and Special DotNetNuke Hosting Package with ASPHostPortal.com

DotNetNuke Hosting - ASPHostPortal.com :: Simple Trick CSS Image Replacement in DNN

clock January 31, 2017 10:24 by author Dan

According to DNNgallery website. I've used quite a few image replacement techniques in web design in the past to create better typography for the web. But recently I've ran into a technique improved by Scott Kellum that proved to be effective as well as enhancing the performance of the site.

If you're a web designer, you've probably heard of Fahrner Image Replacement technique. It's essentially using CSS text-indent property and set it to a very larger negative number such as -9999px so the text isn't visible to users.

The technique is known for having a performance drawback since the browser has to draw the screen out to the measurement defined in the CSS. Jeff Zeldman recently published an improved technique in his post about this fix based on Scott Kellum's refactor code as follows:

.hide-text {
         text-indent: 100%;
         white-space: nowrap;
         overflow: hidden; }


So use this in your next web design project to eliminate performance drawback in the CSS.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Simple Steps to Add Text in DNN Search Box

clock January 24, 2017 07:45 by author Dan

According to mndnn website. While trolling around the DNN forums, I found a post by someone looking to add the text "Search" to the DNN Search box. I've done this several times, and I use a javascript snippet. For those that are looking for something similar, see below.
 
$(document).ready(function() {
 $('#dnn_dnnSEARCH_txtSearch').val('Search Our Site'); //add the search text to the search input
    $("#dnn_dnnSEARCH_txtSearch").focus(function () { //clear the default text out of the search input
        if ($(this).val() == "Search Our Site") {
            $(this).val('');
        }
    });
});


This will add the text "Search Our Site" to the search box. When the user clicks on the box, the text is erased.

The best place to add this is in your skin files. Make sure you are using jQuery.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: How to Create Different Level Navigation in DNN

clock January 17, 2017 15:00 by author Dan

According to mndnn website, If you ever need to dynamically output two different levels of menu in the same skin, read below. In some cases you may need a primary or secondary page to show it’s children and the child page to show it’s siblings.

You can do that in the same skin. This example uses the DNN Garden menu, but it could be any provider where the levels are specified

<div id="side-nav">

<%  If PortalSettings.ActiveTab.Level < 1 Then%>

<ddr:MENU ID=”MENU2″ MenuStyle=”ULMenu” runat=”server” NodeSelector=’0,0,1′ ExcludeNodes=”Admin, Host” />

<% Else%>

<ddr:MENU ID=”MENU3″ MenuStyle=”ULMenu” runat=”server” NodeSelector=’-1,0,2′ ExcludeNodes=”Admin, Host” />

<% End If%>

</div>


Now I can use the same skin for two levels of hierarchy. Using DNN Garden, the node selector determines the depth of the menu.

Now on my primary pages, I can show the children. On the child pages, I can show it's siblings.

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.



DotNetNuke Hosting - ASPHostPortal.com :: Easy Steps to Solve Problems logging in after upgrading DNN

clock January 3, 2017 12:07 by author Dan

According to nwds-ak website. The information in this article applies to:

DotNetNuke - DNN
Upgrade Installation Options
DotNetNuke Upgrade Instructions -- DotNetNuke problems logging in after upgrade solution

If the DNN installation uses third-party modules that includes custom entries in the web.config file, the customer should consult with their vendor on the best way to perform an upgrade.

1. Rename the web.config file old_web.config

2. Extract DotNetNuke upgrade package


Now you need to extract all files from the DotNetNuke upgrade package into your root DNN folder or sub-folder if DNN is installed to a sub-folder. You will need to confirm the overwriting of your files. Once this process has completed, rename the release.config file to web.config and perform the following steps using the information from your old_web.config file

3. Update Connection Strings

Be sure that the proper connection strings are loaded for your setup, both in the <connectionstrings>and <appsettings> sections of your web config, examples are provided below.
<connectionStrings >
   
     < add  name ="SiteSqlServer" connectionString ="<yourconnectionhere>" providerName ="System.Data.SqlClient"  />
   connectionStrings >
   < appSettings>
     <!-- Database connection string (SQL Server 2000 or 2005 - kept for backwards compatability - legacy modules -->
     < add  key ="SiteSqlServer" value ="<yourconnectionhere>" />


4. Turn off AutoUpgrade

5. Copy Machine Key and Validation Key Values

Another very important item to copy over is your machine and validation keys from the old_web.config file. These are the keys used to encrypt and decrypt passwords and other information within your application. Failure to do this will result in your users including the admin and host user not being able to login. Below is an example of the machine key, the values you will be concerned with are the ones that note "<value to copy>".
<system.web >
     < machineKey  validationKey ="<value to copy>"  decryptionKey="<value to copy>"  decryption="3DES"  validation="SHA1"   />


6. Check and Update ObjectQualifer Line if necessarey

When Re-invent performs a free installation of DotNetNuke - DNN to a customers site we use an ObjectQualifer on line 321 in the web.config file before installation.   For example, if installing DNN v4 we change this line:

objectQualifier=""

to this:="DNN4"


7. Start Upgrade Process

After completing the above setup you are now ready to start the upgrade process.  You will want to delete your app_offline.htm file if you created one so that you can access your site again.  Now simply navigate to <yourSite>/Install/Install.aspx?mode=upgrade.  Once the page appears you should see a status screen that shows you the progress as the site is upgraded.  At the end you should see an upgrade complete message with a link to your portal.  You should not see ANY errors on this page, if you encountered an error be sure to note ALL information displayed so you can investigate the issues.

objectQualifier

This creates all SQL tables in the database with a Prefix of DNN4_.  This allows customers to differentiate between what tables are used for DotNetNuke and what tables are used for other applications you may have on your site.

You can check the ObjectQualifier by logging into your database to see if one was used.  If one was used you must change the ObjectQualifier line to match, otherwise leave it blank if no ObJectQualifer was used.

By default DotNetNuke will be set to "AutoUpgrade", this means that the first user to hit the default.aspx page on any portal within your DNN installation will trigger the upgrade process.  This is typically not a desired result as if an error occurs you might not be able to see the error log since the other individual started the upgrade.  The way around this is to update the "AutoUpgrade" appSetting, if you set this to "false" you will be required to navigate to the <yoururl>/Install/Install.aspx page to perform the upgrade.
<add  key ="AutoUpgrade"  value ="False"   />

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.



DotNetNuke Hosting - ASPHostPortal.com :: Easy steps to view error log exceptions in DotNetNuke

clock December 13, 2016 11:03 by author Dan

In this tutorial, you will learn how to view error log exceptions in DNN. You will also able to specify which log exceptions you want to record or ignore.

To view the error logs, you will need to have administrator portal access. Once you have login on the website, please go to the admin menu and you will see there is a menu called Event Viewer.

By default, all the error or event logs will be displayed on the site, you have an option to narrow the result list by specifying the log type by selecting one of the option in the dropdownlist.

How to turn off the event logs in DNN?

To turn off specific event logs in DNN is pretty simple, if you scroll further down, you will be able to see there is a button called Edit Log Settings.


To enable or disable the event log, click the pencil edit icon. This will load another window popup and there is a tickbox for you to untick it if you want to disable the event log.

Best DotNetNuke Hosting Recommendation

ASPHostPortal.com provides its customers with Plesk Panel, one of the most popular and stable control panels for Windows hosting, as free. You could also see the latest .NET framework, a crazy amount of functionality as well as Large disk space, bandwidth, MSSQL databases and more. All those give people the convenience to build up a powerful site in Windows server. ASPHostPortal.com offers DotNetNuke hosting starts from $5/month only. We also guarantees 30 days money back and guarantee 99.9% uptime. If you need a reliable affordable DotNetNuke Hosting, we should be your best choice.



DotNetNuke Hosting - ASPHostPortal.com :: Easy Steps To Set Google Gmail SMTP in DNN

clock November 28, 2016 10:17 by author Dan

According to bytutorial website, If you want to use Gmail SMTP in your DNN website, this can be easily done by specifying the correct port 587 in the SMTP settings. Unfortunately, there is no port number field supplied in the SMTP settings form. So in order to include the port number, you just need to add the smtp.gmail.com:587 in the SMTP settings.

In order to set the SMTP settings, you will need to login as super host account. Note this is a super administrator account so the basic administrator account will not get the access to the host menu. Under the host settings in the advanced settings tab, you will see a section for SMTP settings. You just simply need to use the following settings. Just replace the email and password of your own.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Easy Steps to make vertical flyout menu using CSS in DotNetNuke

clock November 21, 2016 10:54 by author Dan

According to bytutorial website. This tutorial will show you how you can create your web design menu in css vertical layout step by step.

Firstly create a html file named it css_flyoutverticalmenu.html and copy the following code.

<link href="css_flyoutverticalmenu.css" type="text/css" rel="Stylesheet" />
<div id="menuwrapper">
    <ul>
        <li><a href="#">Home</a></li>
        <li><a href="#">Products</a>
            <ul>
                <li><a href="#">Product 1</a>
                    <ul>
                        <li><a href="#">Sub Product 1</a></li>
                        <li><a href="#">Sub Product 2</a></li>
                        <li><a href="#">Sub Product 3</a></li>
                    </ul>
                </li>
                <li><a href="#">Product 2</a></li>
                <li><a href="#">Product 3</a></li>
            </ul>
        </li>
        <li><a href="#">About Us</a>
            <ul>
                <li><a href="#">Faqs</a></li>
                <li><a href="#">Contact Us</a></li>
                <li><a href="#">Where are we?</a></li>
            </ul>
        </li>
        <li><a href="#">Help</a>
    </ul>
</div>

Second step is to create a css file and named it as css_flyoutverticalmenu.css, please place this file on the same folder of the html file you created above.

/* Define the body style */
body {
    font-family:Arial;
    font-size:12px;
}

/* We remove the margin, padding, and list style of UL and LI components */
#menuwrapper ul, #menuwrapper ul li{
    margin:0;
    padding:0;
    list-style:none;
}

/* We apply background color and border bottom white and width to 150px */
#menuwrapper ul li{
    background-color:#7f95db;
    border-bottom:solid 1px white;
    width:150px;
    cursor:pointer;
}

/* We apply the background hover color when user hover the mouse over of the li component */
#menuwrapper ul li:hover{
    background-color:#6679e9;
    position:relative;
}

/* We apply the link style */
#menuwrapper ul li a{
    padding:5px 15px;
    color:#ffffff;
    display:inline-block;
    text-decoration:none;
}

/**** SECOND LEVEL MENU ****/
/* We make the position to absolute for flyout menu and hidden the ul until the user hover the parent li item */
#menuwrapper ul li ul{
    position:absolute;
    display:none;
}

/* When user has hovered the li item, we show the ul list by applying display:block, note: 150px is the individual menu width.  */
#menuwrapper ul li:hover ul{
    left:150px;
    top:0px;
    display:block;
}

/* we apply different background color to 2nd level menu items*/
#menuwrapper ul li ul li{
    background-color:#cae25a;
}

/* We change the background color for the level 2 submenu when hovering the menu */
#menuwrapper ul li:hover ul li:hover{
    background-color:#b1b536;
}

/* We style the color of level 2 links */
#menuwrapper ul li ul li a{
    color:#454444;
    display:inline-block;
    width:120px;
}

/**** THIRD LEVEL MENU ****/
/* We need to hide the 3rd menu, when hovering the first level menu */
#menuwrapper ul li:hover ul li ul{
    position:absolute;
    display:none;
}

/* We show the third level menu only when they hover the second level menu parent */
#menuwrapper ul li:hover ul li:hover ul{
    display:block;
    left:150px;
    top:0;
}

/* We change the background color for the level 3 submenu*/
#menuwrapper ul li:hover ul li:hover ul li{
    background:#86d3fa;
}

/* We change the background color for the level 3 submenu when hovering the menu */

#menuwrapper ul li:hover ul li:hover ul li:hover{
    background:#358ebc;
}

/* We change the level 3 link color */
#menuwrapper ul li:hover ul li:hover ul li a{
    color:#ffffff;
}

/* Clear float */
.clear{
    clear:both;
}

Issue for Internet Explorer under version 9

If you are using IE under version 9, it might not work for you because the browser doesnt support the hover function in LI list. I have included a javascript example in the demo file, so you can check it out how it works in Internet Explorer.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: GetTab Method without DNN Context

clock November 14, 2016 10:19 by author Dan

According to sunblognuke website, As you know, the simple method GetTab(int tabid) was obsolete and has been replaced by GetTab(ByVal TabId As Integer, ByVal PortalId As Integer, ByVal ignoreCache As Boolean). If you want to call the new method, we have to pass the additional parameter “PortalId”.

In common,  the object PortalSettings can be easy to get with DNN context, such as special dnn module & page; however, it may be inaccessible in some sceneries, such as separate aspx page or handler. Then is there any way to get the correct tab info with this new method? Now there is a simple trick to do it with passing into Null.NullInteger as the parameter PortalId. So the coding looks like that:

var tabController = new TabController();
var blogPage = tabController.GetTab(tabID, Null.NullInteger, false);


Deeping into the source code, you will find out that it always tries to get the correct PortalId for this tab/page object:

//if we do not know the PortalId then try to find it in the Portals Dictionary using the TabId
portalId = GetPortalId(tabId, portalId);

//if we have the PortalId then try to get the TabInfo object
tab = GetTabsByPortal(portalId).WithTabId(tabId) ??
        GetTabsByPortal(GetPortalId(tabId, Null.NullInteger)).WithTabId(tabId);


Hope this trick & tip helps if someone has the same issue.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: How to Solve Background Issues in DotNetNuke

clock November 7, 2016 11:36 by author Dan

According to webascender article, If you skin sites regularly for DotNetNuke, you may have run into a problem with background images or colors showing up in the FCK editor on your sites or in the background of the Link Gallery window that pops up on your site.  These two issues both have simple solutions that will save you time and frustration.

FCK Editor Background

When coding CSS, the typical place to insert a background image or color is through the BODY selector.  This selector will manipulate the background of your site, but will also change the BODY tag inside an iFrame that is incorporated when you edit textboxes through the built-in FCK Editor in DotNetNuke.  If you have a dark background and text color, the text in the FCK Editor will be unreadable and will be manipulated by whatever text manipulating properties you have on your BODY tag.

 

In DotNetNuke, a Body ID tag is automatically added to the BODY tag of your site.  Putting all background and related properties in this #Body selector will prevent the FCK Editor’s BODY tag from inheriting any unnecessary style changes. Making this switch will enable you to view text in the FCK Editor as it’s meant to be, instead of inheriting aspects of the BODY tag.

Link Browser Background

This problem is related to the FCK Editor Background issue we see in DotNetNuke.  The Link Gallery box also has an issue with inheriting backgrounds from the BODY tag.  The Link Gallery box is the window that pops up when you try to insert a link in the FCK Editor and click “Browse Server.”  Dark text is unreadable when your background is dark.  This issue can be fixed by adding a suitable background color to the #Table2 selector in your skin.css file.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



DotNetNuke Hosting - ASPHostPortal.com :: Easy Ways to Sync Google Analytic with DotNetNuke

clock October 31, 2016 09:06 by author Dan

According to Ben J Schmidt (web designer) article, Let's face it, if you have a website, you are dying to know how many page views your site is getting and just how effective all your ads and SEO is working. Thanks to Google Analytics for DNN, it is easier than ever.

Google Analytics is a free, fully featured website tracking system. It can even synced with Google Adwords to track how different ads work with getting visitors and conversions on your site.

How does Google Analytics work?

A piece of javascript is inserted into any page you want tracked by Google. Every time a viewer looks at your website, it is recorded by Google and tells you all of the pages they viewed with in your website. All the data is collected and stored in your Google account under Analytics.

Integrating Goolge Analytics Into Your Site

Putting javascript into a site can be tough, especially if its already been made or the website is template. However, if you are using DNN, as your content management system, it's as easy as 1,2,3, thanks to the DotNetNuke Google Analytics module. This is a free module that can easily be integrated into your pre-existing Dot Net Nuke site. This module puts the javascript for Google Analytics into your DNN page. The Google Analytics module is a light-weight module that has been designed not to place a heavier load on your website.

Installing your Module on DNN 6:

  1. Login/setup an account at Google Analytics
  2. Login to your DNN Portal as a superuser or host account
  3. Rollover host and go to extensions. Click on the Available Extensions Tab.
  4. Click on the install button next to the Google Analytics module. After the module has been installed, it will appear under the 'Module' drop down list in the Control Panel, under the name "Google Analytics."
  5. On the homepage of your DotNetNuke portal, click 'Add New Module' and add the "Google Analytics" to the page. You will be able to physically see the module in 'Edit' mode, but the module will disappear once logged out of DNN.
  6. To have all pages on your website tracked, click on the 'Settings' control for the Google Analytics module you created, then click on the 'Advanced Settings' section and check the 'Display Module on All Pages'.

This is a great and simple module that allows you to easily check your traffic and look for areas that need some touch ups.

Best Recommended DotNetNuke Hosting

ASPHostPortal.com is the leading provider of Windows hosting and affordable DotNetNuke Hosting. DotNetNuke Hosting from ASPHostPortal.com provides a safe, reliable and performance-driven foundation for your DotNetNuke website. DotNetNuke is the perfect Content Management System for managing and developing your website with one of ASPHostPortal’s Hosting plans. ASPHostPortal has ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2015, .NET 5/ASP.NET 4.5.2, ASP.NET MVC 6.0/5.2, Silverlight 6 and Visual Studio Lightswitch, ASPHostPortal guarantees the highest quality product, top security, and unshakeable reliability, carefully chose high-quality servers, networking, and infrastructure equipment to ensure the utmost reliability.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions


Author Link


Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Tag cloud

Sign in