menu Slider

I need to set right side menu slider

How to deploy portlets to Liferay

Portlet is application of the liferay portal, In which we write the business logic of the application. Follow below steps to create and deploy the liferay portal : Step 1: Create liferay portlet in eclipse. Step 2: Right click on portlet...

A program to find out NCR factor of given number in C language

ncr means : combination in terms of mathematics.We have to find out the perfect combination of given values. In the mathematics nCr has defined as nCr = n! /((n-r)! * r!) #include int main(){ int n,r,ncr; printf("Ente...

Anomaly

What Is Anomaly ? In the software testing field, anomaly is a kind of output or result which is distinct from the prospective output. By using a report or document we can make the result of this performance. Sometime an anomaly can also apply...

array_pad function php

Welcome to FindNerd. Today we are going to discuss the function array_pad which is used to build another array by specifing the size of the array and value to be added. You can take an example for the same. Please have a look. <?php $base...

SQl:Create,Drop and Select Database Commands

1. CREATE DATABASE Create database is a type of command used to create new SQL database. Here is the syntax of CREATE DATABASE statement:- CREATE DATABASE DatabaseName; 2.DROP DATABASE Drop database is a type of command used to...

How to remove Blank Rows in Google Spreadsheet?

Hi, While working on Google spreadsheet, I need to delete the blank rows from my sheet, as shown in screenshot below. In the above screenshot in column B, I have Names and after each Name there is an empty row, I want no empty r...

Reading a file in PHP

PHP File handling concept allow us to do operation with any file in php. For reading a file we have to open it using fopen() function.Now for reading this file we have a function named as fread(). fread function accept two arguments....

program to find out generic root of any number on C language

generic root means: in this we do addition of a given number until reached a single digit after addition . For example: Generic root of 784: 7 + 8 + 4 = 19 since 19 is a two digit numbers so 1 + 9 = 10.then again add 1 +0=1 So, ge...

Linear Search in DSA(Data Structure and Algorithms)

Linear search is simple search algorithm in which a sequential searching is done over all the items in a list. Every items are checked and if any match is found then that item is returned otherwise search will be continuued till the end of the...

Table specific customization

How to customize a table to your requirement. We can also apply specific characterstics for a table.To define special style for a table we can add id attribute to the table. <table id="t01"> <tr> <th>Firstname</...

Table caption

How to add a caption to a table. We can also give heading to a table making it more attractive.This can be done by adding caption attribute to the table. <table style="width:100%"> <caption>Monthly savings</caption> ...

Table rowspan

How to create cell span of more than one column in a table. To create a cell span of more than one row in a column we add the attribute rowspan to that column and designate its value.The value of rowspan determine the number of rows a cell spa...

Table colspan

How to create cell span of more than one column in a table. To create a cell span of more than one column in a row we add the attribute colspan to that column and designate its value.The value of colspan determine the number of columns a cell ...

Table heading.

How to create heading in a table. It is very easy to create heading in a table.We can do it by adding <th> tag for the content of row to be shown as heading. <table style="width:100%"> <tr> <th>Firstname<...

What is Data Integrity Testing ?

What is Data Integrity Testing ? Data integrity acknowledges to the characteristics of information or record in the database and also directly to the users, by which users inspect quality of the data,integrity and stability. Data integrity tes...

Magento install error - Exception printing is disabled

How to Solve Magento installation error ? Magento install error - Exception printing is disabled There has been an error processing your request Exception printing is disabled by default for security reasons. Error log record number: 213...

Different tools used for Mobile testing?

There are several tools available in the market which can aid in testing of a mobile application:- 1. QTP a.k.a. Quick Test Professional. 2. Infostrech automation framework integrated with TestNG , Selenium. 3. Calabash - Functional testing to...

Mobile Testing - What are the Challenges in Mobile Testing?

Following are different Challenges in Mobile testing:- 1.There are many different Mobile platforms - IOS, Android, Windows, BB 2.Further different versions of these operating systems 3.Many different screen resolutions 4.Different CPU config...

How to write a basic Plugin in wordpress

Hello reader's today we discuss about "How to write a simple Plugin in wordpress". If you want a to write own Plugin in WordPress there are some steps you must follow and these steps are mention below: Plugin name should be unique(the nam...

How to set selector in android

If you are looking to change the image or color of the widget when it is clicked or focused, Here is the code snippet that explains it:- Step 1:- set the widget in an XML file for which you want to applying selector:- <ImageView ...

What is progress Element in HTML5 ?

The <progress> Element is use to show the completeness of the task. We can use script to manipulate the value of progress bar. This tag is new in HTML5 and progress element have start tag (<progress>) and end tag (</progress>...

ASP.NET MVC : ActionResult Types

An ActionResult is a return type of a controller method in MVC. We can return various types of results as ActionResult. Here, we will discuss about some of the ActionResults available as part of ASP.NET MVC. 1) ViewResult It renders a sp...

Set title of the page for view pages in liferay

Hello Guys I here to set title of the view page in liferay. We can also set the title of the portlets. We have many ways to set page title of the liferay page because liferay provide dynamic functionality. You can add page title by using...

The process involved in Penetration Testing

The process involved in penetration testing are following:- Discovering a combination of legal/official functioning that will let the tester carry out an unofficial function. SQL commands Unchanged salts in source-visible projects Human c...

SetTimeout Function

