Tag Archives: php

How to add static block to page in magento

by in , on

Before implementing the static block we have to create a page where we will add our block. So first of all create a page through Magento’s back-end section. We have already created a page with the nameHome PageNow we have to move on the Stick Block section.

Create Static Block

First of all let we create a block for our home page. Navigate CMS in menus list and you can find the Stick Blocks sub-menu under CMS, then click on Static Block.

How to use AJAX in WordPress theme

by in , on

Now these days AJAX become more popular to create dynamic, user-friendly and responsive websites. AJAX is the technology to send and receive data with reload the page in web browser. One of the great example you can see in Google DOCS, that saving your work in few minutes or you can see instant image upload.

What is AJAX?

If still you are not familiar with AJAX then we suggest you to read about AJAX on Wikipedia. Or you can use AJAX with jQuery, one of the most popular JavaScript Library. AJAX is the combination of HTML, CSS and JavaScript code that helped you to send data to the particular file and receive the response from that file without refreshing the browser or page.

How to installing PEAR on WAMP

by in , on

In PHP, PEAR stands for PHP Extension and Application Repository. Recently i has been installed PEAR on WAMP(Windows Apache MySql PHP) machine in window 7. I am using two versions of PHP in my local wamp machine that is PHP5.2.9 and PHP5.3.10. I installed pear with PHP5.2.9, and also you can depends on you PHP version.

What have to do to install PEAR?

First of all you have to download http://pear.php.net/go-pear.phar file, and put this file into your PHP directory. I installed my wamp on “D:\” drive, and by default it is installing on “C:\” drive so please make sure about the location of your WAMP machine, and the go-pear.phar file should go like “D:\wamp\bin\php\php5.2.9\go-pear.phar”.

How to Install TinyMCE in Drupal 7

by in , on

By default Drupal don’t have any editor to writing content of a page or article. But it gives you the facility to install your favorite editor. In this post we are going to install TinyMCE editor. One of my favorite editor. So what we have to do is; to install WYSIWYG module in our Drupal website.

How to display Twitter followers on Website

by in , on

If we talking about Social Network then Google+, Facebook and Twitter are the biggest giant in this field. Let’s talking about Twitter. One of the best way to convey your message to your friends and followers. Twitter also help to increase your traffic on your website or blog. If you notice in most of the websites; people likes to display twitter followers on websites. That also impact to the visitor.

Change Continue Reading into Read More in WordPress

by in on

In my last post we had discussed about to make WordPress Plugin from scratch. And now we are discussing about to change continue reading into Read More. Oh! you don’t worry about it, if you are not familiar with programming stuff. But yes continue reading button into your post is involving into the programming stuff.

Actually the_content() function of WordPress, is used to display the content of your post. And you can also add two more parameter into this function, you can read more about this function in depth from the WordPress official website;