Inheritance is a principle of OOP'S(Object Oriented Programming Language) in which a user can inherit all the properties of above class. The class who inherit the another class know as Child Class and the class which is being inherited ...
What Is Structured Walkthrough In The Software Testing ?
Structured Walkthrough is a kind of static testing approach which is executed in a systematic way among the group of peer to analysis and consult the professional appearances o...
The navbar menu is used in header or footer and in many cases in the content also. It is responsive by default in bootstrap and take size according to screen size.
The navbar get collapsed in case of small devices like mobile phones and there is...
We can add html dynamically to our website using jQuery.
We use to add html dynamically like when we want on some click function or we want to some other event to add boxes and any other thing.
We can use function to add
function appen...
To show the image sliding ion background i have used two DIV here one act as a wrapper and another contains the background image that slides.
In the .wrapper div i have added "overflow:hidden" property that will make this div to hide...
We can dynamically add class to the html using the jQuery.
It is used when we are adding html dynamically or when at an event we want that css to be called.
We can add the css class simply
$("button").click(function(){
$("h1...
There are different type of methods that we can use in cakePHP to add functionality.
1. constructClasses()- This method load the model required by the controller. This can be used while in the command line prompt.
2.referrer(mixed $default ...
Regardless of any given circumstance, “Team Work Works!” It is not that students are unequipped for studying on in isolation/solitude, it is only that when they study in coordinated effort the synergy dri...
Hello Reader's! Today in my blog I am going to explain about Price Slider. While shopping every time you see a price slider for filtering data from database. Price Slider is very common in modern website and mainly use of this of an eCommerce...
In the below example I have created Expanding toolbar in android. Here first I have created CoordinatorLayout in activity_main.xml layout then I have added RecyclerView, CollapsingToolbarLayout and Toolbar with in CoordinatorLayout, In MainActivi...
We can add the functionality of browsing images and let the user upload images of its choice to his account.
For this functionality we first have to give a browse button in the registration page and then the functionality to it of adding the i...
Magento: Remove Product Images in Magento through programming:
There is a case when we need to create our own extensions or we have to customize the module, then in that case we need to write custom code for deleting images. Following code wil...
Simple Forgot Password System In CakePHP Via Email
Hello Readers,
This blog tutorial will explain how to create a simple Forgot Password system in CakePHP where a users will type email in input box & retrieve new password in their regis...
With the help of jQuery, its easy to remove any html within a single click. jQuery is having 2 methods to remove html elements.
remove() - Removes the selected element (and its child elements)
empty() - Removes the child elements
...
I am writing this blog, because there was a case when I have to send email without the link. For example: If in email I send some data:
<p>Your Email id is: amuk.saxena@evontech.com.</p>
Now when the email is sent to gmail, then...
Hello readers, today we discuss wordpress pagination in Home Page or Front Page.
WordPress has the ability to split lists of articles, content, discussions or a single content into multiple pages "paged" navigation.
WordPress offe...
Icons and splashes both are specified to some platform like android, iOS, windows, blackberry. We can define a icon or splash for a particular platform by the following ways:
By specifying the platform attribute:
<icon src="ico...
In the below example I have created a Selected Item from spinner in android. Here I have added first aTextView and Spinner in activity_main.xml layout, after then you can see in MainActivity I have used String class and created a ArrayAdapter. I ...
In many cases we do not want that the user can select the text of the website for privacy reason.
Using CSS property, we can restrict user to do so.
Here is the code below:
.disable-selection {
-moz-user-select: none; /* Firefo...
Wireframes are basically pictorial representations that is widely used across varied industries for showcasing the software and its features.Its an important part in Requirement Gathering Phase. Reading is a boring job, why not instead of m...
What Is Localization Testing In Software Testing ?
Normally localization testing is executed to confirm the quality of any application's or product’s localization for a specific goal or situation accomplished just on the localized ve...
In SharePoint, each project has its own tasks, assignments, team members etc. While creating projects in SharePoint we have to also create tasks, assignments, team members and custom fields.
Here below is the sample code for creating assignmen...
1. It is must to import “NoticationCenter” so that we can use “notificationCenterVibrancyEffect”
import NotificationCenter
2. At the time of cell selection do following code in delegate method...
Hello Reader's! Today in my blog I am going to explain how you can convert PDF to JPG image using ImageMagick in PHP. ImageMagick is a open-source software for displaying, converting, and editing image files in PHP.
First you need to...
This blog tutorial will explain CakePHP find condition & query examples. let's take a look at some CakePHP find conditions. First, a very simple CakePHP find query that retrieves all records from the User model. Example: $this->User-&g...
To send the email using the CakeEmail we first need to configure the smtp configuration that is in the Config/email.php.
public $smtp = array(
'transport' => 'Smtp',
'from' => array('youremailaddress@abcd.com' => 'My Site'),
...
Here is small example which will give you a basic idea about CakePHP find & save operation.
<?php
class PagesController extends AppController {
public $name = 'Pages';
public $uses = array('User');
public function sh...
Forgot password functionality we usually on the login page of many website.
It is used when we we forgot our password and want to recover it.
In this blog we are going to recover it by sending an email to the registered email with user acco...
Hello readers, if you are looking for a code to upload multiple file in CakePHP where user can upload more than one image through input browse box, then your are in a right place i.e findnerd.com.
Here is a quick tutorial which will explain ho...
Hi,
In this tutorial we can learn that how to make reset password functionality in CakePHP . Most of the times users forget their password for their login credentials, so reset password functionality gives them the authority to change their us...
How to resolve Mcrypt extension is missing in Ubuntu 14.04 ?
When I was login to phpmyadmin, then I saw the message "mcrypt extension missing"
Try following command:
$ sudo updatedb
$ locate mcrypt.ini
It will show you l...
What friendly gem can do?
Friendly_Id is the "Swiss Army bulldozer" of slugging and permalink plugins for Active Record. It lets you create pretty URLs and work with human-friendly strings as if they were numeric ids.
Ra...
Hello Readers,
To make full page background slide show I have used the below mention code. The code is very simple. If you want full background slide show in your website you can easily use this code.
Here is the demo for background images ...
This blog will help you to understand how to add files to your git repository:
Step 1: Move the files into local directory which you want to upload to Github that was created when you cloned the repository.
Step 2: Open and change the curre...
Install Github
First update the apt-get package lists with this command apt-get update then install git.
$ sudo apt-get update
$ sudo apt-get install git
Now git has been installed on Ubuntu, lets setup git.
How to set up Git
No...
Hello Readers, this blog tutorial will explain how to use naming convention in CakePHP.
CakePHP have its own naming convention standards to be used during PHP application development.
If you want to create application using CakePHP, first you w...
There are two kind of for loops in PHP, one is for() loop & other is foreach().
The for() loop has three sections: init, termination & increment.
Syntax:
for (initialization; Condition Check ;increment) {
code to be executed...
Cakephp Ajax Pagination:
This blog will help you to paginate page using ajax. First of all create Users table and add some data in it, now create its model, view and controller by following command:
$ cd /var/www/html/cakephp/app
$ /var/...
Hello Reader's if you are looking to append the text boxes in your html form then Angular JS offeres you a very better way to do this than others and It is, We can append a textbox element in html a form dynamically&...
Cakephp's bake console is the fastest way to create models, view and controller. In order to create it first you need to create the table. In this case I am creating Users table:
CREATE TABLE users (
id INT UN...
Cakephp: URL rewriting is not properly configured on your server error. How to resolve it on Ubuntu 14.04?
I am posting this blog which will help you to resolve the issue (URL rewriting is not properly configured on your server) while installi...
This blog will help you to understand how to install securely phpMyAdmin to manage your databases on Ubuntu 14.04
How to install phpMyAdmin:
Step 1: First you need to update the package index on your server with this command:
...
Hello Reader's if you are new to Angular JS then this blog is helpful to you. In this blog you can see how angular js can be used to generate the html. AngularJS enables you to create selectbox based on items in an ar...
Hello Reader's if you are looking for the image uploader status then this blog is very helpful to you.
The main reason why the developers are using this notifications is because for the user having the slow internet connections they don...
This blog will help you to understand how to install node.js
Install Node.js
First update the apt-get package lists with this command:
$ sudo apt-get update
Now install the git package using apt-get
$ sudo ...
Php 7 release date was December 3, 2015. This blog explains how to quickly upgrade an Apache web server running PHP 5.x (any release) to PHP 7.
Run the command to install PPA packages first
$ sudo apt-get install python-software-propertie...
I've been working on a project and I'm stuck at how to display a certain info when I found the word. For example. I want to search the balance sheet data of January 2015 and it will display the rest of the info in the file when found the ...
User-defined Custom Exception in Java
Inbuilt class Exception in java can be inherited to create our own exception.
Program creating user defined Exception by extending Exception class:
// A Class that represents user-defin...