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

How to apply style to a cakephp debug console

We have cakephp debug on or off option in core.php file, if debug is on then all errors and query will show at the bottom of the page. we can give it some different style or UI so that it will be more readable. we can apply css like below code ...

Layout for tablets in Android

To target your some designs to other devices like tablets, there are solution for typical screen width: For every case, your UI might not look perfect specially for the case of tablet, so you need to adjust your layouts/designs. Then you have ...

How to include .so files in Android Studio project

From here you can learn to include or integrate .so files into your code. Files that contain the .so file extension are most commonly used for shared library files. Programs written in the C and C++ language load a shared library when they are la...

Flipping of the content and image on hover using CSS3

If a user want to flip his content or image on mouse hover using css3. He can use the code below. In below example, we have two sided view. HTML : <div id="container"> <div id="card" class="shadow"> <di...

How to remove a HTML element using Jquery

Hello reader's, Below is the example to Remove the HTML element using Jquery If you having trouble with such issues, then use the below code. Here is the HTML <p>Write your text here.</p> <p>Write your text here.<...

How to calculate distance between two location by PHP Code

If you would like to calculate air distance between two location without any API or mysql query. You can use below code to get distance between two location. $distance_one_latitude = 30.364267; $distance_two_latitude = 30.324860; $distance_o...

How to Get height width or element using Jquery

Hello reader's, Below is the example for Getting height width or element using Jquery If you having trouble with such issues, then use the below code to resolve such issues. Here is the HTML <button id="dummy-height">Get div Heigh...

Using database session handling in Code PHP

PHP is one of the scripting language. In which session handling is one of the key thing mostly using in web application. Suppose you build a website and allow to login everyone in website, You need to track user every step until they log out o...

How to list all child pages of current parent page in drupal 7?

Suppose I have parent pages A1 and B1. A1 has child pages A1.1, A1.2,A1.3 and B1 has child pages B1.1, B1.2. I want to list all the respective child pages on A1 and B1. In every child page I have an image and a title. These 2 information needs ...

Add logo in theme customize option in wordpress

Hello reader's today we discuss about "Add logo in theme customize option" in wordpress. Open your function.php and paste the below code :- /** * Add logo in theme customize option */ add_action( 'customize_register', 'themename_customiz...

How to get distance by mysql query

If you would like to get distance between two places with mysql query. You can use below query to find air distance between two places. Example :: Suppose you want to get air distance between all employee's home and office location. To run th...

How to send bulk emails in Drupal

Drupal has hook_mail function to send emails. This function is capable of sending email to a single user. If we need to send an email to multiple user then we can write a function and call this function within foreach loop. This should be a simp...

How to Get Current Latitude and Longitude Location in Drupal 7

I need to get my current location Latitude and Longitude in Drupal7. Which module should I use and what will be the process of using that module?

Mono : open source framework for .net

Mono Mono is an open source development platform which is based on .net framework. It provides base to developers to build a cross platform application which results in improving developer's productivity. components of Mono C# compiler...

Inheritance in PHP

Hello Readers , Here's the explanation of concept of Inheritance in PHP. What is inheritance? Inheritance is nothing but a design principle in oop. By implementing inheritance we can inherit(or get) all properties and methods of one cla...

PaginatorHelper in CakePHP

Cake php provide inbuilt pagination we can use this by using Paginator Helper. To use pagination first we need to use Paginator Component public $components = array('Paginator','Auth'); now add the below code in your controller here i am us...

PHP Copy Files

How to open and read PHP files have been discussed in previous blog: http://findnerd.com/list/view/How-to-open-and-read-files-with-PHP/3157/ Now,we will discuss about copying a php file. In php,we can Copy files from source to destination...

Typography for Responsive Design or RWD Typography

Typography for Responsive Design or RWD Typography Hello Friends, As we all know that, Responsive Design is a very popular technique and most using concept in web design. A responsive design giving us a flexible layo...

How to Disable Comments Section on Wordpress Page

You need to follow below step to remove comment section in WP Page. 1) Make admin login on Wordpress. 2) You can view "Pages" menu on left panel. On mouse over you can view "All Pages" & "Add New" options. Please click at "All Pages". 3)...

How to Create Cross-Browser Custom Upload Button with Jquery

Hello Reader's In this article I will guide you to create Cross-Browser Custom Upload Button With JQuery If you facing any problem for upload button use this code. Here is the HTML <div class="Container"> <label>Upl...

Setup Facebook app invites of an iOS app

Hello reader's ! If you want to setup Facebook App Invites of an iOS app then follow these steps. Using Facebook graph API , make a request to get facebook app_access_token (app_access token is not login access_token) . I m using google ...

InterNationalization in CakePHP

Hello Readers , Today we will learn about the concept of " InterNationalization in CakePHP " . "InterNationalization" simply means if you are making an application and you wants to make that applications to reach a larger audience to cater...

How to touch UI from background or seperate thread ?

We know that Android UI or views can be touch from Main thread only , but if we want to update some UI from background or separate thread then we have to use one of the following way :- AsyncTask has 4 override methods that are onPreExecute(...

Error message upon submitting quiz

I have a WordPress Quiz Master Next Plugin set up and it gives a certificate. When any user finishes the quiz it gives an error message is as below: Warning: file_put_contents(wp-content/plugins/quiz-master-next/includes/certificates/mlw_qmn_q...

Caching in Apache

Caching is an important feature to improve the performance of Apache server. By creating the caching rules effectively, we can conserve a good amount of resources and the content access by the user is significantly fast. Apache offers several met...

How to hide/show Toolbar when list is scrolling?

This tutorial describes how to show effect when list is scrolling up and down. Hiding Toolbar and any other views when list is scrolling down and showing it again when its scrolling up. In this tutorial we are using RecyclerView and Tollbar to ...

Problem in selecting Radio Button inside Repeater Control

Problem in selecting Radio Button inside Repeater Control:     Incase we are using RadioButton inside a Repeater, one common problem which we face is that we are not able to select single RadioButton, i.e. If we select one ...

HTML Parsing

HTML Agility Pack Html Agility pack is a free and open source library that can be used to simply read and write HTML documents. Html Agility pack constructs a Document Object Model (DOM) view of the HTML document being parsed. Developers can...

How to submit aui:form with ajax in liferay 6.2?

Basically we work with Portlet Application development and need to submit form and display the data in JPS page or need to store into database. In this blog I only illustrate simply submit the form data using ajax to portlet action methods and...

How to remove product tabs

Hi, If you want to remove all tabs or any particular tab for example description and reviews, then use the below code in the functions.php: add_filter( 'woocommerce_product_tabs', 'FindNerd_remove_product_items', 58 ); function findnerd_remo...

Integrating Cloud Front with existing S3 Buckets

Few days ago I was facing an issue that the assets served from the S3 buckets are not as fast as I wanted them to be and then I heard about a solution from AWS that is Cloud Front. So I am writing this blog so that you get to know that how ea...

Configuring i18N Api in rails internationalization

Rails Internationalization : Configure the i18n Module As we all aware that whenever we use term web, it refers to globalization of application. For globalization, your application must support multi-language support. In ruby i18n provides t...

How to install yii2 via composer on linux

Before installing yii2 we need to install composer for install composer runthese commands curl -s http://getcomposer.org/installer | php mv composer.phar /usr/local/bin/composer now for install yii first locate to your web root filder ...

Android Lollipop Navigation Drawer Using AppCompat 21

This tutorial is very useful if you are using material design navigation drawer. In Android's Lollipop navigation drawer it provide smooth animation when we swipe across the screen from left edge. You may use to this same functionality in older v...

woocommerce- remove orderby dropdown for products

Hello again, In this tutorial I will guide you to remove or edit the orderby dropdown for products, so if you have any such requirement follow the below code. If you want completely remove the drop down and ordering options, add below single ...

How to add Table in HTML Editor with JavaScript

Hello all, While working with HTML Editor, we wanted to add a functionality by which user can create table inside the HTML Editor by just clicking the button. We added this functionality by following these steps : 1.Firstly when user cli...

Simple Parallax Effect with smooth scrolling Jquery

Hello reader's, Below is the example for Simple Parallax Effect with smooth scrolling Jquery If you having trouble with such issues, the use the below code. Here is the HTML of Scroll trigger <div class="carousel-indicators"> ...

How to find a record anywhere in SQL Database

Find value in all tables in a Database Some times we know the value which is in our database, but we don't know the Database architecture and mapping with our code base. So if i want to know that where a particular value store, we can use belo...

How to upload two separate files in php

Hi if you want to upload two separate files from one single form to be uploaded and with a for simplest code Look at mine code. The form will have two separate input files but you need to name them common, ex 'files[]' I'm using 'upload[]' in ...

Basics of LINQ To XML

Getting Started With LINQ To XML:     Before starting with LINQ To XML,I am assuming that we all are familiar with the LINQ basics, incase if someone has no idea about it, he can visit the following url of my previous blog ...

0 width html character

0 width html character The 0 width charcter (&#8203;) is displayed on database as "". Even if we do replace or index of , we wont be able to see this character. This can be seen if you paste it in notepad++. To Handle this : privat...

Android dialog with Action Bar using Tool Bar

Android Toolbar widget is the new UI android components available in AppCompt v21. It works just like action bar. It can be used as action bar in a dialog with support from API 7 onwards . This tutorial helps to create a toolbar in android dialog...

How to unlink the selected link in HTMLEditor

Hello all, While working with HTML Editor, we wanted to give a functionality to user where He/She can selected a link inside the HTML Editor and he can Unlink it. To do this, we have this block of code.: var current = window.getselection...

Application is getting stuck when changing numbered or bulleted list.

Hello all, While working with HTML Editor I faced an issues that, Application was getting stuck when changing elements with contenteditable="false" to numbered or bulleted list. To change a multiline into numbered or bulleted list, we gene...

How to avoid horizontal scroll in HTML editor

Hello all, working with HTML Editor, i came across to situation where we getting a horizontal scroll bar when we enter data in the numbered list line having width higher than the Editable Div. To solve this issue we have this block of code....

Custom Checkbox Button

Hello Guys This article will guide you To Create Custom Check box by using simple HTML and CSS. Here is the demo of custom check box Here is the HTML <input type="checkbox" id="1"><label for="1"><span></span&g...

How to bind a service with android components .

Sometimes when we are working with service then we want the service to communicate with android components like activity.We need to accomplish this task to bind service to an activity.This type of service called android bound service.Once servic...

Jquery Chaining

Jquery Chaining:     Till now we know that Jquery statements are executed line by line i.e one line after the another, but there is a technique that allows executing multiple Jquery commands in a single line just one after ...

Functional Testing

Functional Testing: Functional testing is mainly used to verify that a S/W application validate and functions perfectly corresponding to design specifications.Functional testing is used to check the application functions menu functions, text i...

Jquery Form Validation in Asp.Net

Jquery Form Validation in Asp.Net:     For form validation first we have to design a form in HTML. Example: <form id="form1" runat="server"> <table border="0" cellpadding="0" cellspacing="0"> <tr&...
1 253 292
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: