PHP Freelancer

CakePHP : Load Other Model In Controller

05.08.2010 · Posted in CakePHP

Hello Friends, These days I am totally giving tricks and ideas relates to cakePHP and in this article I will also tell you how to load other model in other controller to use instantly. There are two ways to make available other model in controller, One is $uses variable in controller and other is loadModel function. $uses way is not efficient to make available or to include other model in controller So there is second way by which we can load other model in controller is loadModel function (more…)

Optimize CakePHP Web Application By Element Caching

05.04.2010 · Posted in CakePHP

Hello Friends, I have written some articles relates to element and its use for an application that how cakePHP elements can be useful for web application. Now today I am again want to writing about cakePHP element for web application optimization. As we know that Many applications have small blocks of presentation code that need to be repeated from page to page, sometimes in different places in the layout. CakePHP can help you repeat parts of your website that need to be reused. These reusable parts are called Elements. So when we use reusable elements in any application and that element having any interaction with database to retrieve any thing then it is obvious that every time when that element load with page it interacts with DB to retrieve data, But as elements are reusable parts so we can cache that reusable parts . That means if we use element caching then it will not interact with database eveytime, It will interact first time and after that automatically take from cache, So this thing will not interact with your database eveytime and in this way you can optimized cakePHP application via element caching (more…)

Paypal : Paypal NVP API Transaction Examples

05.04.2010 · Posted in Paypal

Hello Friends, yesterday I have implemented Paypal NVP Api in CakePHP with by DoDirectPayment. Do Direct payment means do payment with credit card without leaving website. In this you have to enter credit card details and booking address and then you can pay wothout leaving website via paypal by your credit card. I have searched alot about this to find that how can we implement it and finally I found a bunch of examples to download from Paypal website in which all examples for Paypal API exists, So i downloaded it and implement it in cakePHP by making it Componenet of cakePHP (more…)

CakePHP: How To Include Element In View In CakePHP

05.04.2010 · Posted in CakePHP

Hello Friends, As I am writing some important stuffs on CakePHP, But today i want to share one simple and basic thing with you about cakePHP element that how can we include cakePHP element in view. Basically Many applications have small blocks of presentation code that need to be repeated from page to page, sometimes in different places in the layout. CakePHP can help you repeat parts of your website that need to be reused. These reusable parts are called Elements (more…)

CakePHP : How To Make Image Submit Button

04.28.2010 · Posted in CakePHP

Hello Friends, CakePHP having form helper to make text box,forms ad any other HTML input, But today I want to make a image work as submit button because one of my submit button in project using image, So I want to submit form when anyone click on image button, I have tried to search on internet about it that how can we make a image submit button and didn’t get any proper solution, Finally I tried it myself and got solution for it. I don’t know it is correct solution but it is working perfectly for me (more…)

CakePHP : How To Pass Variable To An Element To Make Menu Selected

04.28.2010 · Posted in CakePHP

Hello Friends, As I told you in my last posts that currently I am working on my new cakePHP Project and by this project I am learning so many new things, So today I like to share a new thing with my readers about cakePHP Element that can we pass any variable value to an element in cakePHP.Many applications have small blocks of presentation code that need to be repeated from page to page, sometimes in different places in the layout. CakePHP can help you repeat parts of your website that need to be reused. These reusable parts are called Elements (more…)

jQuery : How To Get Checked Check Box Value By jQuery

04.27.2010 · Posted in jQuery

Hello Friends, I am always sharing things which i have learnt while doing programming and yesterday when i was making one wordpress plugin which save all options in admin by jQuery Ajax , at that time I was getting one problem in taking checked value of checkbox by jquery. I have searched on internet for solution of this problem but didn’t find that,Finally i posts this problem in one PHP forum thread and i got one reply from one member of that forums for solution of this problem and I used that solution an it worked very well, So I thought to share that solution (more…)

Set Page Title Syntax In CakePHP 1.3

04.27.2010 · Posted in CakePHP

Hello Friends, I have worked in CakePHP 1.2 some time ago and after long time I have started new CakePHP project and now CakePHP 1.3 available and CakePHP 1.3 having so many new features. So when I used CakePHP 1.3 for new project then I found that set page title syntax has been changed in CakePHP 1.3. In CakePHP 1.2 we can set page title value in controller given (more…)

New WordPress Plugin – IGIT Related Posts With Thumb Image After Posts

04.24.2010 · Posted in Wordpress Plugins

Hello Friends, IGIT Related Posts With Thumb After Posts Plugin is second plugin created by me. By this plugin blog admin can add one widget/section after posts having related posts with thumb image. This plugin also empowers the Blog administrator to place manually related posts widget, Also having options to give related posts number,Display Thumb or not,Set Thumb Width and Height and Main thing it is giving three options to select related posts style – Horizontal, Vertical, Simple Style.

By using this plugin on your blog you can attract your visitors to other related articles of your blog.
(more…)

IGIT Follow Me On Twitter Button After Every Post or Page WordPress Plugin

04.04.2010 · Posted in Wordpress, Wordpress Plugins

Hello Friends, IGIT Follow Me on Twitter Button After Every Post or Page Plugin is first plugin created by me. By this plugin blog admin can add Follow Me On Twitter Button from admin by selecting Twitter images and also entering Twitter username. I know it is very small functionality this plugin provided but it is very useful plugin for users who are using Twitter.

By Using this plugin your followers count will be increased because whenever any user come to your site to read any post, User will see your twitter follow me button followed by that post and followed you if likes your articles for future updates (more…)

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
Thank you for using IGIT Tweet Share Button, a plugin by HackingEthics