Saturday, September 25, 2010

how to enable template path hint in magento 1.4

If you want this option displayed for ‘default config’ also, just edit the app\code\core\Mage\Core\etc\system.xml file.
Look for something like this
<template_hints translate="label">
<
label>Template Path Hintslabel>
<
frontend_type>selectfrontend_type>
<
source_model>adminhtml/system_config_source_yesnosource_model>
<
sort_order>20sort_order>
<
show_in_default>0show_in_default>
<
show_in_website>1show_in_website>
<
show_in_store>1show_in_store>
template_hints>
replace
<show_in_default>0show_in_default>
with
<show_in_default>1show_in_default>
Do the same for this section
<template_hints_blocks translate="label">
<
label>Add Block Names to Hintslabel>
<
frontend_type>selectfrontend_type>
<
source_model>adminhtml/system_config_source_yesnosource_model>
<
sort_order>21sort_order>
<
show_in_default>0show_in_default>
<
show_in_website>1show_in_website>
<
show_in_store>1show_in_store>
template_hints_blocks>
and clear the cache

Resloving magento 1.4 fatal error:line 529

in page.xml under app/design/frontend/base/default/layout (or your custome page.xml)

change the line
to


and clear the cache

Wednesday, September 22, 2010

STRESS!!!! OH!

Before I proceed. I would like to ask you some personal questions, Like:

HOW ARE YOU??? ARE YOU TENSED???

HOW MANY TIME IN A DAY YOU ARE TAKING CARE OF YOUR HEALTH?

Though we are in 20th century, we all have liking for free and modern life style.This modern civilization changes the attitude of woman and makes her busy in her outside job as the house hold. She is now having her two legs in two running boats. Butt you better Know What will be the result. That leads to physical and mental tension.

Today’s work tension makes her not active but also reactive:

We all know about our great scientist Sir Issac Newton. According to his third law of motion-”every action there is an equal and opposite reaction”.

But it is required that this reaction should be positive. when it is concerned with our health. My intention is not to avoid you to do the job but simultaneously you should give importance to your health.

You know scientist are the most busiest person mentally they are not free.

some time this tensed mind caused unnatural death Like “Madam Curie.” Now I am giving You an Example Newton’s busiest life how his mind had no control over his body.

Sir Issac Newton was very absent minded, when he was thinking over a problem.

One morning he got up early and was thinking abut his reaserch problem so deeply that he would not leave the problem and go for the breakfast. but his house-keeper ‘Marry’ thught that newton needed food. So she took a pan of water and egg, and started boiled it.

but Newton wanted to be alone and said

“Marry you can leave the egg with me , I will boil it.”then Marry put the egg on table beside his watch and said Issac you must boiled the egg for Four minutes and went away.

But she was afraid that the Newton might forget to boil the egg. So she returned after an hour later. then you know what she find there?

She found that Newton was standing by the fireplace. He had put the watch in the sauce pan for boiling instead of egg, which was in his hand and still thinking about the problems.

learn from others ‘experience

man’s life in this world is comparatively a shorter one.therefore,he doesn’t have time to learn everything from personal experiences .here is the importance of drawing inspiration from others and their experiences.in other words ,don’t wait for a chance to make the entire mistakes yourself.learning from others’ experience will protect you from a number of failures.

we should also learn some lessons from the nature . the animals ,birds,mountains,plants and everything we see in the world teach us something .you might have heard about the story of Robert Bruce who got inspiration from a spider to defeat the enemies .we can learn a lot of things from the nature ,only if we have an open mind.