Recent Comments
  1. Re: Onclick event only accessible by a user with edit rights

    Dude, I love you! I just wasted 2 days trying to find the problem. I didn't even notice in the begin...

    --Alex

Portal for Flex

Just a mark.

A New Way to Look at Portals:http://flex.sys-con.com/node/429347

Heaven snow this Christmas – DNN Snow Effect

Snow Effect on DNN

Assemblies loading in .NET

How the Runtime Locates Assemblies

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

Assembly Binding Log Viewer (Fuslogvw.exe)

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

Best Practices for Assembly Loading

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

How to localize a DataGridView in DotNetNuke

Under DNN 4.5, there is no function provided by Localization class to localize a DataGridView. After DNN 4.5,  a new LocalizeGridView function has been added.

Rotating transparent Text PNG files using Flash Image Rotator

You can use Flash Image Rotator module as a AD bar and rotate AD words on a fixed background image. If you make some JPEG files and rotate these files in Image Rotator, you will find image change transition will effect the background image too and the final result is not perfect. One solution is separate the AD words as text PNG files and rotate these files on a fixed background image.

How to set DotNetNuke SMTP

There are many details of which we need to take care when we set the DNN SMTP. Using the right settings combination in SMTP is very important.

Common SMTP setting

For most E-mail account, we need to provide SMTP Authentication information when we try to use SMTP server,so for most E-mail account, you should choose "Basic" under “SMTP Authentication:” and fill the "SMTP Username" and "SMTP Password"

How to add module's source package to DNN development environment

Download the source package

You should get the source package of the module you want to modify. For DNN official module, source package shipped with PA package in the sometime, for third part module, if it's open source, you can find a source package on it's website.

For example, DNN official Announcement module:

Customize the login interface of DNN

Sometimes, we want to customize the login interface of DNN,

One quick way is modifying the ascx file of login control. In DNN 4.x+, you can find the login control at Admin/Authenticaion/Login.ascx

But when you open the Login.ascx, you will find you can not see the User Name and Login field, what’s the problem?

For supporting multiple authentication way, DNN 4.x+ redesigned the login control. Administrator can config DNN use many authentication provider, so User Name and Password field will be dynamic injected, in Admin/Authenticaion/Login.ascx, we can find those code:

How to change the default language of DNN 4.x and DNN 5.x

For DNN 4.x

Step one:

"Admin->Site Settings -> Languages"

Onclick event only accessible by a user with edit rights

I having the following problem with all of my custom modules. When I add a linkbutton or button in my custom module "View" page the onclick event of this button is only accessible by a user with edit rights on the module. I need for Every user (unregistered) to be able to click the button.

Even in a simple Module that does not even have an Edit page and with no settings needed. Just a view page that does one simple thing the DNN wont let you click any custom buttons if the user does not have edit rights

Pages: Prev12Return Top