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

Search In

Add drop down attribute in product view page ?

Hello Readers, In this blog i am going to show you "How to add drop down attribute in product view & list page.   Lets Suppose, If you want to display the color and size attributes of the configurable product , then you can Use f

How to get WP menu in array form

Hello readers, today we will discuss about WP menu. If you want to get WP menu in array form , you can use below code and will get your menu in array. <?php /** Get the nav menu based on $menu_name (same as 'theme_location' or 'menu' arg to wp_n

How to know free space in sdcard android

I have written code to know free space in sdcard Here I use StatFs class to do this. I just multiple available blocks which I got from getAvailableBlocks() and block size from getBlockSize(). StatFs st = new StatFs(Environment.getExternalStorage

How to get current date time with you region using PHP

If you are using PHP and want to get the current date time with respect to your time zone then just use the code below :- $DateTime = new DateTime(null, new DateTimeZone('Asia/New Delhi')); $DateTime->setTimezone(new DateTimeZone('Asia/New Delhi

How to get current web page url in Laravel 4.x

To get the current page url in laravel 4.x is as follow $webpageURL=URL::to('/'); By using the above code it will automatically take the web page url. Example: Lets take a example of findnerd. **http://findnerd.com/account#url=/postblog/94

How to get access right in OpenERP(Odoo)?

If you want to get access right in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: → class test_partner_firstname(common.TransactionCase): def setUp(self): super(test_partner_firstname, self).setUp() self.user_mode

How to make print a report in OpenERP(Odoo)?

If you want to make print a report in OpenERP(Odoo) follow the below mentioned code and paste it in your model.py file: - def _get_invoice_id(self, uid, datas): ... return {’ids’: [...]} ... ’actions’: [_get_invoice_id], ’result’: {’type’:’print’,

How to get full date with time in Java?

To get the full date with time you can use the below code. You can pass any date that you wan to change, I'm getting date in full date format in the below example:     /** * Get full month day year format from Date *

How the see the body of a submit post using PHP

POST is a common mode of sending or passing the values from one page to another, But on getting what exact is inside the post PHP will offer you the code syntax. Consider the example below:- We will get the body part froma POST request or can say a

Transaction in Rails

To maintain the data integrity sometimes we need the changes to database to occur when all of the actions have successfully finished.  One of the examples is funds transfer from one account to another. One account should be debited and another a

1 54 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: