Posts archive for May, 2012

How to disable Cache in Google Chrome

advertisement

google chromeI’m trying to disable cache in Google Chrome yesterday when i encounter my css is not refresh after edit and hitting few times of F5 in Google Chrome. It look like Chrome is Caching the file and i need a solution to disable cache in chrome!

To disable Cache in Google Chrome, follow the steps below:-

Continue reading How to disable Cache in Google Chrome »

Symfony Filter: Change ForeignKey drop down to Text field

advertisement

symfonyI tried to change the foreignkey drop down to text field in the symfony filter form. But after i change the drop down field to text field, my field name changed to xxx_filter[‘foreign_id’][‘text’] instead of xxx_filter[‘foreign_id’]. And everytime i submit the form it show “SQLSTATE[HY093]: Invalid parameter number: parameter was not defined”.

After few hours of googling, i manage to find the solution for this filter form problem. To solve the problem follow the steps below:-

Continue reading Symfony Filter: Change ForeignKey drop down to Text field »