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

Search In

WooCommerce- how to redirect product add to cart?

Hello Readers! If you want to redirect users after adding a specific product to their cart. Below is the example, just pasted this code into into your theme’s functions.php file <?php add_filter( 'woocommerce_add_to_cart_redirect', 'redirec

How to remove 'provision' from selection list when configuring Cash Flow in Odoo

In below example, I have written Python script to remove 'provision' from selection list when configuring Cash Flow Codes. Paste below python code in .py file : def fields_get(self, cr, uid, fields=None, context=None): res = super(account_cashfl

How to generate date selector using in website

Hello Reader's if want to generate the date selector then you can use the Javascript. By choosing JS you don't have to write every month, day or date hard core in the code. Lets start to generate the code for it. Step 1: Create head section in your

How to deploy Ruby on Rails with Nginx on Ubuntu 14.04 ?

Ruby on Rails runs on web server Webrick. But in order to deploy Ruby on Rails with Nginx server we will need Passenger too. Install Passenger and Ngnix First install PGP key sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 561F9B9CA

moving between section page using next and previous button in javascript

In the same page i have multiple section. One section will be show and this will happen using a class active. In the same page i have li buttons 1, 2 and 3 when i click on one of them the section related appear and the old one disappear for th

How to copy text to ClipBoard

If you are looking to copy the text from android widgets to clipboard, you can use the below code TextView contentTextBox=(TextView) findViewById(R.id.tv_content); //get textview from which you want to copy the content String textToCopy = contentT

How to get GCM registration token in Android

GCM(Google Cloud Messaging) registration token is a kind of id given by the GCM connection server to user/client that allow user to receive messages. To get registration token first we have to generate a unique number, it can be created while configu

Getting location from latitude and longitude

If we have latitude and longitude with us and we need to get location name out of that from google api then we need to do the following code; public function findlocation($lat,$long){ $url&#95;data = 'http://maps.googleapis.com/maps/api/geoc

How to get selected drop box text

Normally when we select a value from drop bax then we get the value of option. Here when we will select a value of option then we will getting text of option. SO to get selected drop box text use below code example- Javascript function get(text){

Cakephp: How to retrieve video url from Google App Engine

About Google App Engne Google App Engine applications are used to create data storage. We do not require to maintain servers with App Engine. We just need to upload applications and can access the site from the web. How to Upload Video? Write the f

1 83 408
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: