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

Search In

How to make CSV File form array in PHP

Hello reader! If you have an array with the records and you want it to be download as CSV format. PHP has built in functions for making the format of CSV. Lets take the example below:- header("Content-Type: text/csv"); header("Content-Disposition: a

How to give a sliding effect(slide down and slide up) on a div using jquery.

We are using simple jquery to implement a slide down and slide up effect on a div. Also a little styling can be done using css and HTML. <html> <div id="divTest" style="width: 40px; height: 40px; display: none; background-color: #fff;">&

How to use different versions of Jquery on a single page

If you calling the different versions of Jquery then your code can clash the mutual variables. To use each of the Jquery versions separately you have to use " jQuery.noConflict()" Consider the links with multiple Jquery versions below:- <script

How to style checkbox using CSS

If you want your html form to look more beautiful than just the simple check boxes then you can use the following advance css. This will give rich looks to your html form by styling checkbox First on the html form create the checkboxes using the cod

How to find OS version from web browsers using PHP

Hello Reader! If you want to detect the OS version of user though the web browser. Then you can use the library code below:- <?php $OSList = array ( // Match user agent string with operating systems 'Windows 3.11' => 'Win16', 'Windows 95' =&

How to use NSMutableAttributedString

Hello Friends, NSMutableAttributedString allows to set different attributes(font size,font color) for different parts of the string. To use NSMutableString you may use the following code: //Create an object of NSMutableAttrinbuteString and assign it

How to put if/else condition in JSTL?

Sometimes we need to show HTML based on some conditions, so for this we use JSTl in JSP file. Example: In the below code I'm changinf heading based on condition. <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> <html> &l

How to use Delegation method in openERP/Odoo ?

The delegation method is performed the reference fields automatically set up on the parent model: For example you can take idea from below code- class Child0(models.Model): _name = 'delegation.child0' field_0 = fields.Integer() class

How to use web-services in OpenERP/Odoo?

If you want to use WebServices in OpenERP(Odoo) follow the below mentioned code and paste it in your WebServices – XML-RPC file: import xmlrpclib define HOST, PORT, DB, USER, PASS url = 'http://%s:%d/xmlrpc/common' % (HOST,PORT) sock = xmlrpclib.

How to make wizard views in OpenERP/Odoo?

If you want to make wizard views in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard views_xml file: <record id="action_idea_cleanup_wizard" model="ir.actions.act_window"> <field name="name">Cleanup</field>

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