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

Search In

How to check if cookie is enable or not

Hi. If you are looking for code to alert user if his cookies are enable or not, Then look the code as below:- paste the code in you file <?php if (isset($_COOKIE['cookieCheck'])) { echo 'Your cookie is Enable'; } else { if (isset($_GET[

How to use extension method in openERP/Odoo ?

When using _inherit but leaving out _name, the new model replaces the existing one, essentially extending it in-place. This is useful to add new fields or methods to existing models (created in other modules), or to customize or reconf

How to use __openerp__.py in OpenERP/Odoo ?

The __openerp__.py file has containing list of dependencies,conditioning startup order,data files to load at module install,always load groups first and load access rights after groups. For example code below. {'name' : 'SHIVA', 'version' : '1.0',

How to use the action manager in OpenERP/Odoo ?

The action manager can be invoked explicitly from javascript code by creating a dictionary describing an action of the right type, and calling an action manager instance with it. In below example I have written javascript to Include only parent level

How to make workflow manipulations in OpenERP/Odoo ?

Workflows can be moved along by sending them signals. Instead of using the top-level execute_kw, signals are sent using exec_workflow. For example code is like below. client = models.execute_kw( db, uid, password, 'res.partner', 'search_read

Custom right bar button in UINavigationBar

Hello friends,This code is to make custom right bar button in UINavigation bar. it helped me to make custom right bar button in UINavigation bar, Hope this will help you too. UIButton *homeButton = [UIButton buttonWithType:UIButtonTypeCustom];

Events in Unity 3D

Loading Levels, Play,Pause and Exit in Unity 3D scene : Example : btn is a string. void OnClick () { if(btn=="Play") { Application.LoadLevel("MyScene"); } } Play a Game : Time.timeScale=1; Pause a Game : Time.timeScale=0; Exit from the Game

How to check a function exist or not?

To check a function exist or not in PHP we use a built-in function function_exists(). This function check that the function exists or not. Syntax: function_exists(function_name); It includes one parameter i.e., the name of the function which you

Difference between ng-model and ng-bind

AngularJS has some built-in directives, and these directives allows us to extend HTML element. Here we are going to discuss about the two directive that are used for data binding. One is ng-model and second one is ng-bind Data binding is one of the m

Calling JavaScript function from String

Sometimes, you may need to call a method at runtime. If you know the name of the function you can invoke it as a string. You can call a function as a string. You are basically achieving eval of javascript indirectly.   Lets say, there is a fun

1 376 423
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: