Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

How to create custom module in joomla

A module is light weight extension which pulls information from database or from joomla components.It can be placed in any predefined module position within joomla template. For Creating any custom module we need to create four basic files w...

Viewing the commit logs

Previous Blogs Intialize git repostiory First Commit Now viewing our past commit logs we do with git log, and this will show us the log of commits that have taken place till now. naveen@naveen:/var/www/html/RND/symfony_sites/s...

Cakephp ajax pagination using jquery

Using default pagination helper in cakephp. <div class="paginator"> <?php echo $paginator->first(' First ', null, null, array('class' => 'disabled')); ?> <?php echo $paginator->prev('Previous ', null,...

Risk Management?

Risk management is the recognition, analysis, and prioritization/arrangement of risks (defined in ISO 31000 as the effect of uncertainty on objectives) . It is trailed by coordinated/synchronize and low-budget application of resources to reduce, ...

Replace or override function on a Liferay native portlet

Liferay have several ways to modify the functionality of a native Liferay portlet and you can extend the functionality. Liferay provide most hooked functionality is described by using the liferay-hook.xml file located in /docroot/WEB-INF directo...

Difference between view and task in joomla component

view stands for component view in joomla any component have multiple views for e.g default component. like- com_users have multiple views(register,profile) inside user component. so we can call any view using below url. index.php?option=co...

Upload File using Aajx

Sometime you need to upload the image without refreshing the page , in that case you can upload the image with the help of ajx using FormData Objects . To achieve this lets create a form in HTML to upload the file. <div class="control...

How to create error log in cakephp

For write error in a file we use error log. In cakephp we can create error by using keyword CakeLog. For example try { //code here } catch(Exception $e) { CakeLog::write('error1', $e->getMessage()); ...

How to send email using joomla

We can easily send email in joomla using $mailer = JFactory::getMailer(); which invoke jMail class. It returns a reference to the JMail object.Below is the code which define how to send an email in joomla. -Invoke JMail Class $mailer = JFa...

Program in c to print 1 to 100 without using loop

in this program of C language we are not using the any king of loop,we are printing the numbers without loop. #include int main(){ int num = 1; print(num); //it is a function which is calling the value of pri...

Deploy project on tomcat start without project name

When we deploy project in tomcat, by default its run as http://<ip>:8080/warname/index.jsp But when we use domain name and wants that on running tomcat automatically the projects main page is opened, we simply need to add following...

How to use Callback Function in jQuery ?

Welcome to FindNerd, Today we are going to discuss on Callback Function in jQuery. Firstly let know what is the use of Callback Function ? This function is executed after the current effect is finished. In simple way we can say that cal...

Kaleo workflow in custom portlet

Liferay provide default workflow for inbuild portlets but we can use our custom portlets also. So, I here for you to implement workflow in our custom portlets and make assist of the activity. Add entity in portlet service.xml regarding your w...

How to convert string to int without using library functions in c

here we are converting string values to the integer without using library functions. #include int stringToInt(char[] ); int main(){ char str[10]; int intValue; printf("Enter any integer as a string:...

How to create Zoom-In & Zoom-Out function in android

If you want to create Zoom-In and Zoom-out of an image using Touch events function check my below example. In below example First I have created a main layout named xml.layout then in xml.layout I have added 2 attributes, first is FrameLayout att...

Using AJAX in ASP.NET

Ajax Calls in ASP.NET For removing postback in web page you use 1 Update Panels Update Panels are used when there is partial postback of page can happen. 2 Ajax Calls If you want to minimize postbacks to the extent Ajax c...

Business Requirement

What Is Business Requirement ? In the software development lifecycle, business requirements is a stage in which simplifies the requirements or demands of the ultimate consumer. This is very helpful for the designer to design the software or ...

lastIndexOf() method in JavaScript String

JavaScript String lastIndexOf() method : The lastIndexOf() method returns the index of specified value where it last occurred. If no value is matched then this method returns the -1. As it is string the index starts from 0. Syntax of lastInde...

Slide menu application in iOS.

Hi Friends, I know there are several applications which are using Slide Menu option. You can find several libraries or classes in Objc to build an app like that. Here is the most easy and customizable class to get it. Its name is SKSlideVie...

indexOf() method in JavaScript String

JavaScript String indexOf() method : The indexOf() method is used to return the index value of specified string. It will give the index of string comes first from the start. We can also start searching by skipping the number of characters. If val...

Add nested portlets through code in liferay

Hello Guys We can add nested portlets through code in liferay. Liferay provide this funcationlity, for complete example I will assume that you want to add nested portlet to current page using another portlets action handler. Add these meth...

How to load module within a component in joomla

This method is really useful when any user want to add module inside component.There must be situation where user need to display specific module for component below is the code which will works: $position = 'typemoduleposition'; $modu...

How to use stop() method in jQuery ?

Welcome to findnerd, today we are going to discuss on stop() method in jQuery. Firstly let know what is the use of stop() method ? So basicaly stop() method is used for stoping animations or effects before it is finished. syntex of stop(...

How to fetch data from database in php ?

Welcome to findnerd, today we are going to discuss fetch data from database in php . In this blog you can fetch data from database . Firstly establish a database connection Use the mysqli( ) function to established connection to the MySQ...

How to use Intent to send data from one Activity to another in Android

Below I have written the code for how to send data using Intent in Android from one Activity to another. Intent i = new Intent(getActivity(), UploadWeldService.class); i.putExtra("mCapturedImagePath", mCapturedImagePath); ...

How to use Ext.define in ExtJS 4

Ext.Define function is a part of EXTJs. ExtJS is a advance javascript framework, It used to create java class and their method by using javascript. I write the Ext.define method below : Ext.define ( String className, Object data, Func...

Servlet request processing by Web Server and Servlet container

1. Web Server A web server is basically used to give the response to the request specified by the browser (user). It basically uses HTTP protocol for the transmission of data. eg. A user can request for some page by entering the web addres...

Validation in PHP?

Validation basically meant for test or check the input values which are submitted by the any user while processing any form or process. PHP allow us two kind of validation there. Client-Side Validation These Validation we performed on ...

Client Side and Server Side Controls

In .NET Framework we have two types of controls: 1 Client Side 2 Server Side   Client side controls are HTML controls usually used for client end. Ex : <input type="button" />   Server Side controls ...

How to use slideToggle() Method in jQuery ?

Welcome to findnerd, today we are going to discuss on slideToggle() method in jQuery. Firstly let know what use of slideToggle() method ? The jQuery slideToggle() method toggles between the slideDown() and slideUp() methods. syntex of sl...

Writing a file in PHP

File handling in php allow us to make operation to write in a file .So we can write a new file or we can append text to an already existing file.For this we have fwrite() function in PHP. Syntax is : - fwrite(file,string,length); pa...

How to use prepend() method in jQuery ?

Welcome to findnerd, today we are going to discuss on prepend() method in jQuery. Firstly let know what use of prepend() method ? prepend() method is used for inserting at the beginning of the selected elements in jQuery you can see b...

natsort php

Welcome to FindNerd. Today we are going to discuss the function natsort. There are many sorting function available for different types of sorting like usort,asort etc. natsort uses natural order algorithm. It is nothing but to sequence element a...

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...

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...
1 161 269
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: