
Search In
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
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
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
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
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
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
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
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
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], {
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
