General idea how ATM Machine Works

This blog will help the readers to understand that how ATM machine dispatches the money. Lets have a look on the ATM code in PHP: <?php $amount = $_REQUEST['amount']; $rupees = array(1000,500,100,50,20,10); $count = array(0,0,0,0,0); ...

Different transformations in android using Seekbar.

Some of the basic 2-D Geometrical transformations which we can perform in android. Translation:- Translation is the moving of object from one place to another. Rotation:- If we wish to rotate an object in a certain angle/degree. Scaling:...

How to insert data Value from a HTML form into MySQL Database

  In this blog I am going to explain how to insert data from html form into mysql. We have three steps for completing this process. Create HTML Form Create MYSQL Database. Mysql Database Connection and retrieve HTML for...

Fading in and out an element using jQuery

Sometimes we want an image, control or element in a page to fade in and out of visibility .With jQuery it can be done easily. Below are examples of fade in and out method for a div element: Fade In: fadeIn() method is used to fade in a hidd...

Procedures for installing Joomla extensions

Extensions are used to extra features to the Joomla website. They are very easy to install and use. There are two ways to install joomla extensions: Installation from Backend: To install from backend you will need to follow the followin...

Defect Density

What is Defect Density ? Defect Density is measured as the number of bugs or defects detected in an element or system divided by the size of that element or system. In normal measurement terms, it describes all line of code, or the quantity of...

Locating Debug keystore in android

Hello guies, I was working on key stores and found a bit tricky to locate the debug.keystore on ubuntu system so thought to share the details with you. Follow the steps in order to locate the debug.keystore on ubuntu 1) Go to the home d...

How to assign the Login Form module to selected web pages?

It is very easy in Joomla to assign login modules to selected web pages. You need to follow the following steps: Login to backend of your website(Joomla administrator). Go to Extensions --> Module Manager (You will get a page displaying ...

add() method in Javascript

add() Method The add() method is used to add an option in a drop-down list. This simplifies the work of user whenever it is required to add element or option. below is the example of add() method which is used in dropdown menu and gives the ...

What is Security testing?

What is Security testing? Security testing is a method by which tester try to find loopholes in the application . The main motive while performing security testing is to make the application secure for public or private use and to make sure t...

How to remove restrictions for a secured PDF..? C#

Hi guys, How to allow copy content option for a secured PDF. Currently am using Spire.PDF library, it is giving result as I except, it is a free version supports only for below 10 page PDFs, but my pdfs have more than 200 pages. Any other solut...

Javascript Array Properties and Methods

Basically Array is used to store multiple values in a single variables(only store a fixed size sequential collection of same type of element) . Syntax -> var names = new Array( "Mukesh" , "Ravi"); Parameter of an Array can be a list...

java web app is not uploading images

Hello, I need help to understand why my java MVC doesn't upload images. There is no errors just nothing happening. My project is on dropbox DropBox Please help me because I'm totally stuck with this. Please look on it and tell me if there is...

html/javascript

i need help with this.. if i select province it will give calculation accordingly on button click ..

How to change defualt auth fields in cakephp

If you want to change default auth fields, add the below code in your app controller public $components = array('Session', 'Auth' => array( 'authenticate' => array( 'Form' => array( 'userMo...

How to check mode_rewrite is enables on the server?

To check mod_rewrite enabled or not you need to follow the following steps: Create a php file on to your server and call phpinfo() function to that file. Now access the file using your Browser. Inside apache2handler you will find a field L...

How to correct error "Header already sent"

Hello readers. On developing the website the error 'Header already sent' is very likely to occur. This is cause by PHP when it receives outputs like echo or html tags now it can take the data but then further passing it to HTTP will be very diff...

Deleting Caches in Codeigniter

Some time developers fetch the cache problem when they are developing the app with the codeigniter framework. Below I am giving some methods that how you can clear the cache of codeigniter. In codeigniter, the cache is save in the folder with...

Underline and Border of UIButton

Hi all, To underline your button use this class :- .h @interface UnderLineButton : UIButton @end .m @implementation UnderLineButton - (void)drawRect:(CGRect)rect { // Drawing code CALayer *bottomBorder = [CALayer ...

errror come on run time to connect my android app with mysql

my code this AllProductsActivity Class public class AllProductsActivity extends ListActivity { // Progress Dialog private ProgressDialog pDialog; // Creating JSON Parser object JSONParser jParser = new JSONParser(); ArrayList<H...

How to use Gmail as a mail server in Joomla?

Sometimes in Joomla you can come across the situation that the default PHP mailing service not working properly. So in such cases you can use SMTP mail service in your site. To set SMTP service in Joomla site with gmail we need to follow the foll...

Odoo: Javascript Options

If you want to Javascript Options in OpenERP(Odoo) follow the below mentioned code in your Static->SRC->JS file: - <div data-js="snippet_testimonial_options" data-selector=".snippet_testimonial"> [...] </div> (function(...

Default option methods in Odoo

If you want to default option methods in OpenERP(Odoo) follow the below mentioned code in your .xml file: - <template id="snippet_demo_opt" name="Snippet demo Options" <a href="#">Your Option</a> <template id=...

Extension types in Joomla

Joomla is a Content Management System which is free and open source to design websites easily. To add extra features in Joomla which are not available we need to extend it using extensions. Extensions role is to add some extra functionality to th...

Options group properties in Odoo

If you want to options group properties in OpenERP(Odoo) follow the below mentioned code in your .xml file: - <template id="snippet_demo_opt" name="Snippet demo Options" inherit_id="website_less.snippet_options"> <xpath expr="//di...

Managing Fragment In BackStack

While working with fragments we counter the management of fragments in Backstack most of the time we create multiple instance of fragments in Backstack unknowingly. Here are some points that need to be taken care while creating fragments. ...

How to add custom styles to your theme in Odoo ?

If you want to add custom styles to your theme in OpenERP(Odoo) follow the below mentioned code in your .xml file: - <xpath expr="/form/header/button[@name='action_quotation_send']" position='attributes'> ...

How to create a specific page layout in Odoo?

If you want to create a specific page layout in OpenERP(Odoo) follow the below mentioned code in your .xml file: - <!--?xml version="1.0" encoding="utf-8" ?--> <openerp> <data> <!-- === Demo Page === --> ...

Introduction of HTML5 LocalStorage

HTML5 Local Storage Introduction: HTML5 Local Storage is a web and mobile based standard technology which allow a user to store and retrieve data in a person's local device. By using local storage, web based appl...

How to add new elements or style the existing header in odoo?

If you want to Extend the default Header in OpenERP(Odoo) follow the below mentioned code in your .xml file: <template id="snippet_testimonial" name="Testimonial snippet"> <section class="snippet_testimonial"> <div class...

Volume Testing

What is Volume Testing ? Volume testing comes under the non-functional testing group. Volume testing tests an application/software for a confirmed data volume or any product with specific quantity of facts or data. For exp, if we want to volum...

How to check which version of Joomla is running on website?

To check the version of joomla you are using includes various steps depends upon the version of joomla you are using. So here various steps are given according to the joomla version Joomla 1.0.x: Login to the backend of your site(admin se...

How to Redirect a Website or URL in htaccess Method

htaccess File method: Any website running on Apache server you can use htaccess file method also called as Apache redirects. Important point is that it will work only on Linux servers with the mod_rewrite enabled.   Now question is...

How to install Joomla?

To install joomla following steps needed to follow: Download the Joomla installation package from the Joomla.org. Once downloaded you will get a zip file. Unzip the file and upload the joomla files to your server. Next you need to create a...

Structure of an Odoo page

If you want to create Structure in OpenERP(Odoo) follow the below mentioned steps: - Step-1 Insatll the website builder module. Step-2 Go to website menu and click it. Step-3 Click on content->new page. Step-4 Add the new page. Step...

Javascript Access the Elements of an Array

In an Array , elements are zero-indexed i.e first element of an array is at index 0 and the last element is at the index equal to the value of array length minus 1 (array.lenght-1) Example -> var name = [ ' first ' , ' second '] ; consol...

Do While Loop in Javascript

Do While loop Executes a statement once, and then it repeats the execution of the loop until a condition expression becomes false. The do while loop consist- do { statement } while (expression) ; statement--> The statement t...

Installing your theme in Odoo

If you want to installing your theme in OpenERP(Odoo) follow the below mentioned steps: - Step-1 Go to website module and click it Step-2 Select Users->Content New Page Step-3 create a template Step-4 select the update theme Step-5 Ap...

Display all error message on page loading in AngularJS

Hi When the page loads I see a lot of error message's in every field and then they go away when the page load. It seems odd...is there anyway to not show that first. Thank you

Advantages of using testing tools

Advantages of using testing tools:- There are many benefits/advantages, when we used testing tools to perform the testing. Few are mentioned as below:- 1- Decreasing of recurrent work 2- Better regularity and repetition 3- Objective evaluat...

How to convert Array into a String in JavaScript

Conversion of array into a string in JavaScript. There are two method to convert element of array into a string in JavaScript. 1st Method: toString()-> toString() method joins the array & returns one string that contain each element ...

Javascript Looping Array Elements

Basically Javascript previous version ES5(script 5) support three loops and new version ES6(script 6) version support two more loops i.e for-of loop (ES6 ) and an iterator (ES6) . 1) for each loop for each() method iterates the speci...

How to Edit __openerp__.py ?

If you want Edit __openerp__.py in OpenERP(Odoo) follow the below mentioned steps: - Step-1 Go to given module and click it. Step-2 You will find four files mentioned below. (i)-__openerp__.py (ii)- __init__.py (iii)- _python.py (iv)-_vie...

How to Create a Theme Module in Odoo?

If you want to create a theme module in OpenERP(Odoo) follow the below mentioned steps: - Step-1 insatll web_theme module . Step-1 Go to Settings menu and click . Step-2 Select update theme. Step-3 Select the menu . Step-4 Click on Edit bu...

How to Create Google Webmaster Account

Google webmaster account is a very important tool for a Company website. Using this tool we can check website performance and maintain it according to google guidelines. Google provide this tool and it is absolutely free for everyone. As well as ...

How to Update Your Theme in Odoo?

If you want to update Your Theme in OpenERP(Odoo) follow the below mentioned steps: - Step-1 Go to Settings menu and click Step-2 Select Users button Step-3 Select the logged-in User button Step-4 Click on Edit button Step-5 Enable "Techni...

Odoo's XML files

For creation of Odoo module we need four files, given below 1- Demo_views.xml (with the view definitions of Demo module). 2-__openerp__.py (with the description of your module and import of your xml files) 3-Demo_python.py (with demo m...

Count values from comma separated field in mysql

Sometimes in mysql we have to count the values that are comma separated from a field in mysql. For this we will use the length function in mysql as follows: select LENGTH(fieldname)-LENGTH( REPLACE( fieldname , ',', '' ) )+1 from tablename whe...

Facebook Marketing Tips for Your Business

Facebook is the biggest social media website, where we can post daily status updates, share images, videos, create groups, write notes, and ask question and answer and create pages for promoting business. We can also use Facebook platform f...

Google+ Social Media Marketing Strategy Tips

In my last blog Role of Google+ in Social Media Marketing, I have shared my knowledge about 'what is Google+, what is the role of Google+ in social media marketing and how to optimize a profile along with business page properly'. As we are ...
1 217 292