Looking to Build/Redesign a Website or Blog ?

To speak to Rakshit, call +91 968 704 2303

April 30, 2010

5 Comments

How to use OR in find method – CakePHP

When any developer is working with any web application, he/she will constantly interact with the Select Query. As i am working with CakePHP, i also need to use Select Query often. For Select Query in CakePHP, you can use find method of Model which gives you the data as per conditions given in find method. If you write more than one conditions in conditions array passed in find method than by default it will take OR clause and make a query string with "OR".

April 30, 2010

13 Comments

Set Meta Tags (SEO Tags) in CakePHP

In my previous post, i show you the way how to set Page Title Tag in CakePHP. But setting Meta keywords and Meta Description is not the same way as Meta Title. .Also Meta Keyword and Meta Description is important part of Search Engine Optimization. Refer to below syntax to set Meta tags in CakePHP.

April 30, 2010

6 Comments

Set Meta Title (Page Title) in CakePHP 1.2/1.3

As i mention in my previous posts, CakePHP 1.3 come up with lots of new syntax changes. I was looking for a Meta Title SEO tag for each page. I need to set this Meta Title (Page Title) for each page. You must be aware that Page Title can be set in method which we write in respective controller.

April 29, 2010

17 Comments

Zip Component in CakePHP-Add files in Zip

Today i have implemented a Zip functionality in CakePHP. If you want to create an archive file consists of some files to give a download Zip file option to user than i might help you to show the steps. Below are the steps how to zip all files and save it to some folder.

April 29, 2010

2 Comments

Problem in Mozilla Firefox-Easy AJAX Pagination Using JQuery CakePHP

I was working with CakePHP's Easy AJAX Pagination Using JQuery. I found this as a great code for sorting and paging with jQuery in CakePHP. But i faced a problem in Mozilla Firefox. It is not working in Mozilla Firefox. While in IE and Crome it works fine for me.

April 28, 2010

6 Comments

$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.

April 28, 2010

15 Comments

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.

April 23, 2010

4 Comments

Create iframe dynamically using jQuery

Creating iframe using jQuery is not a difficult task. If you want to create iframe dynamically using jQuery, than look at below code.

April 23, 2010

No Comments

Set Background image with jQuery

As you know we can set the tag’s attributes using jQuery. It can be dynamically change by using jQuery(calling it at some events.(for e.g. onClick, onFocus etc)). If you are looking to set the background image property in div using jQuery than have a look at below jQuery code.

April 23, 2010

1 Comment

Get URL variables in javascript/jQuery

Yesterday i was in search of javascript/jQuery code for getting URL variables in javascript. Once i will get the URL variables in javascript file i can make further process with it. I came across below code which saves lots of my time.