Sarwarhossain - sarwarhossain.com - sarwar's weblogs
General Information:
Latest News:
Drag and Drop dashboard using jquery and save state of each change 17 Feb 2012 | 10:41 pm
I found some solution to make drag and drop on dashboard. After drag and drop we need to keep save the state for each user so when user login they can get their own dashboard what they saved last time...
Remove Skype Plugin from browser using jQuery 23 Jan 2012 | 11:57 pm
I got some problem after installing the skype plugins on my browser. This plugin always convert to a call now button to numbers, sometime some number is not a phone number, which cause problem for our...
quick setup of Auth Component for CakePHP 2.0 15 Jan 2012 | 09:52 am
I found some new thing in cakephp 2.x. I just tried to show here how quickly we can setup Auth Component in to our project. First we need to setup configuration Logic check controller. Login view ...
Multiple line html code assign to a javascript variable/ assign cakephp element to a javascript variable 5 Aug 2011 | 07:02 pm
I was working with google map api, I have task to make a infowindow for a marker. I faced some problem when I assigned multiple line code to a javascript variable. I tried to put a html code to a java...
jquery UI tab – ajax loading CKEDITOR in a tab and some issues 28 Jul 2011 | 07:36 pm
I tried to load CKEDITOR in a jquery tab via ajax. I got problem that only first time the ckeditor is working but when I click on other tab and again got o ckeditor tab its not working. in Load sectio...
cakephp- CONCAT in query, Virtual Fields and make a drop down 18 Jun 2011 | 10:35 pm
I need to make a dropdown list of a staff. In dorpdown i need to put last name and first name. I already have a column in database name which contain first name and last name. But i need to show order...
trace visitor location based on their geolocation- how to 7 Jun 2011 | 06:54 pm
I tried to find out a solution how we can block or trace visitor location and based on that location we do some action First you have to use 3rd party api to get visitor location. The following url w...
.htaccess killing 3 hours 17 May 2011 | 07:49 am
I’m working in cakephp for last two years, I developed and hosted many times, during hosting I got many problem all these are .htaccess related. Today I tried to host one of my project, I created a s...
Access session data in a model -cakephp 14 May 2011 | 08:05 am
Sometime we may need auth data for inserting in bforeSave method, i know it break the MCV rule but we sometime we need it for doing faster. I used it in beforeSave method in a module In this way we ...
cakephp ajax pagination using jquery 26 Apr 2011 | 02:02 pm
I tried to use cakephp default ajax pagination, it seems not working with me. I tried with different way. The following code using for pagination. Now below that code I used the following java scrip...