Hello reader's, In this post we discussed about "Forgot Password using ajax in wordpress".
In the below code, forgot password screen appear user fill their email address into the text box and click submit button, after that a new password will...
Network Address Translater
In office and in places where we have multiple systems sharing the same internet connection single IP Internet Protocol is used for it assigned by the ISP Internet Service Provider.
But how is it possible to use s...
Hello Readers,
jquery.data() method or we call it as $.data is the jquery method and it is used in this DOM element associate with the data and the JavaScript objects. And, this method is used to make the jquery code clear and concise.
Synt...
JavaScript String slice() method : The slice() method is used to extract the sub-string. The index is starts from 0. To return the string from last position use negative index.
Syntax of slice() method :
string.slice(start,end)
start...
Launching a new instance on amazon ec2
Hi Friends,
Today I am going to tell you step by step how to setup amazon ec2 server. After completing sign-up in to amazon from http://aws.amazon.com. You will be redirected to a home screen of the am...
Hello Readers,
If you need to cut a video clip from a video, just now you can use FFmpeg application command for the same task to cut a small video clip from a video.
You must copy the image in the bin folder. Then execute this com...
Hi Friends, Please help me with the Problem, I want to migrate from OpenERP-7 to Odoo-9 and while doing so I got an error.
Error is below .
File "/home/shiva/WORKSPACE9/OPENERP-9/openerp/addons/rent/rent.py", in get_totals
prices = ta...
Hello Readers,
difference between find() and children() methods in jquery :
Both find() and childern() are jquery methods.
find() method is used to search the more then one level down the tree (DOM tree) while children() method is uesd ...
Hello Readers,
Below is the difference between html() and text() methods in jquery:
Both .html() and .text() methods are used in jquery and both are jquery methods.
.html() is faster as compared to .text() method in jquery.
.html() meth...
Welcome to findnerd, today we are going to discuss How to pass variables and data from PHP to JavaScript.
In this blog we demonstrate and describe passing PHP variables containing simple data types to JavaScript.
There are actually several ap...
Hello reader's, In this post we discussed about "How to set Menu location in wordpress".
You can use the below code for creating menu and set their location, when you import data file in xml.
You can put this code into functions.php file
...
Modify files in the working directory.
gedit test.txt
Stage the files, adding snapshots of them to your staging area.
git add -U
Commit, takes the files as they are in the staging area and stores that snapshot permanently to th...
Many times there is a requirement in the test step to move to a specific link, keyword, etc. So, we have two methods through which we can directly scroll to the desired element. The two methods are as follows:
scrollTo(String text)
scrollTo...
JavaScript String toUpperCase() method : The toUpperCase() method is used to convert the string to the upper case. It returns the new string as in upper case letters. It doesn't change the original string.
Syntax of toUpperCase() method :
...
Hello Reader's! If you are working on PHP framework, Codeigniter then you should learn how to send mail by its functions.
CI offers you the best way to configure the email and send the mail and you just have to call it on the place required.
...
Hello Reader's! If your mail is contating some attachments then you can use the simplest way to sending the mail with attachments.
Lets see the example below:-
$email = new PHPMailer();
$email->From = 'you@example.com';
$email->...
OCR means Object Character Recognition . It is a technique by which we select a portion of the image as per user need.
This process requires getting the dimension of selected screen and converting in an image for use.
These are the pre-proc...
Previous Git Blogs
1. Intialize git repostiory
2. First Commit
3. Two tree architecture and Three tree architecture
4. Best basic practices for writing commit messages
5. Viewing the commit logs
6. Git Basic WorkFlow
7. What is HEA...
Hello Reader's! If you want to send the mail to multiple CC or BCC then you just have to put the emails separated by coma. Lets see the example below:-
First create and string with coma separated cc emails:-
$cc = 'abc@gmail.com,zye@yahoo.com...
We always use SqlConnection class for making connections
1 Simple SqlConnection
SqlConnection=new SqlConnection()
If any exception occurs inside while block it throws exception the connection.close() process will not executed due ...
There is one field that since v6 and above was deleted and no longer used, ie one2one relations field.
If we tried to make it in v6 the error will definitely occurs. OpenERP provides a solution 'combine' to the field many2one but here there is l...
Hello Readers,
Usually, we need to add a poster image with audio like with mp3 in your project. You can use FFmpeg application command for the same task to add audio (e.g. audio.mp3) to one "poster" image.
You will need -shortest co...
Hello reader's we discussed about "Send HTML email in php".
In this code we use Html tags in the " $message " for the better user interface.
example: " h1 " tag for heading and " p " tag for paragraph (write a message).
Hence You can use all ...
In osv_memory wizard, just create a normal object, But in place of inheriting from model.model you should it from Inherit from model.model_memory.
Methods of wizard are inside the object and if the wizard is complex, You can define workflow on...
To modify javascript in Odoo-9 follow the below steps
Go to point of sale module ->static file->src->js->screens.js
For example you can use the below code in screens.js file.
function openerp_pos_screens(instance, module){ //mod...
To modifying a repor in Odoo-9 follow the below steps one by one:
Step-1 First we have to Modify existing reports which will then replace the originals in our OpenERP database,
Step-2 create new reports for the selected object.
Step-3 sel...
When you declare class method as static then these method can be called without instantiating of the class .
When you declare a method or a variable static then we must use static keyword before declare this and when accessing these method or ...
To make the scheduled call in Odoo-9 follow the below steps one by one:Step-1 Go to Sales Modules-> Phone Calls->scheduled calls
Step-2 Call Summary ->Date->Duration->Responsible ->Administrator
Step-3 Sales Team->Sales Dep...
In my last blog I have described about how you can create a TextSwitcher. So in continuation of that in this blog I will help you in craeteing a ImageSwitcher.
Firtsl of all you shoud know what ImageSwitcher is, ImageSwitcher a class which al...
There are two methods we use to send the key events:
sendKeys()
sendKeyEvent(int)
Every keyboard event is associated with an integer value and we have to pass the integer value in the method to perform the desired action.
Suppose if w...
To give imageview / button vibrate animation, need to follow these steps.
create xml file "vibrate_anim.xml" in anim folder
<!--?xml version="1.0" encoding="utf-8"?-->
<rotate xmlns:android="http://schemas.android.com/ap...
Welcome to FindNerd. We are going to discuss the function preg_match_all which will match the substring from the string. It try multiple times for matching pattern.
Please have a look.
<?php
$str = "tird";
preg_match_all('/ti[rte]d/',$st...
Hello Readers,
FFmpeg has an extremely effective level filtration system, which usually can be used to completed the various tasks. A lot of them are listed here. You more can be found in the FFmpeg official documentation. In all the follo...
It is easy to merge different images to make a single image. It is like pasting images to a canvas and taking picture of that canvas. Below I have explained how to do it.
-(UIImage*)combineImages:(NSMutableArray *)images{
CGRect frame =...
Welcome to FindNerd,
Today we are going to discuss about MySQL Constraints.
Firstly let know what is Constraints in MySQL ?
Constraints:- Constraints are the utilities that restrict ingression of data into the table if the designated co...
Welcome to FindNerd
Today we are going to discuss fadeToggle() method in jQuery.
Firstly let know what use of fadeToggle() Method ?
In fadeToggle() Method if the elements are faded out, fadeToggle() will fade them in and if the elements...
Extreme Programming (XP):- A software development approach which assists better software standard and responsiveness to modify customer requirements.
Being a part of agile software approach, it encourage frequent delivery. Development circle/...
First of all check if the checkbox is already checked or not.
jQuery('#my-checkbox').is(':checked');
If it is not checked then do it checked.
jQuery('#my-checkbox').attr('checked','checked');
And if it is already checked then make...
Previous Git Blogs
1. Intialize git repostiory
2. First Commit
3. Two tree architecture and Three tree architecture
4. Best basic practices for writing commit messages
5. Viewing the commit logs
6. Git Basic WorkFlow
7. What is HEA...
In my previous blog I have explained about Methods to locate elements through Appium. In this I will guide you to locate elements through UIAutomatorViewer.
Locating element is one of the difficult task in mobile automation. We can use UIAutom...
Step-1 Go to browser.
Step-2 Click on Question Mark which is located under your (?) in the top right corner of Odoo.
Step-3 Click on about and Updates,Update Apps List and Apply Scheduled Upgrades.
Step-4 Click on acti...
Step 1: Create an Input, drag and drop CSV File Input from Input step into your Transformation.
Right click, edit the Input file.
Provide File Name, click on Get Fields, then Preview to have a look in your input file.
Double check ...
Management Data warehouse is a database containing a warehouse of data useful for managing SQL Server. Ensuring the excellent and high performance for all the users and customers is a high priority for Database Administrators. Troubleshooting SQL...
This post will help you to attach the page information to URLs, lets assume that If you want to store a small fragment of information to the URLs in such a way that the information should be available to anyone who is accessing the page.
The in...
Some applications are only made for tablets. So in order to restrict the application to download only in Tablets, we can use supports-screens tag inside the manifest file inside manifest tag.
<manifest ... >
<supports-screens an...
In below example, I have written Python script to remove 'provision' from selection list when configuring Cash Flow Codes . see below python code and use it in .py file :
def fields_get(self, cr, uid, fields=None, context=None):
res = super...
In parent level class we have to go in python file and add some function and script.
In below example I have written Python script to Include only parent level class. you can use below python code in .py file :
def addMaterialsRecursive(comp...
To add followers linked to new partner fields first we have to go in .py file (Python file) After that we have to decide where we want followers linked to new partner fields and then write start to end python code in .py file:
for field in fi...
Previous Git Blogs
1. Intialize git repostiory
2. First Commit
3. Two tree architecture and Three tree architecture
4. Best basic practices for writing commit messages
5. Viewing the commit logs
6. Git Basic WorkFlow
7. What is HEA...
Welcome to FindNerd. Today we are going to discuss the pattern making for regular expersions in php. We use the inbuild functions named preg_match and preg_match_all
to find the matching one from the string. Before starting using this functions ...