Feeds:
Posts
Comments

When you develop DNN Skin, always keep in mind you need to have put <%= SkinPath %> for your CSS and Images in your DNN skin development

for instance,

Put an image into the Skin, same directory with Skin ACSX but with a sub folder to put all skin’s images

<img src=”<%= SkinPath %>images/button_calendar.gif” border=”0″ alt=”Start Now” />

 Put a CSS or JS file into Skin

 

<

link rel=”stylesheet” type=”text/css” href=”<%= SkinPath %>skin.css” /><

script src=”<%= SkinPath %>runactivecontent.js”></script>

DNN Module Localization

Thats 2 ways i found for DNN Module Localization,

first is using ResourceKey without involve Code Behind in ACSX, example code

<asp:Label Id=”lblPageTitle” runat=”server” ResourceKey=”lblPageTitle”/>

Another way is using Code Behind, sample code is

ASCX page,

<asp:Label Id=”lblPageTitle” runat=”server”/>

Code Behind,

lblPageTitle.Text =

Localization.GetString(“lblPageTitle”, this.LocalResourceFile); 

Seem like another DNN developer already created the C# compiled module Starter Kit for DNN4.x, this is very useful for those who want to develop the DNN module without open the DotNetNuke Project.

Here the link for you to download the starter kit.

That’s many ways to develop DotNetNuke module. You can install DotNetNuke template for Visual Studio 2005, launch the Visual Studio and then open the DotNetNuke solution to start develop in desktopmodule directory and App_Code directory.

That is another way to develop the DotNetNuke Module without open the DotNetNuke solution, but you need to install the Visual Studio 2005 web application project.

DotNetNuke Scheduler

If you wish to have a backend process inside DotNetNuke, check out this article

some code example you can view it here

Well, last week I m face a serious problem of session timeout when the user not do anything for 30 mins..

I m tried to change the session value in web.config, IIS setting to increase the session but still not luck!

End up, I choose to do it with the HTML Refresh Tag, created a html page, and then modified one of the page (acsx), put the iframe to make it refresh without refresh the entire webpage. After few days tested, still NOT WORKING.

I moved the iframe from acsx to Default.ASPX (the DotNetNuke’s default page) now. I Hope it work for now, i m still testing on it, though. <- cant work as well :(

Update – working

I use javascript to call the server every 100 seconds with combination of “client callback without postback (link provided below)”

window.setInterval(“initServerTimeRequest(1);”, 100000);

 

http://msdn.microsoft.com/en-us/library/ms178208.aspx

If you have a hidden page, but when user search, the result will still display, to avoid the hidden page display in search result, you can remove the view permission for all users, you can uncheck the “all users” from admin -> page -> your page.

Yeah, I have the nightmare to deploy DotNetNuke application today, I spent almost 3 hours to figure out why IIS keep giving me “Invalid URI: The hostname could not be parsed” error message, I m checked IIS setting, database connection, database uid and pwd, I check the folder security, remove/create the website and virtual directory etc etc but still can not find the solution.

I try to check out the PortalAlias table, finally the webpage loaded with correct address but no content display! I m restart the IIS but still cant solve the problem

I have my last try, which is point it to different database, yes, it worked, then I pointed it back to my database, and Yes it work FINALLY..

So the moral of story, change something value in web.config, perhaps it will save up your time.

I m not sure this is the solution, but it worked for me. 

If you not manage to find your company website login page (not sso integrated), but you wish to login, you may try to add “?ctl=login” behind of your company address and then hit enter, DNN will redirect you to Company Login page.

example: www.abc.com/?ctl=login

Well, I m looking around for an article to upgrade existing DNN module, and I found this, It covered how to package your DNN module which you want to protect your source code by releasing the DLL only.

In addition, it also covered “upgrade your DNN module” too, which I m looking for.

Enjoy Reading. Here the LINK

« Newer Posts - Older Posts »