Posts

Showing posts from December, 2013

Magento user links

Mage::getUrl(‘customer/account/login’); //login url Mage::getUrl(‘customer/account/logout’); //logout url Mage::getUrl(‘customer/account’); //My Account url Mage::getUrl(‘customer/account/create’); // Register url Mage::getUrl(‘checkout/cart’); //Checkout url check user logged in or not  if (! Mage::getSingleton('customer/session')->isLoggedIn()) Moaar URL  bool customerHasAddresses () string getAccountUrl () Mage_Customer_Model_Customer getCurrentCustomer () Mage_Customer_Model_Customer getCustomer () string getCustomerName () string getDashboardUrl () string getEditPostUrl () string getEditUrl () string getEmailConfirmationUrl ([string $email = null]) string getForgotPasswordUrl () Mage_Customer_Model_Entity_Group_Collection getGroups () string getLoginPostUrl () string getLoginUrl () string getLogoutUrl () string getRegisterPostUrl () string getRegisterUrl () bool isConfirmationRequired () bool isLoggedIn () bool isRegistratio...

Just remember this when you start complaining about life

Image
Remember that man. And think is your life that bad?

301 URL generator and htaccess tester access

Here is the 301 redirect generator http://seo-website-designer.com/HtAccess-301-Redirect-Generator Rule and Condition works with urls with query. So had to use this also there is a few good reasons to use rule and condition on the page. This is htaccess tester you can test almost live environment http://htaccess.madewithlove.be/ but some things won't work in that case look at your file and try to rearrange and debug it

Creating android app, preparing windows

1. Installed Android SDK http://developer.android.com/sdk/index.html includes eclipse 2. Installed Node http://nodejs.org/ Addition paths To add this paths for windows go to Advanced system settings -> Environmental Variables Under "System variables" There is "Path" select it and append these lines. Separator is ";" so the result will be like %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\system32\wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;c:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\Common Files\Roxio Shared\DLLShared;C:\Program Files\Common Files\Roxio Shared\10.0\DLLShared;C:\Program Files\Extensis\Suitcase Fusion 2;C:\Program Files\QuickTime\QTSystem;c:\Program Files\Microsoft SQL Server\100\Tools\Binn;c:\Program Files\Microsoft SQL Server\100\DTS\Binn;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Calibre2\;C:\wamp\bin\php\php5.4.16;C:\Program Files\nodejs\;C:\sor\androidsdk\sdk\platform-tools\;C...