
Search In
Attach and Sync are the two methods which we used in our Laravel Eloquent. We can describe this as follow:
attach():
1) This is used for Insert related models. This method is used when we want to work with many-to-many relations.
2) When we are usi
Magento: Get Category description from block
I was facing issue for getting category description from cms block. After researching on google I found the solution for it. You just need to add this in the home page content:
{{block type="core/templa
Many times when we manage SQL server databases we need to determine how much space each table is consuming on disk. In this blog we will learn two approaches for solving this frequently encountered common problem.
Approach 1:
We can use
Currently I am using react create app to build my application in my application had three component those are com1, com2, com3 I want to update userId state value in com1 based on com3 will receive props here com2 is child component of com1.
He
Step-1 Install the live chat (im_livechat) module.
Step-2 After that custmozied in .py(Python file) file:
In below example, I have custmozied in .py file.Use below python code in your .py file.
import random
import openerp
import json
import openerp.
In the below example I have created login page layout. Here I have used first Main LinearLayout all attributes design with in Main LinearLayout. Then I have used ScollView for scrolling page up and down and all attributes like Logo image, textview, e
Fetching Single objects in Rails Applications through Active records
While creating a web application in rails we often feel the need to fetch single objects from the database.
Active records provide us with a very good query interfac
Here, I have created a small database for a book store application. In which two tables are required:-
book:- Stores a unique book ID, the title, content, and a deleted flag.
audit_book:- Stores a set of historical changes with a record ID, the book
Default Rules of Form Views-
Form Views shows how each object is displayed in openerp browser.
The field disposition in a form view always follows the same principle.
Fields are placed on the screen from left to right, and from top to bottom, acc
In one of my current project, I had to develop and integrate the Android Push notification functionality in my server side C# code.For this purpose, i used the Google Cloud Messaging service.
Here is code for the same.
public void SendNotificat
