PHP Freelancer

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…)

Disable View From Controller Or Controller Function Without View in CakePHP

08.09.2010 · Posted in CakePHP

Hi Friends, today I am going to explain you one simple thing for which I have searched more than one hour. I wanted to make one controller and one function in it which don’t have view file for it.I have search for it so many times and finally I got it from one forum where they write that how can we disable or not include view for controller function (more…)

Remove index.php From URL By URL Rewriting Or htaccess Rule To Remove Index.php

08.04.2010 · Posted in .htaccess

Hello Friends, Today i was working on one project in which I have to remove index.php from URL because http://example.com/index.php and http://example.com/ both are same but technically google consider it different URLs, There is one other method by which we can tell google about one best URL which is canonical tag. But I want to do it via URL rewriting and remove index.php from URL means when anyone enters http://example.com/index.php it redirects to http://example.com/ , I have searched alot and finally I found it So i thought it would be great if I share it on this site, So it can be helpful to someone (more…)

New DreamHost July Month Coupon Code – 55$ Off

07.15.2010 · Posted in Coupon Codes

Hello Friends, There are so many good hosting services on internet and DreamHost is one of the best hosting service of them. On internet you will found so many coupon codes having 50$ off on hosting of dreamhost or 40$ off on dreamhost hosting but today PHP Freelancer brings you coupon code for dreamhost which is having 55$ off on one year hosting and one domain for one year absolutely free (more…)

How To Get Checked Check Boxes Values By jQuery

07.08.2010 · Posted in jQuery

Hi Friends, Some days ago I was trying to take checked values of checkboxes via jQuery while using jQuery Ajax. I tried to find out on internet about how to get checked checkbox values and I found so many articles but didn’t find any clear code which is working good, So i have  tried it myself by taking reference from jquery site and finally I have done this so I thought to share it with my readers.So below is the explanation how to get checked checkboxes values by jQuery (more…)

CakePHP : How To Get Current URL In View In CakePHP

05.08.2010 · Posted in CakePHP

Hello Friends, Sometimes we want take current URL in cakePHP in view, Today I got current URL for transferring to that URL after log in. I have tried so many things to work it out and finally I got one working way to get current URL in view. We can use $_SERVER variable to get current URL but cakePHP giving its own method to get current URL in view file. It is very easy and it is working perfectly I have used it in my web application and it is working smoothly (more…)

CakePHP : Set More Than One Variable By One $this->set Method In Controller

05.08.2010 · Posted in Uncategorized

Hello Friends, Currently I am working on one CakePHP project and learning so many new things of cakePHP and today while working on one section I learn one new thing in which we can set more than one variable in controller by using only one $this->set method. I wanted to set so many variables in my controller to use it so I have searched that how we can set more than one variable in controller by $this->set method and i found that we can do that by using compact() php method. compact() takes the array you pass into it and looks for variables of the same name as the elements in that array. It then spits out an array of key => value pairs (more…)

CakePHP : How To Not Include Layout In A View

05.08.2010 · Posted in CakePHP

Hello Friends, A layout contains presentation code that wraps around a view. Anything you want to see in all of your views should be placed in a layout.So your every view is wrapped by one layout,If you are not using including layout by $this->layout = ‘layout_name’; than every time it will use default layout, yesterday when I was working on Ajax ,I got one problem in which I don’t want to use any layout in view but it was including default layout, So I have searched on internet about this and hardly find this solution, So I thought to share it on my site (more…)

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