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
Smarty

How to add stylesheets and javascript in smarty

how to add styles and javascript, to smarty application, in the head section  written the styles code but when we are applying that code to the tpl file is not applied is there any separate code to written in the smarty. for that reason go to below code we can the simple code in the …

Continue Reading
Smarty

What is smarty and uses of smarty?

Friends , i would like to write short note on Smarty which is opensource package for the php. Download the files from http://www.smarty.net/ The main uses and what is smarty. 1 ) Smarty is a template engine. 2) The main uses of smarty is the all design templates is different from the coding part. 3) …

Continue Reading