
Search In
Suppose we are working on a project in a local area network where all developer have same IP Address. then most of times its a requirement that project must be accessed directly without authentication.
But at the same case if any one trying to acc
Hello Readers,
Most of the time when you work on the buddyPress, you wanted to style BuddyPress pages differently than a regular WordPress page, you need add a template file named buddypress.php to your theme’s directory and BuddyPress would use tha
Hello Reader!,
If you are looking for verify the uploading file with the correct extension with .csv only. Then you use the PHP code as below:-
$allowed = array('csv'); //you can mentions all the allowed file format you need to accept, like .jpg, g
To access the Auth component from view will give you error like you cant access the Auth component.
Here is a way of accessing the Auth components from view which can be done using CakeSession in cakephp.
to do so lets see the example :
$user =
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 we almost have header about array_key_exits and isset but you need to know the diffrence between them.
Lets take an example below:-
array_key_exists will only work when your key have an element and doesnt matter it is null, but isset wi
Odoo Python Class : use case for code in api v8, underscore lowercase notation for old api.
And Variable name use following classes and Api to given below.
use camelcase for model variable
use underscore lowercase notation for common variable.
since
As we all know that when we are working on the big project then there is a need of join 2-3 table to get the result.
We can easily understand that by using example of joining 3 table.
Example:
$shares = DB::table('shares')
->join('users', '
While automating GUI one has to be very careful, do not start the automating when the project starts, else you will ends up re-writing the the automation scripts. Many a times vendors provide training and support of automation tools to the resources.
call() and query() method are the odoo methods which are used in def function in .py file, it is used to call the value.
To call the Odoo server objects we use two primary methods which are call() and query(), for this see the code example below and
