In this tutorial, We are providing you C++ questions and answers. The content here will help all the Freshers as well as experienced people to get through with their interviews for software industry on campus or off campus. For any person who wan...
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
...
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 ...
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...
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...
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.<...
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...
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...
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...
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 ...
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...
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...
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...
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...
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...
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...
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
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...
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)...
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...
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 ...
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...
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(...
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 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...
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:
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 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...
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...
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...
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...
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...
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
...
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...
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 ...
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...
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">
...
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...
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 ...
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
The 0 width charcter (​) 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 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...
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...
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...
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....
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...
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:
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 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...