Get current url in joomla

In joomla, Current url can be get by JURI::getInstance()->toString()

Remove Shipping Method tab in One Page Checkout - Magento

If your shipping method is Free shipping and if you want to remove the shipping method tab from Onepage checkout steps, You can do the following steps:


Copy app->code->Mage->Checkout->Block->Onepage->Shipping-> Method.php

and put into

app->code->local->Mage->Checkout->Block->Onepage->Shipping-> Method.php

Replace the function

public function isShow()
{
return !$this->getQuote()->isVirtual();
}

With

public function isShow()
{
if(array_key_exists('freeshipping', $this->getQuote()->getShippingAddress()->getGroupedAllShippingRates()))
return false;
return !$this->getQuote()->isVirtual();
}


Noe: Simple way that magento provides is, Adding Virtual Type or products, this wont show the shipping information as well as shipping method in the one page checkout.

Remove the last char from the string

We can remove the last character from the string using

rtrim($string, $charlist)

Ex: Removing the last "/" from the url: http://sahayamatbogex.blogspot.com/

$string = "http://sahayamatbogex.blogspot.com/"

rtrim($string, "/");

For more ref:

Mac Icons for your site

jqDock is a jquery plugin which will help to display the menu as a dock menu is MAC.

Here you can find jqDock:

http://www.wizzud.com/jqDock/

Sample:

Authentication for Facebook Apps

The following link will help to do the authorization and login
in the facebook apps:

http://developers.facebook.com/docs/authentication/

Load Facebook app without scrollbar

Steps to create an app into faceboook without scrollbar:

1. Go to your app and click edit settings
2. Under Facebook Integration -> Canvas,

Choose "Auto-resize" if you are using FB.Canvas.setAutoResize in your iframe app and want the Canvas iframe to grow to the height of your app's content

Grovo - A Guide to Internet

Grovo is an online education and training platform that helps people find and use sites, and helps sites reach and educate users. Before Grovo, there was no single, centralized location for Internet education and training.

Grovo produces free and Premium Business video tutorials that cover the Web’s most popular and useful sites as well as essential cloud services in social media, productivity, and online marketing. Applications include Facebook Profile, Advertising, and Pages, Google Analytics and Apps, Twitter, Yelp, Basecamp, and LinkedIn. Currently, our library contains over 600 video tutorials, and we produce 20 more every week. The videos are delivered through our proprietary education and training platform, which includes the lesson, pre-written notes, quizzes, and glossary terms.

Grovo’s content aims to educate, not to advertise, so all videos are devoid of promotional language or ads. Lessons are between 1-2 minutes long and progress from simple to advanced use cases. All content, including video tutorials, pre-written notes, quizzes and glossary terms, is produced in-house by Grovo’s team of writers, editors and voiceover talent.

Grovo was founded in 2010 by Jeff Fernandez, Surag Mungekar and Nick Narodny. It is a privately held company headquartered in New York City.