
Search In
Hello Friends,
If you are looking to use update query with query builder in Symfony2. Please review the below example and make the adjustment accordingly.
$sql = "update tbl_paymentmethod set pm_address = :address, pm_status = :status, updated_at
def zipdir(path, ziph):
#ziph is zipfile handle
for root, dirs, files in os.walk(path):
for file in files:
ziph.write(os.path.join(root, file))
zipf = zipfile.ZipFile('test_python.zip', 'w',
zipfile.ZIP_DEFLATED)
Hello Friends,
If you would like to add some more attribute on your post page. We can use post meta for this. For example you want to add a new post for event creation. You want Event Title, Event Description and Event Start Date. Please review the
Hello Readers,
Before i tell you how to call static block in magento. Lets understand the term "static block" & How to Create It..?
Static blocks : Sometimes we are required to add some custom data or images (like banners) in the middl
What you will learn from this blog:
1. What is Angular BlockUI
2. How to use it in view and js
3. Learn how it will remove unnecessary hide and show of loader during each ajax request
4. how it will reduce line of code
If you are looking for a defa
Hello Reader's, If you are making searching and want to look it as ajax which show records then this blog is helpful to you. In this blog, we will make it for CodeIgniter framework. Ajax searching will show the matching results from the typed wor
To change the orientation of an image write the following code:
BitmapFactory.Options o2 = new BitmapFactory.Options();
o2.inSampleSize = 2;
// Get the original bitmap from the filepath to which you want to change orientation
// fileName ist the fi
Hello reader!
In this Blog I will cover the topic, Canonical Issue, There Consequences and how to Resolve and get rid from such issues.
So lets first start with,
What is Canonical Issue
When the same content is displayed by the one website in diff
Hi All,
While working with SQL, I came across the requirement to get the business days only. I had the number of working days and the starting date. Now the requirement was to get the next date by excluding all the Saturday Sunday and only to count t
To install account module and searching by name in account module in customers invoice form and get results in particular name use this code in account_invoice file in account module in openerp.
Code given below:-
def name_search(self, cr, user, n
