Advertisements

Thursday, November 14, 2013

// // Leave a Comment

Custom WordPress Admin Style

Hello,

If you are a blogger, you must be using WordPress. WordPress is a blogging platform which is widely used a CMS and most used CMS by worlds developers which is downloaded by uncountable times. Latest version of WordPress is 3.7 which is release on Oct 24 2013. As on 28 Oct 11.50 PM IST, it has been downloaded 1.6 Million times.

Definitely, I am not here to define or describe WordPress. We all have used WordPress and its Admin Interface also. Which allows us to change Themes for WordPress created website and many such functionality. But we are going to change Administration Theme without any Theme. We will use a simple Plugin created by the creator of WordPress Matt Mullenberg.

By default It has Admin Theme like below snapshot.

Now search for a plugin in WordPress plugin directory named MP6. For your convenience link for MP6 plugin is http://wordpress.org/plugins/mp6/.
Download and Install MP6 in your wordpress installation. How above page looked after installing MP6 is below.
 Admin Dashboard
Add  New Post 
I just found it very nice and wanted to share with you. I am not affiliated with WordPress in anyway commercially. However I use it and love its feature as Blog engine.

You can add me on +John Bhatt and follow our page at P.Yar.B Complex at Google+

Tags: WordPress, personalize, admin, configuration, plugin, admin-theme 
Read More

Wednesday, November 13, 2013

// // Leave a Comment

Pagination in GridView

Hi,
Simply we will learn here how to Apply Pagination in ASP.NET GridView Control.
Directly to Code:
In ASPX page, enable paging in GridView.

<asp:GridView ID="gvAllPOD" runat="server" AutoGenerateColumns="false" 
AlternatingRowStyle-BackColor="LightSeaGreen" HeaderStyle-Font-Bold="true" 
AllowPaging="true" PageSize="20" onpageindexchanging="gvAllPOD_PageIndexChanging">

In Above Code, we Automatically Generated Columns from DataSource Then AllowPaging = True, so that GridView Data can be Paged, Also We defined PageSize that what amount of Records whould display in Page.
To Apply Pagination, RIght Click in GridView and Choose Properties > Events. Choose PageIndexChanged event and Place Following code in ASPX.CS Page.
protected void gvAllPOD_PageIndexChanging(object sender, GridViewPageEventArgs e)
    {
        gvAllPOD.PageIndex = e.NewPageIndex;
        BindGVAllPOD();
    }

Now Check on your Page. What is Happening on Clicking Page Number. You can comment if some queries on above code.
John Bhatt
Glad to Know, Free to Share

Tags: Pagination, Paging, GridView, ASP.NET, Disply data in Page, Tutorial bt John Bhatt
Read More

Thursday, October 31, 2013

// // Leave a Comment

Got Google+ Custom URL

Hi,

Today morning, I was checking my mailbox. There was a mail in Junk Folder which is from Google+ Team.

I checked the sender of mail and it was really from Google+ team. Then what, I moved mail to Inbox and clicked the Get URL button. The mail preview is attached.

Now my profile is at https://plus.google.com/+JohnBhatt


Thank you very much to Google Plus Custom URL team for such a wonderful Diwali Gift. 

By the way, you can also apply for Custom URL for your Google+ profile and if passed, may get one.

Keep visiting, You can write your Feedback to me or drop a comment here. 



Read More

Monday, October 28, 2013

// // Leave a Comment

Change Login Screen Background in Windows 7

Hi,

Most of you are working with your computer and must have Windows 7 as main operating system. Windows 7 is the most stable and complete Operating system from Microsoft after Windows XP. There are many themes and background images available for Windows 7 in Microsoft personalization page.

As you have seen many Users using Windows 8 and their custom Lock Screen backgrounds. Means when they start windows they have a nice and custom background to Windows Login screen. However, Login Screen is same for all but the Background Image can be changed as per users choice.

But we have Windows 7 and I think this to do with Windows 7 also. In this post, we are going to change the background image of Login Screen of Windows 7 from default to any of your desired one. You can simply edit the same wallpaper and write some text there.

Lets start. Here we have two methods to do. One is simple and done with graphical method. Less chances of Damage to your OS. I will discuss the Manual method to change the Registry in another post sometime later.

Be-ware, you are doing this entirely on your own risk. In case anything wrong value changed or in case of misshapen, you will face entire loss and there will not be any fault of mine. I am providing tested and checked procedure and codes with screenshots.

Here is your normal Lock Screen (Login Screen in windows 7).

Download this Registry File: Custom background in Windows 7

Now extract the Zip file and open Registry file. You will see the screen like below.


Click Yes on User Account Control prompt. Next prompt will be like this.


Click Yes. This will modify value of a key in Registry of your Windows. You will see confirmation like below screen.


Now we can start working on our task. Lets get back to Windows Explorer and navigate to this address.


  • %windir%\system32\oobe
  • Create a New folder and rename to info.
  • Open info (newly created folder), Create a New Folder and rename to backgrounds.
  • Now paste/move your favourite image to newly created folder backgrounds.
  • Rename the wallpaper file to backgroundDefault.jpg.
Folder structure and names as same in above or in Screenshot.


Remember, Background image must be in JPEG format. Other formats will not work. 
Now have a look at your newly changed Background of Login Screen.

Lock your screen or Reboot your computer to see the changes. You might not see the background if you have single user account in Operating system without password and fast hardware resources. Press Windows+L key to go to Lock screen and see the changes. Below is mine.

Enjoy. 

Don't forget to subscribe to our posts and write comments. Bitter, funny or sweet, we will love them all.
+John Bhatt 
Read More