
Search In
Hello Everyone, I am here to teach you how to remove parent theme menu in child theme wordpress.
The below code is in your parent theme for register the menu.
add_action( 'after_setup_theme', 'register_themename_menu' );
function register_themenam
If you want to edit __openerp_.py in odoo-9 ,for example you can use below code.
{
'name':'Tutorial theme',
'description': 'A description for your theme.',
'version':'1.0',
'author':'Your name',
'data': [
],
'category': 'Theme/Creativ
In python Simple Mail Transfer Protocol (SMTP) is a protocol. Python provide smtplib module to handle the email system and SMTP client session object which is used to send mail to any Internet machine with an SMTP or ESMTP listener daemon along with
Hello Reader's if you are looking for making the function which detect if a given date is weekend or not then this code will help you. This is a PHP function which will use the date as a input param and will print if its weekend or not.
So the code
To cleanup the timeout, just use ".cancel()":
var customTimeout = $timeout(function () {
// your code
}, 55);
$timeout.cancel(customTimeout);
The same applies to $interval().
To disable a watch, just call it.
// .$watch() returns a deregistra
While using AVplayer in iOS sumtimes the video frames are not proportionate to the iphone screen that can led to distortion in UI of your app,therefore to overcome this problem we have to use a simple piece of code..
Go to the function
-(void)play
In the below example I have created extend array function. Here first I have define array length then extend new array value. You can see below program it will clearly describe to extend array after initialization by creating an new array.
pu
In the below example I have used ArraySorting method to sorting array object. Here I have initialized Object array and then I have used Array sorting method and
java.util.Arrays.sort(Object[]) method to sort object ArrayList. You can see below
Hello Friends,
If you are looking to set any controller as a default controller in your project like when open any website generally Index controller call automatically. For example you want to run "Project Controller" instead of "Wel
Hello friends,
Most of time we need to update multiple row at a time or in single mysql query, So most of developer use iterate the update query and execute many time. This is not good practice. We should use syntax given as below.
For Example:-
