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

How to change the admin URL path in magento

In magento the default admin url is /admin/ but for the security purpose the default url is risky as it is know by everyone. For the security purpose we need to change the admin url of the store which would be known by the store staff only. &n...

How to check if text is truncated in UILabel?

Hello all ! Sometimes it happens that the content is more according to the size of UILabel then the three dots appears at the end of the UILabel. So we want to show the complete text of the UILabel. We can implement it by adding a UIButton, on cl...

How to present a UIViewController from top to bottom in iOS?

When we present the viewcontroller it slides from bottom to top but, if we want to change the slide position then we have to use the animation for the UIView. By using animation we just change the frames of UIView.  If we want to present ...

How to add a new Custom Shipping Method

Hello Readers, In this tutorial, i am going to explain How to add a new Custom Shipping Method to existing Magento Installation which will accept value (i.e shipping charges) from System->configuration option. Here i have used Custom as a mod...

How to install Rails admin in Rails application

How to install Rails admin in Rails application As we know that almost all web applications have an admin panel through which the administrator of the application  can manage all the data of the application and make necessary chan...

Difference between getModel() and getData() in magento

getModel() method :   Mage::getModel() will create a new instance of an object each time even such object exists in configuration. getModel will always return a new instance of the requested model every time.   For example:-&nb...

How to display GIF images in view controller?

Hi Readers, In this blog, we will discuss how to display GIF images in view controller as GIF images are different from JPG images because GIF images include animation. We can easily display the images with JPG format by using UIImageView but ...

How to create slider of products which are recently added ?

In magento if we are required to create a simple slider of products which are recently Added for say between from previous month to the current month. Lets see how we can create it : 1. Create a module with namespace and module. 2. Then Crea...

Wordpress functions wp_remote_get() and wp_remote_post()

Welcome to FindNerd. Today we are going to discuss two important functions of HTTP API in wordPress that are wp_remote_get() and wp_remote_post. If we check with PHP then you can get many ways to send the HTTP request but WordPress defines ...

How to Create a Realistic Orange in illustrator?

STEP 1 Choose File > New. Once the new document window appears name the document then add width and height.   STEP 2 Create a triangle having width 2 in and height 3. Then fill it orange color ( R= 255, G= 163, B= 41 ). Make t...

MIME data in Informatica PIM

Hello Readers   Multimedia overview Catalog items contain raw data as well as MIME data. MIME refers to Multipurpose Internet Mail Extensions. It is an internet standard that contains data in the form of images or text document...

Scrolling of a sidebar

Below is the code to keep the sidebar fixed while scrolling the page. It is one of the easiest way to keep it fixed. HTML- Here is the simple design having main content div and a particular section of a sidebar. <div id="main_con...

Difference between getSingleton() and getModel()

Mage::getSingleton() :   The getSingleton() method first checks for existence of the instance of the same class in the memory. If it finds the instance then it will return the same object from the memory. and if not than it will create...

7 No-Nonsense Social Media Management Tools

Social Media  is the secret ingredient to generate new leads and traffic for your business.   Social media tools have the capability to monitor, analyze and manage information related to a number of social media accounts throu...

How to find the day of week?

Suppose we want to find the day of the week according to the given date i.e if we want to know the week day of a particular date then the following lines of code will help you to implement this :-   NSDate *date = [NSDate date]; //...

Bounce Effect using Jquery

Hello Readers, this blog is on the bouncing effect using jquery in all directions(up, down , right and left). I have created four round boxes, on clicking on a box each box will bounce in a different direction and a button on clicking that but...

Why we perform an Audit activity when any software is buildup ?

Audit:- The meaning of ‘Audit’ is a separate analysis or inspection of the new creating software or product. The main intention of the audit, is to verify that the product or software which is newly build up fulfill all the require...

Convert NSDate into UTC

Coordinated Universal Time (UTC) is the standard time zone. All time zones are at some time ahead or behind UTC. If there is a need to convert timeZones of different countries then we can first change the local time to UTC and then to the desired...

How to catches all keyboard events in OpenERP(Odoo)

In OpenERP first create custom module and inherits the Scanner object in your own module and pass all the barcode fields and map it to the object. Then this barcode will start a loop that catches all keyboard events in Odoo. And by using the ...

How to create a contact form using contact form 7 plugin in WordPress?

This aide is a prologue to the Contact Form 7 module for WordPress. Fundamental information of WordPress organization is required. With different illustrations, this instructional exercise discloses how to show a structure on your page, and how t...

How to find number of days between two dates

Below code is used to find number of days between two dates NSDateFormatter *startDateformatter = [[NSDateFormatter alloc]init]; [startDateformatter setDateFormat:@"dd-MM-yyyy HH:mm:ss"];//setting date formate NSDate *start...

How to find unix timestamp in PHP?

Hi Reader's, Welcome to FindNerd, today we are going to discuss how to find Unix timestamp in PHP? If you want to get current Unix timestamp then you should use getTimestamp() function which returns Unix timestamp that represents the date...

Magento get method which loads Model, Block and Helper.

In magento the functions that is mostly responsible for the things to be done are get and set methods, which are actually same as getter and setter methods. With the help of the get method we can actually call any model, block or helper. &nbs...

How to call product form to using of button in purchase module in OpenERP(Odoo-8)?

In OpenERP first, create your custom module and inherits the purchase module object like purchase.order object in your own module. Than add button in the purchase form. Follow these step given below Step1- First create module and than file ...

HTML5 - Web Storage

