Smarty

How to implement google map in smarty?

Hi friends , the following script will discuss for how to implement google map in smarty application. 1) Sign up for API key of googlemap http://code.google.com/apis/maps/signup.html 2) Create a google map class.   3) Create a tpl file, and add below code : {php} $key="Your API Key"; $gm = & new EasyGoogleMap($key); $gm->SetMarkerIconStyle(’STAR’); $gm->SetMapZoom(10); $city …

Continue Reading
Smarty

How to integrate fckeditor in smarty application?

This post explains how to integrate fckeditor in smarty application. Integration of fckeditor in smarty application   1 . in libs\plugins write the foolowing file called function.fckeditor.php <?php /** * Smarty plugin * @package Smarty * @subpackage plugins */ /** * Smarty function plugin * Requires PHP >= 4.3.0 * ————————————————————- * Type: function * …

Continue Reading
Graphs or Charts PHP Code

PHP Charts with using Google API

In this post i would like to explain about how to create php charts using the Google API key. It is very simple to implement with few files.I have explained with demo. The chart like this one: To set the chart : // Set graph data $data = array( ‘PHP’ => 50, ‘ROR’ => 15, …

Continue Reading