Sharepoint 2010 modal dialog , apply different style/javascript at runtime from parent page

Sharepoint 2010 have a very good featuree of Modal dialog, Modal dialogs in sharepoint 2010 use the client library SP.UI.ModalDialog and showModalDialog

There come the requirement when you want to find the weather the modal dialog is opened or not and you want to modify certain style in modal dialog  from the parent page, this can be achieved by using  javascript  adding it to master page, where you can identify the window location and can create the javascript or style tag that can be add it to modal dialog while rendering.

Sharepoint 2010 LaunchPickerTreeDialog , Folder picker

There have been many instances when one required to upload the document to the document library in a particular folder. If one have noticed that while  uploading the document to document library we get a browse option which let one to select the folder to  add the document in library.

To achieve this sharepoint uses the LaunchPickerTreeDialog method this can be found in /_layouts/1033/PickerTreeDialog.js file under 14 hive folder.  This is used to display the site content and filter the content based on the WebOnly, listOnly, WebAndLIsts and websAndListFolders.

How to Speed Up Obsolete Android Handsets

How to Speed Up Obsolete Android Handsets
Faster AndroidWe are constantly being bombarded with advertisements for newer and fancier smart phones. The newest models have four CPUs running at frequencies in excess of one gigahertz, have 512 megabytes of memory or more and include enormous screens with a very high display resolution.

These phones don't come cheap, however. A high end model can cost several hundred dollars. When you are stuck with an older Android smart phone, how can you make it keep up with the pack?

Newer phones are more responsive because they include processors that run at higher frequencies, use more advanced architectures, have more available memory and improved graphics acceleration hardware. They need this extra horsepower in order to run multiple processes at once and to handle the demands of the newest software.
 
Just like you would not try to install Windows 7 on a Pentium 3-class computer, you should not attempt to run software on your older Android smart phone that is out of its league. Choosing the right program can make all the difference when it comes to smart phone performance.

– Web Browsers: Android's default web browser is sufficient, but not as fast as you might expect. It performs admirably on newer processors, such as dual-core Snapdragon SOCs. However, on an older processor, such as an 800 MHz ARM11, it may seem a little sluggish.
 
You are likely to see even worse performance in a browser like Dolphin HD or Firefox. Look into lighter-weight browsers, such as Opera Mini. Not only does this browser require less CPU time and memory, it is also designed to compress websites remotely for faster downloading.
This is invaluable when your phone supports older network standards like 2G and 3G, but not 4G.

– Instant Messaging Clients: Avoid memory-intensive IM clients that use a lot of fancy effects. Instead, opt for a simple, straightforward client like IM+.
This program can be downloaded from the Android Market for a fee, but a free version is also available.

– Reduce Background System Load: Turn off background data and updates for most applications. For example, if the Google Play store is continually looking for program updates, it will drag down your system.

– Remove Unneeded Apps: Download the free app "Android Assistant". Use its "Batch Uninstaller" feature to remove all the programs you have no immediate use for. When you are done, move all the programs you can to your SD card. This will free up valuable memory on the phone itself, thus increasing performance.

– Kill Unneeded Processes: Using Android Assistant, terminate all processes you do not need running. You will need to do this periodically as you open and close applications. Android Assistant will also let you kill system processes you have no need for. Use the "Quick Boost" feature to look for memory to free up.
 
– Manage Startup: You have probably noticed that your phone takes a long time to start up. If it's taking longer than two minutes to get your phone to a usable state after you press the power button, it probably needs some tweaking. Use Android Assistant to turn off every program you do not need running at boot.

– Overclock Your Smart Phone: Many smart phones' processors are able to run at a higher speed than they were originally rated for. There are numerous applications available on the Google Play market to perform this function. Look up your phone model and the processor that it uses in order to choose a program that will be compatible. Gradually increase your CPU's speed. Run some benchmarks to test changes in performance as well as stability. If the smart phone crashes, reboot it and choose a lower speed the next time.

Some warnings about overclocking your smart phone:

  • Doing so may void your warranty.
  • Increasing CPU voltage can improve stability at higher speeds. However, too much voltage can damage your phone's processor.
  • Overclocking, especially with increased voltage, can cause overheating and damage.
  • Overclocking reduces battery life.
Follow these tips and your "old" smart phone should be running like new in no time!

About the Author:
This guest post is contributed by Debra Johnson, blogger and editor of full time nanny.
She welcomes your comments at her email id: – jdebra84 @ gmail.com.

5 Alternatives of Adsense for Your Blog

5 Alternatives of Adsense for Your Blog
 
Many webmasters started to use AdSense, but some of them consider it as unsafe or to annoying. It is true that Google can sometimes drive you mad, especially because of their lack of response when it comes to customer services. However, as there are alternative programs to AdSense, and some of them might be more rewarding.

Top 5 available open source e-Commerce CMS

Top 5 available open source e-Commerce CMS:
eCommerce LogoWhen you discuss about online life and PHP development, having an efficient and reliable, Content Management System is becoming more of a need than an option today. We all make use of content management systems for managing various contents online like news articles, blogs, manuals, sales guides and marketing brochures, blogging, building and maintaining websites, selling and marketing products online, etc.
Most of them are based on the PHP language and many use ASP.Net to do the job. CMS’s like WordPress, Joomla, etc. can also be used effectively for eCommerce purposes as there are excellent Plugins for you to customise to your requirements.

For creating the MySQL database, at least a basic knowledge of web hosting is a must. Listed below are most widely used 5 open source eCommerce Content Management Systems which should help you in choosing the best one for you:

Magento:
Magento LogoMagento is one of the most innovative and fastest developing, flexible content management systems which effectively manages and bridges the traffic between design and online sales. It comes with a great load of features. It has a great feature-packed admin panel with escalating collection of extensions which will truly help your site. With its flexibility, you can easily manage multiple websites and more than 50 payment gateways. It is available in various editions, but if you are not technically very sound at PHP development, the free downloadable ‘Community’ edition will be more suitable for you.

PrestaShop LogoPrestaShop:
Prestashop yet again is one of the most preferred open source eCommerce platforms for businesses which carry a range of features like the complete command of your inventory, orders, shipping and tracking, which help you manage your business directly. You can even manage and edit your products and images with the WYSIWYG editing tool. You can also customise your online store and send and receive payments to your PayPal or bank account.

OpenCart LogoOpenCart:
OpenCart is a brilliant choice for those who are looking to get started with online selling smoothly and fast using different extensions. The admin area has a simplified user interface for integrating and fine tuning various processes of your site. It allows you total control of the delivery process and you can even use coupon codes for your existing customer database. It allows the small and medium businesses full flexibility and complete control of the tools to use and provides kind of an ‘out of the box’ solution you might be looking for.

osCommerce LogoosCommerce:
osCommerce is one of the most used content management systems which currently powers more than 10,000 sites across the globe. The system uses the PHP and MySQL technology and all the features can easily be configured and enabled in the admin panel during the time of default installation. It supports unlimited number of products and different categories. It also extends multicurrency and multiple payment options by setting prices in different currencies in the admin panel and also supports shippable and downloadable products.

Zen Cart:
Zencart LogoZen Cart is a greatly accessible shopping cart which was branched out from osCommerce. It has extra architectural augmentations with supplementary features. It includes features like newsletter manager, multiple sales and quantity discounts, multiple display modes, etc. One of the most significant features is its gift certificate module which enables the users to generate, dispatch and even control digital coupons for various offers.
Hope, this will help you choose your ideal open source eCommerce platform for your PHP development projects.

Author Bio:
Kristina shares some open source eCommerce cms. She discusses about your ideal open source eCommerce platform for your PHP development projects, or you can take support from PHP development India Company.

eCommerce Logo Image source : http://www.teratone.com/

Brief Analysis on Google Search Engine

There are lots of Search Engines are there in the market. But Google was and is the best Search Engine over the internet till date. It has more than 80% of market share in US over other search engines.
Microsoft launched Bing, but it is still at bottom 5 list of top search engines. I personally never liked Bing too. Once upon a time Lycos was very famous but Google just killed it!
Yahoo Search Engine also plays an important role to make our search easier by serving better results. But then also it just covers 6% approx. of total queries search over the internet amongst all search engines. Baidu from China is now becoming popular too, because it's widely used in China.

How to Create Eye-Catching Brochure to Impress Your Clients?

Hello, everyone. If you are still presenting your company information and holiday discount news via PDF files, then there is a great possibility that your clients have become bored of seeing the same things time by time. How to catch the first sight of your potential clients with a unforgettable impression, how to make your company brochure outstanding from your competitors' presentations? If you are racking brain about such problems, then the following top 5 tips will drag you out from frustrations.

How to Drive More People to Share and Subscribe Your Publications

If you are aiming to creating some special digital publications for online distribution to bring more visits to your web, or if you want to show your products in a unique way to attract potential customers, then you must make your publications worth-sharing, so that it can drive your readers to subscribe and share it with more people to increase its exposure. Stay here for a moment, you may need the below tips about how to create a stunning yet unique e-publications.

How to Uninstall Microsoft Office 2007 easily

Microsoft Office 2007How to Uninstall Microsoft Office 2007
 
As new software and programmes are constantly being updated, persons are subsequently being required to change out old software and programme in order to keep their computers updated with those which are relevant.

One such programme is that of Microsoft Office. In order to install and begin using a newer more updated version of Microsoft Office, as with any other software or programme, it is necessary to remove the old version first. As the old adage asserts, “out with the old and in with the new”.

It is not possible to simply try and delete the old programme however. Instead, it is necessary to go through a process to uninstall the old programme. As complicated as it may sound on the surface, uninstalling a programme is not a very difficult process and a professional is not needed for the same. Instead, any novice can move through the entire process of uninstalling the programme within minutes by following a few simple steps.
 

Instructions

1.   Turn on your computer and wait for it to boot. After computer has been successfully booted, go to your start menu at the bottom left hand corner of your screen. Some computers will simply have an icon to represent this feature.

2.   After clicking Start, look to the right of the pop-up menu for the Control Panel option. When found, select it. After the Control Panel is visible select the Programmes option from the Control Panel.

3.   After selecting the programmes option, users should select the Programmes and Features option. Selecting this option will allow a user to see all the programmes installed on his or her computer and from this window. Persons can modify and or delete programmes from this window.

4.   After opening the Programmes and Features window, users should now go ahead and scroll through the list of programmes on the screen until they have come across the words “Microsoft Office Enterprise” followed by the version of Microsoft Office that may have been installed on the computer.

For example if the current version installed on the computer is Microsoft Office 2007, then users should scroll until they come across the title “Microsoft Office Enterprise 2007″. Other Microsoft programmes may appear in the list but one select Microsoft Office Enterprise as it represents the entire Microsoft Office Suite.

5.  When found users should highlight the programme and look for the “Uninstall Programme” button (this is usually found at the top of the window) and select it. The process of uninstalling Microsoft Office at this point should have begun and will continue until the process is completed.

Some computers have faster processors than others and so may or may not take a long or short time to complete the process of uninstalling the programme. This process generally however takes a few minutes. Irrespective of how long the programme seems to be taking to be uninstalled allow the process to run its course. The computer will prompt users whenever the process is completed.

6.  Once the programme is completely uninstalled as indicated by the screen prompt one received at the end of the process, go ahead and insert the new Microsoft Office disk to install the new or updated version. Microsoft Office installation CDs will begin running immediately upon being inserted into the computer and usually needs no special prompting.
 
Tips And Warnings..
Computer Programmes are generally uninstalled from Control Panel using a similar method to the one prescribed above. Sometimes however users are not able to use the Control panel to delete programmes such as Microsoft Office and so may have to use an alternate method in order to rectify this problem. Microsoft provides such support on its website.
 
About Author:
Joy is a technical guy and his passion is to write on technical things in simple and informative type. He writes those people who want to basic and easy to understand. For that he writes on how to uninstalled Microsoft Office, how to uninstall Windows Live

Simple steps to verify email id existence

Email id exists or notOur team always face email existence problem when they try to:

  • Verify the  registered account holder’s email id or
  • While sending mail to anonymous user who posted comment with some fake email id or
  • To check, if that email address is still valid (ex: 2 years back emailed was valid but not now)

Well it’s not possible to know 100% whether given e-mail address exists in real or not but it will be handy in majority of the cases. You can do it manually also if you are in Linux box using host or nslookup and telnet command. I would prefer host command for this purpose.

How it works:

  • Check if domain name exists or not using ping command
  • If domain name exists then check if it has any mail handlers i.e. mx records in DNS. Use host or nslookup command for it
  • If mx record exists for that domain name use that mail handler using telnet command
  • Use telnet and smtp command to verify user email id. If you get 250/Ok for user email id. You may assume that it exists.

Here many things came into the picture while testing various mail ids from various mail handlers. I will discuss it under “possible ways of failures”

Steps to check the email existence manually

1.       Get the mail id to verify (we can get domain-name from this format to use it in our next step userid@domain-name . For ex:admin@aliencoders.org)

2.       Either use nslookup command or host command to get mail server address (Lists of mx records from DNS)

a.       Using nslookup:
nslookup –type=mx domain-name

b.      Using host :
host –t mx domain-name

3.       Get the least digital value’s mx record to use it in telnet

a.       telnet mxrecord port-no i.e. telnet mail.aliencoders.org 25

b.      Once connected use SMTP commands to know if email id exists or not. It will return 250 as a return code with OK or Accepted. Depending upon mail server configuration and Linux flavors too.

