Project Details

Hi mates! Actually i am working on woo-commerce site and i want build site like http://www.mysmartprice.com/ so suggest me how should i build that site? should i build in wordpress or yii-framework? if wordpress then which theme or plugin is bett...

How to fetch Calendar (calendar.event) meetings for particular date in ODOO?

To fetch Calendar (calendar.event) meetings for particular date follow these step as mentioned below:- Step1 - To install base_calender module in openerp Step2 To install web_calender module in openerp Step3 - Go to Messaging -> Organi...

rotate gameObjects around another gameObject

I have 19 circles in a big circle , I need to write this algorithm "in case of clicking on a centralized circle (the around circles rotate around it)" not only rotating (about the around circles - the circle should equal/assigned to it`s fo...

Difference between ArrayList and LinkedList

This is one of the important thinks that we need to know when we talk about Collections in Java. There are so many similarities in ArrayList and LinkedList like they implements List interface. They both come under non synchronized classes. ...

TreeSet in Java

TreeSet class is the class that implements NavigableSet interface and NavaigableSet extends SortedSet which extends Set. TreeSet contains unique elements. Another important and powerful property is that it maintains ascending order. To us...

assigning image to a sprite renderer

I want to assign image to a sprite renderer but its not single image , its one from the cut images using sprite editor

PHP: Read CSV FILE, Write CSV FILE and READWRITE CSV FILE

1> Read CSV file When you read the CSV file in php you use the code given below.Here we use the fopen(), fgetcsv() functions to read the csv file. The below code reads data from a CSV file read.csv <?php if (($handle = fopen("re...

How to send mail from Any Button in OpenERP/Odoo ?

OpenERP enables utilizer to send and receive emails when an action is done from OpenERP. We can configure emails to be send when a sale is verify or invoice is paid etc. But to implements these type of functionality, we require to update the func...

Agile Software Development: What you should know about Agile Development Model?

Over the past decade, many organizations have adopted the Agile development models, for successfully developing software products. Agile Model has various development methodologies which essentially involve iterative and incremental approach to s...

Display node form in a different page of in a block

Sometimes we need to display our node form in some other pages or simply in a block of front page. Here is the code snippet which can render our node form in any block or any other page: for a page: module_load_include('inc', 'node', 'n...

My code Not Working On Hosting Server

Hi, My code working in my locahost wamp server. But if I uploaded it to my hosting server it's not working. Please give solution. Or reason for this problem. Thanks Here is my code : <?php session&#95;start(); if(!isset($&#9...

Implement hook_theme in drupal 7

As per Drupal's definition "A hook is a PHP function that is named foo_bar(), where "foo" is the name of the module (whose filename is thus foo.module) and "bar" is the name of the hook. Each hook has a defined set of parameters and a specified r...

App invitation to facebook friend in android

How to invite facebook friends to install aperticular application There are two functions given that will help to implement app invitation functionality. CallbackManager callbackManager; ShareDialog shareDialog; First Function...

Java Interview Coding problems for Freshers- Part II

In the previous tutorial of Java Interview Questions and Answers Part 1, I have explained some basic coding problems of Java.This part is in continuation with the previous Java Interview Questions and Answers tutorial. In this part of the tutoria...

What Does Scalability Mean in Cloud Computing?

Cloud computing has turned out to be a groundbreaking advancement in information technology. It has already enabled many businesses to make profits that were not possible in the past due to no-access to significant information on the cloud to imp...

How to make the sale Order Double Validation in OpenERP/Odoo ?

Sales module OpenERP is utilized to manage Sales from OpenERP. In OpenEPR v7, when a sale is engendered, Utilizer have the option to attest the sale to engendered invoice and/or distribution order predicated on the configuration take in the sal...

Local Database in Android

In certain cases, it is recommended to store specific data in the database. For this, one has to follow the given steps:- In this example, I am storing song details with user id so that if users login with different names then he can get only hi...

Magento NOT shared shopping cart possible on store level?

Hi all, I have a problem with Magento 1.9.1 i am hoping somebody can help me with. I would like to configure my shopping cart on store level. To save on costs and to have maximum interaction on one website (because google likes this) i want...

Digital marketing strategies the need of the hour

In the modern era, digital marketing strategies play a big role in making customers aware about products on offer and services they can avail from you. Always remember, marketing can go against your business if not done in a pragmatic manner to w...

Drupal 7: how to restrict file access to specific user roles

The best way to restrict the file access, is to set default download method to "Private" from Configuration->media->file system. After making this change we can use Content access module to manage the access of files. I found this lin...

Attaching image files to nodes programmatically in Drupal 7

Hi All, It is quite easy to add a node programmatically in Drupal 7. But it gets little bit complex when we need to add an image to this node as well. Use the following codebase to add an image to a node programmatically: global $user_...

issues in setting up android Development environment

I'm having issue in setting up dev environment for android in windows 7. Using eclipse to do the setup. Tried the Android Studio but even that has issues in setup. Any help or any document that will let me know how to install and setup ADE wou...

How to detect your website is running on mobile or web browser with jquery

If you would like to know your web application running on which platform like mobile or web browser. Please use the below code for the same. if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ){ aler...

in php for user login from facebook

i want the code in php for user login from facebook

Extract frame from video in Android

There are many cases where one need to extract frames from video irrespective of its length. With the given function one can retrieve the desired number of frames per second. ArrayList<Bitmap> frameList; String absolutePat...

Different Language Support in Android

Android gives us the facility to support different languages in your application. The solution is very easy, you just have to define separate values folder for each language and define every String there. You need to add a hyphen and ISO language...

Recursive In CakePHP

Hello Readers By default cakephp will get the data of the Model that you are querying for and the data of the Models that are linked to the main Model. So, by using recursive in cakephp you will get the data of the single association as wel...

$this->request and $this->data in cakephp

Hello Readers, Generally, we use the $this->request and $this->data in cakephp to get and post the data in application as well as in API's. So, below we describe in brief about the request. $this->request: Above, request is the de...

send an event calender request through gmail in php

i wantt to send an event calender request through gmail in php...please help me in this....

How to Do a Perfect On-Page SEO of Your Website: Part 1

Hi , When we launch a website or taking steps to official launch, the Word SEO many times come in our mind. So what is this SEO? SEO: Search Engine Optimization (SEO) is the process of affecting the visibility of a website or a web page in ...

How to create Procurement Exceptions in openerp

Procurement Exceptions means A Procurement Exception occurs when the system cannot find a way to fulfill a procurement. Some exceptions will resolve themselves automatically, but others require manual intervention. To Create Procurement Excep...

Create a custom shipping method in Magento

Magento supports various shipping methods by default like flat rate, free shipping etc. To view the list of shipping methods available go to "System->Configuration". Under left menu select "Sales" section and then select "Shipping Methods" tab...

Disconnect strophe js from another angular controller

Hello! I make a connection to an xmpp server using node-xmpp-bosh.From my app i'm using strophe js to connect.I have two controllers.I make connection in first controller.In second controller i want to close connection .I've tried but i need to e...

Benefits of Using E-Commerce OpenERP/Odoo software

1-An Enterprise Resource Planning Software-As we don't need to describe the benefits of implementing an ERP solution for organization, with OpenERP/Odoo solution, you get a consummate ERP solution where you can manage Warehouse Management, Sales,...

7 Important steps before implementing an ERP system

1- Working on the direct work of your business processes, roles, hierarchy, departments is consequential. Develop a inspired flow ahead of you, initiate your ERP implementation as it extract your timeline and finance. 2- Understanding each emp...

OpenERP V7 and V8(odoo) installation on Ubuntu

Hello guys, As we know OpenERP(v7) / ODOO(v8) is an open source suit of ERP business applications. There are several ways to install OpenERP(v7) and odoo(v8). We will guide you how you can easily install OpenERP(v7) from Launchpad and v8...

Map Interface in Java

We use Map Interface for mapping unique keys and values. By using these keys, we can retrieve the mapping values at any time. Map Interface has so many methods. Some of them are given below :- clear() : It clears all pairs from the given map....

TextClock in Android

Hi Friends, TextClock is used to show the current time or/and date. In TextClock we use formatted String to show the time or/and date. Basically it is a digital clock added from Api level 17 replacement of DigitalClock. By using this method we ge...

Change brightness of the device in Android

Hi, Here I have written this code to change the brightness of the device in our application. I use the seekbar to change the brightness of the device. To handle the System Settings I use ContentResolver class and to handle current window referen...

Analog clock in Android

Hi Friends, Analog clock is a two handed clock, one shows hour and other shows minutes. It looks like a normal clock. Android provides AnalogClock to show the time. Here is the code :- Button buttonClock = (Button) findViewById(R.id. chang...

How to prevent the default event of a button and avoid the page refresh in javascritp

This tutorial will help to understand the basic behavior about button element. Button is a form element and hence button can do things happen when we use it in it's natural environment i.e. the form. To use button without form we will have to u...

How to send email in OpenERP by python code ?

We can manage email sending by .py (python) code. To send an email in OpenERP using python code you can use the below code. import base64 import logging from openerp import netsvc from openerp.osv import osv, fields from openerp.osv im...

Setting listview and pager together in a scrollview

Putting listview and viewpager or anyother view together in Scrollview is not good habit but sometimes it's necessary to do So in that case we can use that following method to set listview height at runtime so that we can scroll listview as well ...

How to Change the Number of Records show 10 entries of jQuery Datatable

Hi, In this short tutorial I have given an example to change the number of  records  “show 10 entries” of jquery datatable. If you are using the DataTable then by default it will show the records for 10,25,50 ...

Create a dynamic view in OpenERP/Odoo

In dynamic view we can manage view from xml file. Therefore you can create a dynamic view as done in example stated below <record model="ir.ui.view" id="session_tree"> <field name="name">session tree</field> ...

Can't login to facebook on android but working fine in editor

Hi, I was working in Unity3d version 4.5.5f and integrating facebook, problem is that when i tap login btn it prompts for username and password after authenticating it returns to app and my screen goes black.. But when i check it in editor it ...

Problem based on OOP's of C++

Please solve the problems I'm not getting the output? Please its request 1.Swap to add hours,min,secof time t1 withhours,min and sec ot time t2 2.oveload + operator using member function for 2 strings 3.overload <= operator using member fu...

how to restrict file access to specific user roles

Drupal has great features for files management. Website user with required permissions can set the content type and manage the file upload process. User has the authority to set the content type as well as file size to upload. If you want to resi...

Reset or Retrieve value of all hidden type input box of FORM or DIV using jquery

Reset or Retrieve value of all hidden type input box of FORM or DIV using jQuery .each() method. You can use below code for this <!DOCTYPE html> <html> <head> <title>Reset or Retrieve value of all hidden ...

How to Implement ERP Software Successfully ?

Since 1990, Enterprise Resource Orchestrating (ERP) software has gained immense popularity world over, thanks to its outstanding features. Implementation of Enterprise Resource Planning (ERP) software solutions ensures better optimization of reso...
1 227 292