Conditional Tags for your blogger to make more responsive

There are a few tricks to hide elements of both the blog on the home page / homepage, posts, static pages or by adding a conditional tag code in each element you want to hide.
Example
<b:if cond=data:blog.pageType != "static_page">
..... The contents of the content to be wrapped conditional tags (Content will be hidden in the static pages) .....
</b:if>Not only hides an element but it could be to display only certain elements in the page that you specify.
Example
<b:if cond=data:blog.url == data:blog.homepageUrl>
..... The contents of the content to be wrapped in the conditional tag (content will only appear on the home page) .....
</b:if>1. Widget displays only on the home page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.url == data:blog.homepageUrl>
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
2. View the Widgets only on the post page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.pageType == "item">
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
3. View the Widgets only on certain page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.url == "Your URL">
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
Change "Your URL" to your page url. 4. Hiding the Widgets only on certain page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.url != "Your URL">
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
Change "Your URL" to your page url.5. Display Widgets only on a static page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.pageType == "static_page">
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
6. Hide Widgets on a static page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.pageType != "static_page">
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
7. Widgets display only on the archive page:
<b:widget id=HTML1 locked=false title=Recent Posts type=HTML>
<b:includable id=main>
<b:if cond=data:blog.pageType == "archive">
<!-- only display title if its non-empty -->
<b:if cond=data:title != "">
<h2 class=title><data:title/></h2>
</b:if>
<div class=widget-content>
<data:content/>
</div>
<b:include name=quickedit/>
</b:if>
</b:includable>
</b:widget>
Dell™ OptiPlex™ More System Solving Problems Guide
Diagnostic Lights
To help you troubleshoot a problem, your computer has four lights labeled "A," "B," "C," and "D" on the back panel. The lights can be yellow or green. When the computer starts normally, the patterns or codes on the lights change as the boot process completes. If the POST portion of system boot completes successfully, all four lights display solid green. If the computer malfunctions during the POST process, the pattern displayed on the LEDs may help identify where in the process the computer halted.
| CAUTION: Before you begin any of the procedures in this section, follow the steps in "Safety Instructions." |
| Light Pattern |
| Problem Description | Suggested Resolution |
|---|---|---|---|
|
| off | The computer is in a normal off condition or a possible pre-BIOS failure has occurred. | Verify that the computer is plugged into a working electrical outlet and that you have pressed the power button. |
|
| green | A possible BIOS failure has occurred; the computer is in the recovery mode. | Run the BIOS Recovery utility, wait for recovery completion, and then restart the computer. |
|
| yellow | A possible microprocessor failure has occurred. | Reinstall the microprocessor and restart the computer. |
|
| green | Memory modules are detected, but a memory failure has occurred. |
|
|
| yellow | A possible expansion card failure has occurred. |
|
|
| green | A possible video card failure has occurred. |
|
| yellow | A possible floppy or hard drive failure has occurred. | Reseat all power and data cables and restart the computer. |
| green | A possible USB failure has occurred. | Reinstall all USB devices, check cable connections, and then restart the computer. |
|
| yellow | No memory modules are detected. |
|
|
| yellow | Memory modules are detected, but a memory configuration or compatibility error exists. |
|
|
| yellow | Other failure has occurred. |
|
| green | The computer is in a normal operating condition after POST. | None. |
Beep Codes
Your computer might emit a series of beeps during start-up if the monitor cannot display errors or problems. This series of beeps, called a beep code, identifies a problem. One possible beep code (code 1-3-1) consists of one beep, a burst of three beeps, and then one beep. This beep code tells you that the computer encountered a memory problem.
If your computer beeps during start-up:
- Write down the beep code on the Diagnostics Checklist.
- Run the Dell Diagnostics to identify a more serious cause.
- Contact Dell for technical assistance.
| Code | Cause |
|---|---|
1-1-2 | Microprocessor register failure |
1-1-3 | NVRAM |
1-1-4 | ROM BIOS checksum failure |
1-2-1 | Programmable interval timer |
1-2-2 | DMA initialization failure |
1-2-3 | DMA page register read/write failure |
1-3 | Video Memory Test failure |
1-3-1 through 2-4-4 | Memory not being properly identified or used |
3-1-1 | Slave DMA register failure |
3-1-2 | Master DMA register failure |
3-1-3 | Master interrupt mask register failure |
3-1-4 | Slave interrupt mask register failure |
3-2-2 | Interrupt vector loading failure |
3-2-4 | Keyboard Controller Test failure |
3-3-1 | NVRAM power loss |
3-3-2 | NVRAM configuration |
3-3-4 | Video Memory Test failure |
3-4-1 | Screen initialization failure |
3-4-2 | Screen retrace failure |
3-4-3 | Search for video ROM failure |
4-2-1 | No time tick |
4-2-2 | Shutdown failure |
4-2-3 | Gate A20 failure |
4-2-4 | Unexpected interrupt in protected mode |
4-3-1 | Memory failure above address 0FFFFh |
4-3-3 | Timer-chip counter 2 failure |
4-3-4 | Time-of-day clock stopped |
4-4-1 | Serial or parallel port test failure |
4-4-2 | Failure to decompress code to shadowed memory |
4-4-3 | Math-coprocessor test failure |
4-4-4 | Cache test failure |
System Lights
Located on the front of the computer, these lights can indicate a computer problem.
| Power Light | Problem Description | Suggested Resolution |
|---|---|---|
Solid green | Power is on, and the computer is operating normally. | Normal operating condition. If your computer is experiencing a problem, check the back-panel diagnostics lights for more specific information (see Diagnostic Lights"). |
Blinking green | The computer is in the suspended state (Microsoft® Windows® 2000 and Windows XP). | Press the power button, move the mouse, or press a key on the keyboard to wake the computer. |
Solid yellow | A device on the system board may be faulty or incorrectly installed. | See "Power Problems." If the problem persists, contact Dell for technical assistance. |
Blinking yellow | A power supply or system board failure may have occurred. | See "Power Problems." If the problem persists, contact Dell for technical assistance. |
Solid green and a beep code during POST | A problem was detected while the BIOS was executing. | See "Beep Codes" for instructions on diagnosing the beep code. Also, check the diagnostic lights to see if the specific problem is identified. |
Solid green power light and no beep code and no video during POST | The monitor or the graphics card may be faulty or incorrectly installed. | Check the diagnostic lights to see if the specific problem is identified. See "Video and Monitor Problems." |
Solid green power light and no beep code but the computer locks up during POST | An integrated system board device may be faulty. | Check the diagnostic lights to see if the specific problem is identified. If the problem is not identified, contact Dell for technical assistance. |
Battery Problems
Fill out the Diagnostics Checklist as you complete these checks.
| CAUTION: There is a danger of a new battery exploding if it is incorrectly installed. Replace the battery only with the same or equivalent type recommended by the manufacturer. Discard used batteries according to the manufacturers instructions. |
| CAUTION: Before you begin any of the procedures in this section, follow the steps in "Safety Instructions." |
| Replace the battery If you have to repeatedly reset time and date information after turning on the computer, or if an incorrect time or date displays during start-up, replace the battery (see "Replacing the Battery"). If the battery still does not work properly, contact Dell. |
Card Problems
Fill out the Diagnostics Checklist as you complete these checks.
| CAUTION: Before you begin any of the procedures in this section, follow the steps in "Safety Instructions." |
| Check the card seating and cable
For instructions on which cables should be attached to specific connectors on a card, see the cards documentation.
|
| Test the video card
If your primary hard drive is connected to a drive controller card and not to one of the system board IDE connectors, leave the drive controller card installed in the computer.
If any of the tests fail, contact Dell. |
| Test the cards
If any of the diagnostics tests fail, the card you just reinstalled is faulty and needs to be replaced.
If you have reinstalled all of the cards and the problem is not resolved, contact Dell. |
Drive Problems
Fill out the Diagnostics Checklist as you complete these checks.
Floppy drive problems
| Test the drive
|
| Ensure that the disk is not full or write-protected Ensure that the disk has available space and that it is not write-protected (locked). See the following figure. |
| Test the floppy drive light MS-DOS® Insert a floppy disk, type dir a: at the DOS prompt, and then press Microsoft Windows operating systems Insert a floppy disk, click the Start button, click My Computer, and then double-click the floppy drive icon. |
| NOTICE: Do not attempt to clean drive heads with a swab. You may accidentally misalign the heads, which can render the drive inoperable. |
| Clean the drive Use a commercially available cleaning kit. |
| CAUTION: Before you begin any of the procedures in this section, follow the steps in "Safety Instructions." |
| Remove and reinstall the floppy drive See the "Drives" section pertinent to your computer chassis. |
CD drive problems
| Adjust the Windows volume control Click the speaker icon in the lower-right corner of your screen.
|
| Test the drive with another CD Insert another CD to eliminate the possibility that the original CD is defective. |
| Ensure that Windows recognizes the drive Click the Start button and click My Computer. If the CD drive is not listed, perform a full scan with your antivirus software to check for and remove viruses. Viruses can sometimes prevent Windows from recognizing the drive. |
| Clean the disc Use a commercially available cleaning kit. |
Problems writing to a CD-RW drive
| Close other programs The CD-RW drive must receive a steady stream of data when writing. If the stream is interrupted, an error occurs. Try closing all programs before writing to the CD-RW. |
DVD drive problems
| NOTE: Because of different regions worldwide and different disc formats, not all DVD titles work in all DVD drives. |
| Test the drive with another DVD Insert another DVD to eliminate the possibility that the original DVD is defective. |
| Ensure that Windows recognizes the drive Click the Start button and click My Computer. If the DVD drive is not listed, perform a full scan with your antivirus software to check for and remove viruses. Viruses can sometimes prevent Windows from recognizing the drive. |
| Clean the disc Use a commercially available cleaning kit. |
| Check for interrupt request conflicts See "Resolving Software and Hardware Incompatibilities." |
Hard drive problems
| Check the cable connections
If the primary hard drive that contains the operating system does not boot, files in the operating system might be corrupt. For more information, see your operating system documentation. |
| Run the Hard-Drive Diagnostics Utility The Dell IDE Hard-Drive Diagnostics is a utility that tests the hard drive to troubleshoot or confirm a hard-drive failure.
|
| Test the hard drive Windows XP and Windows 2000 Run the Check Disk utility:
Windows NT® Run the error-checking utility:
MS-DOS Type scandisk x: at an MS-DOS prompt, where x is the hard drive letter, and then press |
| Run the Dell Diagnostics . If any of the diagnostics tests fail, contact Dell. |
Dropped or Damaged Computer
| CAUTION: Before you begin any of the procedures in this section, follow the steps in "Safety Instructions." |
| Check the card and cable connections
If any of the diagnostics tests fail, contact Dell. |
E-Mail, Modem, and Internet Problems
| Check the telephone line connection Verify that the telephone line is connected to the jack on the modem. (The jack has either a green label or a connector-shaped icon next to it.) Ensure that you hear a click when you insert the telephone line connector into the modem. | ||
| Check the telephone jack Disconnect the telephone line from the modem and connect it to a telephone. Listen for a dial tone. | ||
| Connect the modem directly to the telephone wall jack If you have other telephone devices sharing the line, such as an answering machine, fax machine, surge protector, or line splitter, t Getting More Business with AdWardsIn this article, you learn just what an AdWords ad is and how it works for users. You then start your journey behind the scenes to understand how an advertiser creates an AdWords ad, how its paid for, and some of the finer points of making your ads effective as well as how AdWords and search engine optimization (SEO) work together. Identifying AdWords Ads Google AdWords is one of the greatest success stories of our time. Just as TV advertising revolutionized television and made it a huge cultural force, for better or worse, so Google AdWords has revolutionized the use of the Internet. AdWords has made the Internet highly profitable, both for Google and for many AdWords advertisers. The success of AdWords has also encouraged others to find ways of making money from the Internet that arent much like AdWords at all. ?How to Make Money Online Google has recently introduced a new feature, Google Instant. With Google Instant, Google uses predictive search that is, it guesses what the user is going to enter, based on whatever characters hes already typed. This tends to steer users toward popular results. "What is Google Instant: Google Instant is a predictive search capability that makes search faster by guessing what the users are going to enter as their search query. Its turned on by default in Google Search,but users can turn it off. (From the main Google search page,click Settings->Search Settings. Choose the radio button, Do Not Use Google Instant, and click Save Preferences.) Early indications,though,are that most users like it and will leave it turned on."The page has four different kinds of search results: Google Instant hints: Googles recently introduced search feature, Google Instant, offers the user hints to common searches that are related to whatever characters the user has typed so far. The user can then choose the rest of the search from the drop-down list of hints or keep typing. These hints can steer the search away from what users might have come up with on their own, and they take up valuable screen real estate. ?Search Engine Optimization AdWords results: These are the new kind of search results originally found only out of the way, on the right side of the page, but now often found above the organic listings as well, although clearly marked. Note how the only AdWords ad shown, while Google Instant is working, is for the first term in Google Instants list of choices. Organic search results: These are the original kind of search results, determined purely by Googles algorithms, with no money changing hands. These pure listings are called organic search results. (Although this is an organic crop thats often fertilized by money, in the form of investment in search engine optimization, or SEO, by companies that appear in the results.)
![]() Local search results: When a search term seems to represent something thats available to buy locally, Google provides local results. Business locations are shown placed on a map, with some results highlighted versus others.
Companies use AdWords to complement or bolster the search engine results they get from organic search. Youll often find, when you search on a company name, that theres an AdWords ad for the company at the top of the search results and that the very next entry is an organic search result for the same company. An example of duplicate entries one from AdWords, one from organic search is shown in above snap. An AdWords ad linking to the Toys R Us website, ToysRUs.com, is positioned just above the top organic search result, which links to the same company. If you click the AdWords ad, it costs the company money, but it wants the click so badly that its willing to pay for it if needed. ?Critical Component of Optimizing a Website ![]() Above snap shows the same search when the user finishes his search by pressing the Return key after entering just the word toys. Many more AdWords ads appear, and there are three organic search results, not just one. However, ToysRUs is still the leading organic search result and the second AdWords result.
How AdWords Works for Users What does Google AdWords do for users? Basically, it gives them choices. Googles organic search results are good (which is why Google is the top search engine), but they have their problems. Websites that have been around for a long time, and are referred to by other older sites, get a lot of respect that is, high search engine rankings from Google. Its difficult for something new, exciting, and potentially lucrative to quickly earn a strong position in organic search results. (Although there are a lot of SEO practitioners out there trying to help their clients do just that.) ?SEO Friendly Post Titles For users who are of a mind to buy something, the AdWords ads that appear alongside their search results are often more interesting, and more valuable, than the organic search results. The AdWords results are lively and action oriented. They dont relate to what is or isnt a valuable information resource; they relate to helping you get a product or service that will help you fill a need of some sort or get something done. An old IBM ad sums this up well. A couple of consultants tell a CEO a great plan for turning his business around. The CEO tells the consultants to make it happen. One consultant looks at the other and says, horrified: He wants us to do something? The advice-givers then leave, shaking their heads in disgust at the idea of actually being responsible for making something happen. Organic search results can be like these consultants who just want to tell you information. AdWords ads help users do something. As a creator of AdWords ads, you will benefit by keeping the users perspective in mind. You dont need to trick or mislead users into clicking your AdWords ad; often, the user wants to find an ad to click. You just need to make your ad promising in relation to what the user wants to accomplish at that moment, and to the kind of product or service that will help her do that. Look at the AdWords ads in above snap. Theyre action oriented. Your ad should be similar. How AdWords Works for Sellers AdWords ads seem simple from a users point of view. However, from the vendors point of view, theres a fundamental principle and a few wrinkles that you should be aware of. The fundamental principle is that you focus on keywords. Lets say that you have a raft of hot dog stands in Chicago called Franks Fast Franks. You want your AdWords ad to appear anytime someone in Chicago enters certain keywords (which can be a phrase or just individual words). Heres a list of keywords that might apply, from most specific to least specific:
You can imagine that a lot of people are competing for these keywords, because theres money involved lunch money. (Chicago has about three million people, so if each of them were to spend $10 on lunch, that would be $30 million up for grabs every day at lunchtime.) ?META Tags for Web & Blogger When you do search engine optimization for organic search for your website, youre competing for placement with everyone in the world who might want to sell hot dogs (or who might be named Frank) and who might want to get their share of that $30 million or so of Chicago lunch money. You might guess that, as a local hot dog vendor, you would probably lose out, in terms of search engine placement, to companies that sell hot dogs in supermarkets or national hot dog chains. (Google local search is slowly changing this situation, but thats still a work in progress. See my book Teach Yourself Google Places in 10 Minutes for more about Google local search and how to win there, as well.)Below snap shows actual search results for hot dogs for a search made from Oakland, California. Note that the top organic search result is from Wikipedia. This is increasingly common as Wikipedia gets linked to from more and more sites that want to offer a definition or background material relating to a term. Wikipedia is a great example of a search result that scores high for being informative and low for enabling the searcher to actually do anything, such as buy and eat a hot dog for lunch right away. ![]() As an AdWords vendor, you bid on a keyword, such as hot dogs. You might agree to pay, say, up to 10 cents every time someone clicks your ad that shows up when a Google user enters hot dogs as a search term. ?How to Make Blur Text Using CSS One great thing about AdWords is that you can just bid locally. With local bidding, you dont need to beat every AdWords vendor around the world interested in promoting their hot dogs or related products. You just need to beat the ones in, say, Chicago. You can place your AdWords ad in Chicago only or even in specific areas of Chicago.Finer Points of AdWords for Sellers You probably understand now, if you didnt before, the basic process with AdWords: You bid on specific keywords (which includes phrases as well as individual words), and if you bid enough, your ad shows up on search results pages. There are some fine points of this, though, that are worth mentioning, to help you be more effective with your use of AdWords. Three main points stand out. The first point is that Google was the first major vendor of online ad inventory to commit strongly to what is called pay-per-click advertising. Other vendors wanted to charge you everytime your ad was shown. Google committed to charging advertisers only when the user clicks the ad. Pay per click is great for advertisers. It means that a lot of the risk for you is removed. You get lots of free brand-building with users who see your ad, and perhaps even read it fairly closely, but dont click. Google puts your ad onscreen all those times without getting paid. You only have to pay when the user does click your ad. You can get a lot of exposure without paying too much money. When you do pay, its only when youve at least gotten the user to do something. However, this leads to the second major point, which is the placement of your ad. Google AdWords advertisers are endlessly confused that they dont get the top AdWords position simply by paying the most for a specific keyword. (Often, Google will put its top one, two, or three AdWords ads above the organic search results, as shown in first snap. This kind of placement is golden for the AdWords advertiser, and advertisers are willing to pay highly for ads that appear there and get clicked.) However, Google puts your ad on top of the AdWords list only if you have a fairly high bid on your keyword and lots of people click your ad. Thats because Google wants to make money, and it makes more money from 1,000 clicks at just 10 cents a click that is, $100 than it does from 100 clicks at 20 cents a click, which is $20. So, your ad placement is a combination of something you do control your keyword bid and something you dont directly control, which is how many people click your ad. ?Wordpress Site Architecture, Cheat Sheet The final point is something that marketing experts have been aware of for a long time but that youre going to learn now in a way thats very specific to your business: conversion. Its not worth paying for people to click your ad if you dont make money from at least some of the clickers over time. Below snap is a conceptual diagram of the conversion process. Its like a funnel. Here are the steps in the funnel, with some made-up numbers as an example:
Now youve just spent $5 for the clicks and made $10 in immediate profit. This is a pretty good investment, especially if some of the clickers keep coming back for your hot dogs overtime, increasing your profit from the ad. However, its a lot of overhead and hassle to know, or at least guess, just how much profit you made from a direct result of your AdWords ad. My own observation is that AdWords is now popular enough that most of the easy money is gone. You arent likely to sell 1,000 hot dogs by paying $10 for AdWords ads. Results that are more like the example given you double your investment in the short term, and get additional benefits from repeat sales over time is a more realistic target for your AdWords advertising efforts. What this means, though, is that fairly close tracking of the results of your AdWords spending is important. You need to at least be able to quickly separate your AdWords efforts into three groups: clearly profitable; borderline profitable, depending on the long-term impact; and clearly unprofitable. If you dont have a firm enough grasp of your conversion process to at least be able to make this kind of distinction, it can be quite easy to waste money on AdWords and not even know that youre losing money as you go along. ![]() Search Engine Optimization and AdWords You are likely to be hearing a lot about search engine optimization (SEO), which refers to trying to get high search engine rankings for your website on the keywords that best fit your areas of interest. Some SEO techniques border on the illegitimate, such as creating little webs of more or less fake sites to pump up the number of people following links to your real site. Perhaps youre wondering how SEO affects your AdWords effort. AdWords is an effective and legitimate quick fix for SEO problems. You might have a new outboard motor to sell in the United States thats perfect for boats used for waterskiing. AdWords is an obvious shortcut for getting a link to your website in front of key audiences in the specific geographic areas you care about. Also, the things you learn from creating and deploying your AdWords ads are applicable to your SEO work for your website. Your work on your AdWords ads will show you which keywords are most hotly contested, what gets users to click, and more. This will inform your SEO work for your website. Conversely, the results from your SEO work can also go into your AdWords efforts. Each can complement the other. One trick is to identify odd, but powerful, keywords and use them across all your effort. For instance, one business that I helped sells a book and training sessions about reducing your foreign accent when speaking English (see last snap). Of the many keywords that are possible for this business, one powerful one turned out to be elocution. (Perhaps influenced by the musical My Fair Lady, about a lower-class girl who becomes a hit socially largely by mastering an upper-class English accent.) Elocution worked first on AdWords, but now its about to be integrated into the main site, as well. ![]() How to Copy Tex More Than 1 at Once on Clipboard In PC In Urdu Tutorial
aj main ap k liye bahut hi wonderfull trick laya ho, jasia k ap jante hain jab ham kahin se bhi koi text copy karte hain to wo hmaray clipboard par rehta hai or agar ham joi ik or text copy karte hain to pichla khatam ho jata hai lekin ainda aisa nahi hoga is tutorial main dekhain, umeed karta ho ap ko post pasa aye ga apni raye ka izhaar nechay comment box main zaror kijye ga, Allah Hafiz.
Subscribe to:
Posts (Atom)
|