Let’s see it practically with all combination of commands, inputs and outputs 😀

Output from nslookup (it will show many more things which I have not shown here)

$ nslookup -type=mx gmail.com
Non-authoritative answer:
gmail.com       mail exchanger = 20 alt2.gmail-smtp-in.l.google.com.
gmail.com       mail exchanger = 30 alt3.gmail-smtp-in.l.google.com.
gmail.com       mail exchanger = 40 alt4.gmail-smtp-in.l.google.com.
gmail.com       mail exchanger = 5 gmail-smtp-in-v4v6.l.google.com.
gmail.com       mail exchanger = 10 alt1.gmail-smtp-in.l.google.com.

Output from host command ( I prefer this over nslookup )

$ host -t mx gmail.com
gmail.com mail is handled by 30 alt3.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 40 alt4.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 5 gmail-smtp-in-v4v6.l.google.com.
gmail.com mail is handled by 10 alt1.gmail-smtp-in.l.google.com.
gmail.com mail is handled by 20 alt2.gmail-smtp-in.l.google.com.

Get the value which has lowest ranked digit. In this case it is 5 so take gmail-smtp-in-v4v6.l.google.com for our purpose
Either use host or nslookup for the first stage.

Telnet outputs:

Step 1

telnet gmail-smtp-in-v4v6.l.google.com 25
Trying 173.194.77.27…
Connected to gmail-smtp-in-v4v6.l.google.com.
Escape character is '^]'.
220 mx.google.com ESMTP hk4si16050652obc.168

Step 2 (type helo, if it didn’t work try helo hi, if it didn’t work too try ehlo then )

helo
250 mx.google.com at your service

Step 3 (type any valid email id. Invalid email id will say ok but after rcpt to it will throw an error and don’t skip this step)

mail from: <sanjeev@aliencoders.org>
250 2.1.0 OK hk4si16050652obc.168

Step 4 (You need to provide email which needs to be verified.  Ok means it may exists. Not 1005 guaranteed on existence but we can infer that this email id may work)

rcpt to: <jassics@gmail.com>
250 2.1.5 OK hk4si16050652obc.168

Telnet outputs on failure (Various reasons are there)

1.       Network is unreachable. (sometimes it is reachable form one host but not from others)

telnet gmail-smtp-in-v4v6.l.google.com 25
Trying 74.125.127.26…

telnet: connect to address 74.125.127.26: Connection timed out
Trying 2001:4860:8005::1b…

telnet: connect to address 2001:4860:8005::1b: Network is unreachable

telnet: Unable to connect to remote host: Network is unreachable

2.       Error at mail from:<mail-id> :

  • Don’t forget to use <> while typing email id. jassics@gmail.com is wrong. jassics@gmail.com is correct
  • Never use space before or  after mail id
  • Don’t use single quote or double quote while typing email id

3.       If email id exists but it doesn’t show up 250/ok then below reasons may justify this:

  • Server response delayed
  • Email address black listed
  • Email does not exist  (even if it existed 2 years back )

Steps to check email existence using Perl

  1. Get Mail::CheckUser module from CPAN
  2. Install it either manually or using cpan command
  3. Write simple script using this module and check the output

Good thing with this script is:

  • You don’t need to use any command like host, nslookup telnet and don’t need to remember all those SMTP commands.
  • Just pass the email id rest thing it will do.
  • Internally it checks:
  • It checks the syntax of an email address.   
  • It checks if there any MX records or A records for the domain part of the email address.
  • It tries to connect to an email server directly via SMTP to check if mailbox is valid. It can detect bad mailboxes in many cases.

Here is the fully working Perl script

Why still this trick doesn’t assure 100% proof that email id exists or not?

There can be many reasons for not trusting on this script or the above said manual steps. Best way is to send an email to the given email id. If it bounced back, means it doesn’t exist or can’t be delivered. (I chat with a person in gtalk but can’t send an email to that person. Strange isn’t it).

  • There may be server delay
  • Email id may be black listed
  • It may say it exists if it has to bypass proxies
  • Final output will depend upon server settings which may be using  an algorithm to stop spammer like stuffs
  • For instance SMTP defines the VRFY command for this purpose but gmail doesn’t support it.
  • Never send bulk emails, your mail id will be flagged as a spammers by many hosting companies
  • You may not get proper result because network is unreachable or down by that time

Note: This was just for educational purpose and found helpful for web masters or admins. Don’t use it as spam stuffs, you IP address and your mail id will be blacklisted. Like admin@aliencoders.org has been blacklisted from various mail servers.