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

Search In

Creating Own Custom Hooks in WordPress

Hello readers, today I guide you "How to create own custom hooks in WordPress".   A crucial but often avoided practice is adding custom hooks to your plugin so that other developers can extend and modify it, without having to fork it

Data Analytics: Why’s it so important

Companies and business have to collect a large quantity of data to see how their products or services are doing in the market and how they can improve and create more impact in the market. They would also collect data on gaps in the market so they ca

How to recognize touch events for DOM elements

Hammer.js is a open-source library used for identifying touch gesture, mouse events and pointer Events. It is a standalone library . link for downloading library http://hammerjs.github.io/dist/hammer.min.js Below is the code snippet to use the hamm

How to check mode_rewrite is enables on the server?

To check mod_rewrite enabled or not you need to follow the following steps: Create a php file on to your server and call phpinfo() function to that file. Now access the file using your Browser. Inside apache2handler you will find a field Loaded Mod

How to detect if web page is refreshed using Javascript

Hello Reader's! if you need to detect whether the webpage is being refreshed by using Javascript you can do this like the example below:- function CheckRefresh() { if(document.cookie.indexOf('mycookie')==-1) { // cookie doesn't exist, create i

How to use low-level SQL in openERP/Odoo ?

Low level sql is the cursor for the current database transaction and allows executing SQL directly, either for queries which are difficult to express using the ORM For example you can take idea from below code- self.env.cr.execute("some_sql", param1

How to use model reference in openERP/Odoo ?

If you want to use model reference in OpenERP(Odoo) follow the below mentioned code and paste it in your (Python).py file: → class openerp.models.Model(pool, cr) class user(Model): Note-Above code are created by inheriting from this clas

How to use widget parents and Children in OpenERP/Odoo ?

If you want to widget parents and Children in OpenERP(Odoo) follow the below mentioned code and paste it in your wizard .js file: local.HomePage = instance.Widget.extend({ start: function() { var greeting = new local.GreetingsWidget(thi

How to update records in OpenERP/Odoo ?

In update records can be updated using write(), it takes a list of records to update and a mapping of updated fields to values similar to create() .for example code is like below. models.execute_kw(db, uid, password, 'res.partner', 'write', [[id], {

How to display my 3D models in browsers ?

Hello fellow nerds, I have some 3D models that I have designed. I want to create an online portfolio of those. I dont want to render some images and make a slideshow. I want to make something interactive. like a person can view that model in 3D on t

1 38 370
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: