
Search In
In laravel 5.0 the way to define constants and use them through out the project. Following are the steps to accomplish it:-
Step 1st :- Creating a separate file under /config folder named as constants.php ( it can be any name) for storing all consta
To configure PhoneGap project in Eclipse follow the below steps-
Step -1 Go to Terminal
Step -2 Install frist - $ sudo npm install -g cordova.
Step -3 $ cd Desktop/
Step - 4 $ cordova create Raj007 com .example.Raj007 raj
Step -5 $ cd Raj0
To make the scheduled call in OpenERP(Odoo) you must follow the below steps-
Step-1 Go to Sales Modules-> Phone Calls->scheduled calls
Step-2 Call Summary ->Date->Duration->Responsible ->Administrator
Step-3 Sales Team->Sal
In below example, I have written Python script to amount interest provision in accounting. Use below python code in your .py file :
if demand.amount_interest:
cfpline_obj.create(cr, uid, {
'origin': demand._nam
Hello reader!
If you want to set a custom error webpage for your whole cakePHP project you can set this page at
/views/layouts/default.ctp as layout for these error pages like 404/ page not found
To customize it and set your own message, open the a
Sometimes we need to check whether a date is within past 24 hours or not. Generally we implement this kind of functionality when we create an AuthToken or a code that we want to to be valid for some time duration.
Example: In the below example I'm c
In Odoo-9 by default, tests are run once right after the corresponding module has been installed. Test cases can also be configured to run after all modules have been installed, and not run right after the module installation.For example code is belo
The mkdir() function is basically use for making a directory.
Syntax of mkdir() function
mkdir("dir_name");
You can see below example of mkdir() function.
<?php
// here call mkdir()
mkdir("testdocs");
?>
In the above given example we
Hello Reader's!
If you want to make your file download by execution of JS then you can use the code below:-
var a = document.createElement('a');
a.href = "/favicon.png"; //make the link of image
a.download = "favicon.png";
document.body.appendChild(
Hello Reader's If you want to show image on a click event. Then using javascript you can use this in real time.
Let's see the example below:-
<button onclick="add_google_logo();">Add Google Logo</button>
Now the JS will go like this:-
