Today morning i found that urls to postings of this very blog of mine were ending on a “HTTP 404 – File not found” page. (It had been working last night for sure) I had got custom permalink configured for my blog and it suddenly had stopped working. Continue reading
Step by step guide to create virtual host on Windows XP or Window7 (WAMP installed)
- Navigate to: C:\Windows\System32\drivers\etc and open the file named ‘hosts’ in a text editor. You should see 1 or more lines that have an ip address, then the hostname. Eg: Continue reading
Check this really cool tinyMCE extension to make your Joomla post content to appear in Hindi. It supports as many as Eight Indian languages including Devanagari(Hindi), Gurumukhi(Punjabi) and Bengoli. It is really easy to install and get going. Continue reading
Add an onload function similar to the following to <head> section of your web page.
Let us assume we have radio buttons
<input name="rd_name" id="RD1" value="Value One" /> Label 1 <input name="rd_name" id="RD2" value="Value Two" /> Label 2
To retrieve and set radio button values by id we have the following methods. To retrieve we have, Continue reading
Invoke Lightbox2 on page load? Good question! If you have got frustrated searching for a solution to it, relax, it’s here!
I had a hasAndBelongsToMany binding in my Charity Model as i normally would need all the “Causes” available along with Charity information and vice-versa. At one place i needed a specific number of “Causes” picked randomly from the database table. To make this work i had to add following two lines just before the $this->Charity->find call in my controller action:
and i was done.
Does someone has a better solution? Please suggest.
(If you are using jQuery with cakephp you may want to view this article, Creating Ajax form in Cakephp using jQuery )
I have been using the ajax forms in CakePHP for a long time now but in the view of continuous development work always on at CakePHP framework development community i have had to alter ways to write the same code. So here is the latest one. Continue reading