function clickIE() {
if (document.all) {alert(“Right Click Not Allowed”);return false;}}function clickNS(e) {
if (document.layers||(document.getElementById&&!document.all)) { if (e.which==2||e.which==3) {alert(“Right Click Not Allowed”);return false;}}}
if (document.layers) {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}document.oncontextmenu=new Function(“return false”)
<?php
$modules = Mage::getConfig()->getNode(‘modules’)->children();
$modulesArray = (array)$modules;
if(isset($modulesArray[‘Mage_Blogl’])) {
echo “Blog module exists.”;
}
?>
<?php
echo Mage::helper(‘catalog/product’)->getProductUrl($products[$counter]->product_id);
?>
<?php
$storeId = Mage::app()->getStore()->getId();
$summaryData = Mage::getModel(‘review/review_summary’)->setStoreId($storeId)->load($_product->getId());
?>
Go to system -> configuration and click on the option (sidebar menu) “Web” under the main category “general”
Then enable ” Use Web Server Rewrites “ to yes .
You can set it usinf the “explore” command
For eg : export some_var=some_value
Just type the command “env”
The output will be
JAVA_HOME=/usr/lib/jvm/java-6-sun-1.6.0.06
GDM_KEYBOARD_LAYOUT=us
LANG=en_IN
GNOME_KEYRING_PID=1844
MANDATORY_PATH=/usr/share/gconf/gnome.mandatory.path
GDM_LANG=en_IN
Click System > Preferences > Start up Applications.Just click on the add button and fill the name and command fields with the value “pidgin”
and save the details .

Just click System/About Ubuntu?
or
Got to Applications -> Accessories -> Terminal and type cat /etc/lsb-release
Then you could see the following
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION=”Ubuntu 10.04.2 LTS”
Find out the process id ps aux | grep {process-name}
To find out current working directory of a PID 2234 pwdx pwdx
Output /home/<user-name>
Zend | Magento Certified PHP | eCommerce Architect