Welcome to FindNerd
In some situation we have to detect the browser and perform the different operations on different ones. If we talk about the WordPress then there are many global variables available to detect the browser on which you are pro...
WebDriver Synchronization
The process of matching speed of automation with the speed of application is called as Synchronization.
In Web Driver we can Synchronize in different ways, one way of synchronizing the Web Driver is by using sleep...
Selenium Web Driver
Web Driver is just a JAR file which contains collection of interface and class.
Web Driver is a web based automation testing tool which uses core Java API to drive the test on the browser. Technically Web Driver is an in...
Im using FPDI library for writing existing pdf file but my code is writing only 1 page ..why? please
require_once '../includes/fpdf/fpdf.php';
require_once '../includes/fpdf/fpdi.php';
$pdf = new FPDI();
$pageCount = $pdf->setSour...
Welcome to Findnerd. We all knows we can build our own custom taxonomies and insert the terms in taxonomies. There is one function available to insert the terms in perticular taxonomy named wp_insert_terms which takes three parameters. First one ...
ISO/IEC/IEEE 29119 is a guideline documentation (these documents are not compulsory) which is an internationally agreed standards that can be followed in any software development life cycle or organisation. Any company following these standards ...
Most used concept of the WordPress is custom taxonomies as well as custom post. We can build our own custom post as well as taxonomies.
If you want to list terms of your custom taxonomies then you can simply use function named get_terms which ta...
Welcome to Findnerd. One of the most used plugin named custom form7 which is useful to manage the contact us page of the website. We need to show the captcha in contact us form. If you start the customization in contact form 7 then it is very lon...
Hello Friend's
I made a shape using the pencil and line tools in Adobe Illustrator, and now I want to fill the inside of this shape with a pattern. I use the clipping mask but every time I use clipping mask, it just clips the pattern into the ...
Welcome to Findnerd. We are using wordpress function named register_taxonomy to create a new custom taxonomy. There are many in-bulid taxonomies like categories,tags and Link categories. This functions takes three parameters. First one is name of...
FrontEnd:
Include jquery.Jcrop.css, jquery.Jcrop.js and jquery.Jcrop.min.js
Open an image in a div with a form. Take 4 hidden input fields:
<input type="hidden" id="x" name="x" /> // x coordinate of the image
<input type="hidde...
array([0]=>stdclassobject (['s_no']=1) ) is returning from ajax and i want to add this s_no's value in one textbox .....please can any one help me in jquery syntax...this is my ajax code....
Hey guys i am working on the prototype like this:
https://www.youtube.com/watch?v=aGwqi5wK5ZA
how can i validate the characters like in this game.
And if he types wrong he is not allowed to type, Like if I need to type"Hello" , and user p...
Hi mates! actually I am working on woo-commerce site but i want to display product of other sites like amazon and want to earn money. is some one have any idea, how should i build that site??
Target:
To input the records of students. Display the whole record. Display the name of the youngest and eldest student.
I'm having problem in achieving the third target: If I enter 3 or 5 entries the result is fine but as soon as I enter ...
Hello Friends,
Here I am writing code to set wallpaper in android.
Its very applicable in many scenarios like after downloading an image we have to give an option to set it
as wallpaper or make functionality to create App wallpaper to pho...
i want to share specific portion of my web page using fb share button .. bt now share button share default content ......... here is my code please help me ......... http://pastebin.com/u3fu2e9h
Hi Friends...
Sometimes we need to disable back button in our application mostly for security purpose.
So here is the solution. We just need to implement onBackPressed() method but returns nothing .And if you want to do some other task on ba...
Has anybody here worked on BLE (bluetooth low energy) ?How is it done in android and how it can be implemented? I want to implement it.Sharing any suggestions, advices, experiences, etc for working on BLE messaging system would be appreciated.
Hello.....
Could anyone suggest solution for this question?
-> I want list of all my Facebook profile videos that I can see on my profile even of other friends who have tagged me on their videos.
How can I do it?Please help...
Hello Reasders
Here, we protect the directory using .htaccess file
Before doing this, we will first need to create a .htaccess file(.htaccess file is the configuration file for the Apache HTTP server) which can be used to affect the directo...
I’M LOOKING FOR A GENUINE WEB DEVELOPER Hey programmers, I need an experienced developer who can develop for me a custom database driven music website. Major tasks include: 1. Developing a custom video/audio channels 2. Create Artiste profi...
Hi..I want to create a chat app.I'm using Strophe js with and xmpp server.I send a message to another client(Spark) and after that i can send one message from Spark to strophe client.Here is my code.I wil appreciate any help :)
var connection ...
Hey guys facing some strange problem in wordpress please help
I have multisite setup like career, media, partner, blogs and the main site when i am adding any post to blogs subsite its automatically added to the main site post.
How to get r...
Strong Parameters in Rails
Strong parameters are used to prevent the action controller parameters that are used in Active Model Mass Assignment. If you want to use them, you need to white-list them. It is basically used as a security for sensiti...
When I run this method I get an error of socket Exception.
(Permission denied) i.e,java.net.SocketException: socket failed:
Can you please me to find its solution.
public void run() {
// TODO Auto-generated method stub
URL u...
Step by Step installation of laravel 4.x.
Step 1:
For laravel first we should have composer. So for composer download composer.phar and if you use window then you should use composer window installer.
Step 2:
After uploading compose...
The process of combining rows of two or more then two tables based on a common field between them are known as SQL joins.
Types of SQL joins :
INNER JOIN: It is returns rows only when at least one row matches from both tables.
LEFT...
Middleware is one of the important part of any application. The code which we want to stick between request/response life cycle which is not necessary part of our application logic. That is called as middleware.
Let take a example to know more a...
Portability testing:- ISO 9126 defines Portability as a process of testing the ease with which a software/application can be shifted to the intended environment i.e. moving from Windows 7 to Windows 8. Portability testing is required when we want...
default_url_options in Rails
Rails has a url_for helper, which is used for generating hyperlinks. So many times we want that a certain thing or parameter needs to be passed with each link or request to tell the controller to do certain thing...
Magento provides many payment methods by default but sometime we need to add some custom payment methods . So in this blog I am explaining how do we create basic custom payment method.
First need to understand the structure of the files - ...
Selenium IDE
It is a web based automation testing tool which uses selenese command to generate test scripts, it is a UI based Record/Playback tool which works only in open browser.
Selenium IDE is implemented as a Firefox plugin i.e, we ca...
Hello guys..I want to develop a xmpp chat app in angularjs,I want to use strophe js as a library.I've tried to look at some examples and i've read documentation about strophe...Does anyone have an example ?
Use of Flash in Rails
In rails, flash is also used as a session management method. Its feature is that it gets cleared after every request. It is basically used when we just want to show a message in the next request or view and don't want t...
If you want to detect and validate credit card numbers in jquery you can use the below code.
In this we use client side validation to verify the credit card type or user using valid card number.
It will display the type of detected credit c...
In Javascript, when we define any variable(string, object, integer, function etc..), some memory is allocated with it and freed when they are not in use by garbage collector and this process is called garbage collection. This whole process we can...
Hi
When I click on resend email verification, custom theme changed to default classic theme.
Environment Set-up :
Java - Oracle JDK7
Liferay - Liferay 6.2
Thank you in advance.
The testing which can be performed in a document is known as Documentation testing and is part of non-functional software testing.
Documentation plays very important
role in the success of Software. If
you have proper documentation of
yo...
As I use EditText as default password mode I face a problem that text font(password mode) is diffrent then text font(text mode). I havent found any solution.
Can you solve it?
I am trying to call getBitmapFromURL() methos from onCreate() of my Activity and getting NetworkOnMainThread Exception.
Please help me to solve this problem.
public static Bitmap getBitmapFromURL(String src) {
try {
...
When I am loading 20+ images in listview from database I am getting Out of memory exception.
I have already resized bitmap and using scaling properly in my bitmap, but still I am getting this issue when loading more images in listview, facing...
Recently I updated my Firefox from version 30 to 39 . But after updating my Firefox to version 39 test case written for a project which make use of selenium starts failing.
The reason being selenium is unable to obtain stable connection while th...
Hello guys
Here, I have created a URL for registration in velocity template .
Follow below steps to implement in custom liferay theme.
Step1: put below code in Portal_normal.vm file or inside your div or table in Portal_normal.vm.
#se...
Android Apps Test Case Scenarios :
Go to settings, scroll down, tap on developer options, select dont keep activities. Then check the app. The data should come properly.
Change the orientation of the phone. Check the app. The data should c...
Risk in software project is any anticipated unfavourable event or possibility of incurring loss in the Project while the project in underway . It can hamper the successful and timely completion of project.To Identify the risk in the Project is al...
If you want to make Split Invoices in OpenERP(Odoo) follow the below mentioned steps:
Step-1Install 10n_ve_split_invoice module.
Step-2 After that we have to customised 10n_ve_split_invoice module.
In below example, I have custmozied .py file....
Hello readers! In this Blog we will understand how can we create new database and new table in SQL Server using .Net . SQL provides statements to create new databases and tables. In the Code below we are executing those statements to create
...