Helpful Tips and Tricks
$html->link with html or image in CakePHP 1.2/1.3
Today i was working with $html->link in CakePHP 1.3. I need to show image and make a link on that image. If i use the $html->link and place the $html->img for link label than it display img html tag text and not showing the image. You can do it by defining escape to false. But syntax for defining 'escape'=>flase in CakePHP 1.3 is different.
Radio button in CakePHP 1.1/1.2/1.3
Are you facing a problem in radio button when you are working woth CakePHP 1.3 ? Today i was working with Radio button in CakePHP 1.3 and i face some difficulty in showing radio button, remove hidden option and show selected radio button.I found little syntax change in CakePHP 1.3. Here i am showing you how to show radio button with CakePHP 1.3.
Authorize/Delay/Hold payment in PayPal
Hello Friends, Do you know the paymentaction feature of PayPal ? It is used to make authorization of payment. This means once PayPal account owner will Capture the payment than only the payment will be deposited in his/her PayPal account. I was in search of this feature as my client have a specific requirement for [...]
jQuery editable – Edit in place/Inline editing
Are you working with jQuery and want to update record in database with inline editing ? Yesterday i worked with jQuery-Ajax and update records in database without submission of form. You might be aware with jQuery-Ajax and update records in database but if you are looking for edit in place than here i am showing a way to edit a record in place.
Implementing Google Maps using API on your website
Are you looking to implement Google Map in your website ?? Do you have a Real estate property website ? If yes, the you must implement(integrate) Google map using API key into your website. Recently i have implemented the Google map into one of my client's website and it is very easy to implement. Here i am showing you the step by step way to integrate the Google map into your website.
FCKEditor solution – How to store full URL for images (Show absolute path)
Today i came across a problem with FCKEditor. When i upload an image from fckeditor Browser Server option, it uploades correctly and insert image in content as well. But if i will send this content in email (for newsletter) than image will not be there as fckeditor inserts relative path in source of image. There should be a complete URL for image if you are sending this content into email. I was trying to find the way that how to insert the full url path when image uploads from FCKEditor.
Maximum Charactors/Words limit(counter) for textarea using Javascript/jQuery
Are you looking for limiting charactors/words entered in textarea? Today i need to implement the limit for description field where customer can only enter upto 255 charactor. If customer entered 255 charactors than i have to restrict customer from entering more charactors in textarea field. I came across below javascript/jQuery function using which i can easily restrict customer to enter limited charactors/words.
Redirect one domain to another using .htaccess
Are you looking for redirecting your website from one domain to another ? I was working for client who has a domain in .com and now they want to move full website into .ie domain. The problem is that all links has been crawled by major search engine. So if we remove all files from .com domain than it shows 404 not found (broken links) for .com domain links. Also we have to remove files to avoid duplicate content issues.
I am
Recent Comments