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

Search In

How to enable CURD operation in YII

In yii we can create our basic code for 'CREATE',,'UPDATE','READ','DELETE' operations. for enable this functionality we need to enable curd. For enable curd go to your main.php file and find keyword 'gii' and you will see like this /* 'modules'=&

How to use the JTable Class

Table is an abstract class which models the database and need to put constructor which declares the table name and primary key and also override some methods. It is used for creating,updating, reading and deleting of records in database. As this cla

How to use extension method in openERP/Odoo ?

When using _inherit but leaving out _name, the new model replaces the existing one, essentially extending it in-place. This is useful to add new fields or methods to existing models (created in other modules), or to customize or reconf

How to make profile module in OpenERP(Odoo)?

In profile module we have to create a profile, we only have to create a new directory in server/addons and we should call this folder. profile_module name, in which we put an empty __init__.py file (as every directory Python imports must contain .py

How to assign role to user in liferay

Hello guys Here, I assign custom created roles to user from custom portlet in liferay 6.2. I create three regular roles i.e vendor, client and standard user from liferay portal. Now, I assign the role to particular user from liferay portlet using

How to create profile url in cakephp?

Hello readers ! Few days back I was facing issue to make public profile page in cakephp. And want to hide controller and action name from url for this I used the below code in routes.php and its work fine. Router::connect( '/:username', arra

How can you Create a inner class inside a method

In java can we create a inner class inside a method?? Answer to this query is yes . Example code : class Outer { String outerVar="outer Variable"; public void checkInner() { final String localVar="Loc

How to check the Network availability for 3G and 4G connection

Following code will help in you to check the network availability for 3G and 4G connection const char *host_name = "google.com"; BOOL _isDataSourceAvailable = NO; Boolean success; //Creates a reachability reference to the specif

Configuring field data in a module to be dependent on another field

Lets consider a scenario where while creating cases in Suite CRM, we know that we can select the account to associate the case with. But what is required is, a contact should also be selected but with a catch that only those contacts should be availa

Restore Directly from a Snapshot

As explained on post how to archive a snapshot, Now to restore a backup without writing to a compressed gz file from created archive, use the following sequence of commands: umount /dev/vg0/snap_db-01 lvcreate --size 1G --name mdb-new vg0 dd if=/dev

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