SetTimeout function is used when you want to execute the code after specific number of milliseconds, Syntax: - setTimeout(function() { $(".thememessage").html('Code Executed after three second'); ...

How to set process in subscription module in openerp?

To set process in subscription module, first you need to install subscription module and set interval number and interval type fields in subscription module is used to set the process. You can use this function as given below def process(self...

What is difference between .attr() and .prop() in jquery ?

Hello Readers, .attr() and .prop() in jquery: Both .attr() and .prop() are jquery methods. jquery.attr() is used to get the value of an attribute for the set of matched elements while jquery .prop() is used to get the value of a property...

ASP.NET : Use of AllowAnonymous attribute

The AllowAnonymous attribute was introduced in ASP.NET MVC 4.This attribute is used for specifying those controller actions that can be accessed by anonymous users. For using this attribute we use a global authentication filter for the appl...

Create a zip with excluding folders using command

Sometime we need to create zip of the folder which contains several subfolders, but all folders are not necessary to include in zip. For such cases we will run following command - zip -r archiveName.zip folderName -x folderName/subfolder/**\*...

Comparison of Asp.Net Web Form and Asp.Net MVC

Asp.net framework is a part of .net platform for building web applications. Now, with arrival of MVC framework developers have the option of using Asp.Net Web Form or Asp.Net MVC. In this article, we will see the main difference between Asp.Net W...

ASP.NET MVC : Filters and Attributes

ASP.NET MVC provides a simple way to inject the pre-processing and post-processing logic for an action. This is achieved by adorning the controllers/ actions with ASP.NET MVC attributes. For example in the below piece of code we have adorned ...

Sending Push Notification to Android device using GCM C#

In one of my current project, I had to develop and integrate the Android Push notification functionality in my server side C# code.For this purpose, i used the Google Cloud Messaging service. Here is code for the same. public void Se...

Javascript:Prompt Dialog Box

Prompt dialog Box is used to have an input from the users or to get confirmation on any input. This dialog box is displayed using a method called prompt() which takes two parameters:- (i) A label which you want to display in the text box. ...

Images shapes

Images shapes. In bootstrap,we can modify shape of image just by adding pre-defined classes as img-rounded,img-circle,img-thumbnail.It saves a lot of time of developer as prevents them from long and confusing coding for creating different shap...

How to create different units of measure in Odoo?

To create Unit Of Measure(UOM) in openerp first install sale module and go to sale module menus in openerp and following these step given below Step-1 go to Sales Configuration menu and click it. Step-2 then go to Configuration Settings->...

Static Contol

Static Control. When we need to insert an plane text in front of form label we can do this by adding a class .form-control static class.Thus bootstrap provides an predefined class for inserting an plane text thus making it more effecient for ...

Checkboxes and radios

Checkboxes and radios. In bootstrap we can add features of multiple selection from group of choices with the help of checkboxes while for selecting one option out of many we use radios.It also provides an option of disabled checkboxes and radi...

Star rating using pure css

Hi all, Below is an example, how to make star rating using pure css. CSS - .rate { float: left; } .rate:not(:checked) > input { position:absolute; top:-9999px; } .rate:not(:checked) > label { float:right; ...

Horizontal form

Horizontal form. Bootstrap provide us the feature to align labels and groups of form controls,we can do so by adding .form-horizonal class to the form.Required customization can be done by little effort making it more user friendly and time sa...

PHP Namespaces

What is namespaces PHP introduce NAMESPACES in 5.3 version. Namespaces are virtual container/directory to organize code structure. In php we can not share same name for two classes. For example if you are using user management plugin for your...

How to create clone of any object using jQuery ?

Hello Readers, If we create clone() of any object using jquery, then jquery provides the clone() method which performs the copy of the matched element (means it copies all the matched elements as well as of their descendant elements and nodes ...

Different states of activity in xamarin.android

Hello All, In this blog we will discuss about the different states of the Activity of your application running on any device or the emulator.So the first one of the highest priority one is going to be the Active state or the running state whic...

Contextual classes

Contextual classes In bootstrap we can create color table rows and cells with the help of contextual classes such as active,success,info,warning,danger. <!-- On rows --> <tr class="active">...</tr> <tr class="success...

Explain .bind() vs .live() vs .delegate() vs .on() in jquery?

Hello Readers, .bind() vs .live() vs .delegate() vs .on() all these 4 are jquery methods and all are used for attaching events to selectors (elements). .bind(): bind() method is the jquery method and it is one of the easiest and quick met...

How to hide portlet in liferay by using javascript

When we add protlet on the page it by default set visible. Now, hide the portlet or set visible false using javascript. For this you can combine your javascript approach with the parameter approach as follows: <% String paramFromReque...

User authorization in Cakephp

In order to use the auth component. You have to add the component to the AppController. (/app/Controller/AppController.php) var $components = array('Auth'); Define $components array in your controller. public $components = array( '...

How to create Circular Reveal Effect like WhatsApp in Android

While sending a photograph/audio/video/contact through WhatsApp in Android, we have to use a attach button at the top right corner, clicking on that button makes a circular reveal effect. To show or hide a group of UI elements we called it a Reve...

How to access the private members of the same object type

In this tutorial we will see the visibility of the properties/methods of Objects of the same class, wherein same type of objects can access each other's protected/private members and also both the instances are not same. Let us create a file tes...

Creating Modals with Bootstrap

Please follow below code to create modules or popup with bootstrap help. <!DOCTYPE html> <html> <head> <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" type="text/css"&...
1 179 292