Following are the drawbacks of HTTP session cookies, for storing structured data on the client side :- 1. Cookies are incorporated with each HTTP request, subsequently slowing down your web application by transmitting the same i...

How to play sounds in your phonegap application

Cordova provides a plugin to play sounds in your mobile application. It can record an audio file and also play back audio file on the device. Installing the plugin:   cordova plugin add cordova-plugin-media It has a Media constru...

Custom checkbox using CSS

Here  is the CSS for custom checkbox. We can add our own properties in the check box. HTML- <div class="radio_input"> <input type='radio' id='r1'name='radios' checked='true'/> <label for='r1'><span></sp...

Concept of multiplexing

Welcome to Findnerd. Today we are going to discuss the concept of multiplexing in networking. Please have a look. Multiplexing Multiplexing is nothing but a process or a way to transmit the two or more signals over a communication channel a...

How to customize contact form 7 in wordpress

Hello Friends, Contact Form 7 is very good plugin to implement Contact Us page. If you are using Contact Form7 and want to make changes as per client requirement like add some more attributes(City, State, Country, Phone number) on contact us p...

Finding a Substring in a String

 Hello reader's in this blog we will discuss finding the substring in a string. When you want to find out a particular series of character in a string we use indexOf method to find out our character. The indexOf() method will find out...

How to create a Installer Script to perform operation on database in magento ?

In magento sometimes we need to add fields to the existing table or create a new table for our module, for this purpose we are required to write the installer script instead or performing the operation directly on database.   Lets see ...

Concept of switching

Welcome to FindNerd. Today we are going to discuss the switching concept and its types in networking. My aim is to describe the concept of networking so we are going to start with switching. Please have a look. Switching Switching is a t...

Redirect Back To Same URL after Login through Devise in Rails

In almost every web application there are certain things which a user is allowed to do only after he or she is logged  in into the website. If user  trying to access some page or some URL where he/she can get access only after logging i...

Integrating Comparable charts in Rails Application

The best way of representing a data set for analysis is using charts. So if you are developing a rails application and you want to show the analytics as charts in the dashboard, there are multiple gems available in the rubygems community. Here I ...

Different ways to sort an array in PHP

PHP has a huge collection of predefined functions. This article demonstrates details about some functions which are used to sort an indexed and associative arrays on the basis of keys, values and by using the natural order algorithm. The list and...

Callback in node.js

A callback is a function which is highly used in node js. When we want to run any task after the success or completion of a given task then we will use a callback. We will write maximum API in such a way that they will support callback. I will...

Intent and its type in android.

Intent:- Intent is a message object that passed between android components such as broadcast receiver, services, activity, content providers etc. Android provide facilities to communicate between components using intent in several ways, there are...

figure tag

Figure tag depicts  unit of content such as diagrams,images Photos etc on a web page. Though img tag is already available in html but figure tag is included in html5 to handle various images,diagrams , photos etc with some embedded content. ...

Kaminari gem implementation in Rails

Kaminari is a very popular pagination gem for Rials . It's a Scope & Engine based, clean, powerful, customizable and sophisticated paginator gem which uses scopes to flow nicely with Active Record queries. Features of Kaminari: &nb...

Creating Menus in wordpress

We can create and use menus in wordpress by simply following below steps. Step 1:- first we have do put our credential and get login to our wordpress dashboard. Step 2:- then we have to select menu option from the   'Appearanc...

Bitmask Attributes in Rails

Sometimes we need to store several booleans to determine a user's settings.Bitmask is a good solution for that.Bitmask use a single integer where each bit represents one such boolean. For example user has many roles.One solution would be cre...

How to call static block in magento ?

Hello Readers, Before i tell you how to call static block in magento. Lets understand the term "static block" & How to Create It..? Static blocks : Sometimes we are required to add some custom data or images (like banners) in th...

How to create category attributes ?

In magento sometimes we are required to create category attributes programmatically in admin panel.  Lets see how we can do it: 1. Create a module with namespace and modulename. 2. Then Create a file config.xml in etc folder in our module...

How to create a wordpress custom widget?

WordPress widget is a simple approach to include substance and particular elements into your site. You simply need to move and customize the gadget into any widgetized territory like sidebar, footer or header of your site and begin utilizing i...

How to set the default begin date in OpenERP(Odoo)?

In below example I have written Python script to Include the default begin date in OpenERP.  You can directly use the below sales module in your addons and run in Odoo server.   from openerp.osv import fields, osv from open...

How to get products list from the orders of the logged in customer?

In magento if we need to get the list of products of orders of the current logged in customer.  To do so lets see how we can do it: first of all we need to get the logged in user id from the session for the same write the ...

How to find the number of days between given two dates in php?

Hi Readers,  Welcome to FindNerd, today we are going to discuss how to find the number of days between given two dates in PHP?  If you want to calculate the difference between two dates then you should use date_diff() function for f...

Cordova / Phonegap YouTube Android Player API plugin

Hello Readers, This post is about YouTube Android player API plugin Which allows play videos in YouTube native player. First of all, we need to register our Cordova Android apps in Google Developers Console and then enable the YouTube API. ...

Wordpress function the_widget()

Welcome to Findnerd. Today we are going to discuss one of the wordPress function of widget api, the_widget(). Basically wordPress widget is nothing but a PHP object. Whenever widget() function is called,  data displays on the page. If you wo...

Queue Functionality In jQuery animate()

If we want to create custom animation than for this purpose jquery animation is used. jquery animation method syntax is below:- Syntax :- $(part to be selected).animate({parameters},speed,callback);   Queue functionality of ...
1 81 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: