Archive for March, 2008

God protects us from all accidents

Monday, March 31st, 2008

As I was getting ready to go to work today, my cell phone rang. It was my wife. I feared she might have got into any accident. Yes, that was true. An unexpected snow storm came yesterday night was to blame. In the morning, the snow became black ice after the temperature dropped.

I rushed to the scene. I was more concerned about her protection. God protected her and the car. I met a gentleman standing by her consoling her. He helped her car to move from the traffic and drove back the car to our home. I’ve heard later on the television that there were some 200 accidents in our state today.

A prayer we pray before any travel that we make is asking God to protect us from any accident. We ask God to send his angels to protect us. I thank God for hearing our prayers.

“For he will command his angels concerning you to guard you in all your ways;” Psalm 91:11

Jesus showed his love

Friday, March 21st, 2008

My wife was sick yesterday. I was not at home at that time. Our Indian parrot Kiwi found out that she was sick. She came down from her cage and gave my wife company the whole time by sitting her side until I came home. Both of us were moved by Kiwi’s love and concern for her because she has not done anything like that before.Today is Good Friday. We remember Jesus’ sacrifice on the cross today. What a love he showed us by dying on the cross for the sins of the world.

He was despised and rejected by men;
a man of sorrows, and acquainted with grief;
and as one from whom men hide their faces
He was despised, and we esteemed Him not.
Surely He has borne our griefs
and carried our sorrows;
yet we esteemed Him stricken,
smitten by God, and afflicted.
But He was wounded for our transgressions;
He was crushed for our iniquities;
upon Him was the chastisement that brought us peace,
and with His stripes we are healed.
All we like sheep have gone astray;
we have turned—every one—to his own way;
and the LORD has laid on Him
the iniquity of us all.

-Isaiah 53:3-6

Customizing Login, Register & Profile pages of DotNetNuke (dot net nuke dnn)

Sunday, March 2nd, 2008

The skin of login, register and user profile pages doesn’t adhere to the skin of other pages of the dotnetnuke.  The dotnetnuke developers have found it hard to customize the login, register and profile pages of a portal, and sometimes crashing the whole site if not careful. If the website, that has built on dotnetnuke open source technology, has multiple portals, it is required to customize the skins of login, register and profile pages on different portals under the same host.

The 4.8 version of DotNetNuke makes customization of login and register pages little easy. This version supports two modules Account Login and User Account, and you are required to use those to achieve that you are looking for.

Steps to create a new login page:

1. Login to the dotnetnuke site with the host account.
2. Create a new page through the control panel. Call the page like User Login.
3. Add the Account Login module to that page.
4. You can customize the container skin of the module through the settings menu. You can see this menu at the top left corner of the module that you have just added.
5. Now go to the main site menu. Click the host->portals menu. You will see all the portals on that page. Click the edit image of the corresponding portal.
6. Expand the advanced settings on that page. Go to the page management section and set the Login Page to the page that you have just created in the above steps.

Steps to create a new user account page:

1. Login to the dotnetnuke site with the host account.
2. Create a new page through the control panel. Call the page like User Profile.
3. Add the User Account module to that page.
4. You can customize the container skin of the module through the settings menu. You can see this menu at the top left corner of the module that you have just added.
5. Now go to the main site menu. Click the host->portals menu. You will see all the portals on that page. Click the edit image of the corresponding portal.
6. Expand the advanced settings on that page. Go to the page management section and set the User Page to the page that you have just created in the above steps.

After you follow the above steps, the default pages of login and user profile will be re-directed to the new ones that you have just created. I advise you to write down the urls of the default login and profile pages that were available before you created the new pages. In case of a problem, you can use the default login pages to login to the site.

Now you have got login, register and profile pages that adhere to the skin of the rest of the site. The only exception is that the forgot password link will take you to a page which you can’t customize. I will write about customizing the forgot password page in a different blog. You can see the customized page that I’ve made at http://www.tabletennisstore.us/TableTennisStoreLogin/tabid/179/Default.aspx