Thursday, 11 October 2012

How to integrate datepicker in magento backend side

magento_admin_date_picker

 

Date function in PHP

echo(“Result with date():”);
echo(date(“l”) . “”);
echo(date(“l dS \of F Y h:i:s A”) . “”);
echo(“Oct 3,1975 was on a “.date(“l”, mktime(0,0,0,10,3,1975)).””);
echo(date(DATE_RFC822) . “”);
echo(date(DATE_ATOM,mktime(0,0,0,10,3,1975)) . “”);


echo(“Result with gmdate():”);
echo(gmdate(“l”) . “”);
echo(gmdate(“l dS \of F Y h:i:s A”) . “”);
echo(“Oct 3,1975 was on a “.gmdate(“l”, mktime(0,0,0,10,3,1975)).””);
echo(gmdate(DATE_RFC822) . “”);
echo(gmdate(DATE_ATOM,mktime(0,0,0,10,3,1975)) . “”);


 


 


Output:


Result with date():
Tuesday
Tuesday 24th of January 2006 02:41:22 PM
Oct 3,1975 was on a Friday
Tue, 24 Jan 2006 14:41:22 CET
1975-10-03T00:00:00+0100


Result with gmdate():
Tuesday
Tuesday 24th of January 2006 01:41:22 PM
Oct 3,1975 was on a Thursday
Tue, 24 Jan 2006 13:41:22 GMT
1975-10-02T23:00:00+0000

Wednesday, 10 October 2012

Add twitter button on product detail page in magento

<a href="http://twitter.com/share" data-count="vertical">Tweet</a>

<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

 

<a href="http://twitter.com/share" data-count="horizontal">Tweet</a>

<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

 

<a href="http://twitter.com/share" data-count="none">Tweet</a>

<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>

 

Add facebook like button on product detail page in magento

<p><?php $currentUrl = $this->helper('core/url')->getCurrentUrl(); ?><br />
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $currentUrl ?>" show_faces="false" width="450" font=""></fb:like>

 

<?php $currentUrl = $this->helper('core/url')->getCurrentUrl(); ?>
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo $currentUrl ?>&amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>

 

<?php $currentUrl = $this->helper('core/url')->getCurrentUrl();  ?>
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like href="<?php echo $currentUrl ?>" layout="button_count" show_faces="true" width="450" font=""></fb:like></p>

 

<p><?php $currentUrl = $this->helper('core/url')->getCurrentUrl(); ?><br />
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo $currentUrl ?>&amp;layout=button_count&amp;show_faces=true&amp;width=450&amp;action=like&amp;font&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:21px;" allowTransparency="true"></iframe></p>

Magento Hint Websites

http://www.wpbeginner.com/wp-themes/wordpress-theme-cheat-sheet-for-beginners/
http://ivvy.ru/en/bloggy
http://sushilshirbhate.wordpress.com/2011/07/07/magento-theme-development-cheat-sheet/
http://magento4u.wordpress.com/2011/03/28/add-extra-fields-in-registration-page/
http://www.magento.cc/custom-accountregistration-fields.html
http://www.magento.cc/category/magento/cms
http://www.magento.cc/category/magento/module
http://www.pauldonnellydesigns.com/blog/magento-display-address-fields-in-create-an-account/
http://www.excellencemagentoblog.com/magento-blogs/
http://www.itoris.com/magento-ajax-login-registration.html
http://www.magentoworks.net/magento-extension
http://www.cutehits.com/2011/07/overriding-core-controller-in-magento/
http://nickwan.wordpress.com/
http://blog.ecommercesoftwaresolutionsonline.com/archives/category/magento-developer-notes
http://oaktondata.com
http://wordcastnet.com/2009/speed-up-wordpress-with-google-gears-and-the-turbo-feature/
http://kb.magenting.com/category/5/general-configuration.html
http://www.webspeaks.in/2011/03/override-controllers-in-magento.html
http://learntipsandtricks.com/blog/magento/149/How-to-enable-Address-Information-on-Magento-Customer-Registration-Page
http://www.phptechi.com/category/php/magento
http://www.westwideweb.com/wp/page/4/
http://ultimento.com/wiki/blog/
http://xhtmlandcsshelp.blogspot.in/
http://xhtmlandcsshelp.blogspot.in/search?updated-max=2010-11-30T19:48:00%2B05:30&max-results=10&start=50&

by-date=false
http://alanstorm.com/category/magento
http://dbhoopendra.blogspot.in/search/label/Magento
http://www.learnmagento.org/magento-tutorials/how-to-install-sample-data-in-a-magento-site/#
http://www.devraju.com/category/magento/
http://www.johannreinke.com/en/category/php/magento/
http://www.webspeaks.in/
http://magentoshare.blogspot.in/
http://www.fmeextensions.com/
http://blog.magentoconnect.us/page/3/
http://blog.ecommercesoftwaresolutionsonline.com/archives/1036/magento-how-to-place-facebook-like-and-twitter-buttons-

in-the-products-view-page.html