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

Search In

Query Alter in Views

In order to modify the where condition of a views query we use hook_views_query_alter. This hook should be placed in your custom module. //Here, we are going to modify the query, which is an element of the $query variable function hook_view

How to display a single text view in different colors

It can be done simply by setting your text as below :- textView.setText(Html.fromHtml(getString(R.string.starting_up_message))); And in your in your string file define that test say like this <string name="starting_up_message"><![CDATA[

Password Recovery in OpenERP

Can't log in? Forgot Password? Many users and many passwords? All these questions are very common in daily operations of your OpenERP. If you are admin then you have all the access to change or recover passwords for other users as well. This is ver

Changing Windows Hosting Account's Default File

If you want to make your website's default file you can do this by using Windows® hosting accounts running IIS 7, hence you only have to specify your website's default file using a web.config file. To change your website's default file, include the

Constraint Error While Creating Customer Invoice

When we are creating a new Customer invoice, than on validating(Clik on validate button) the invoice, we got a " 'Constraint Error': Invoice Number Should be unique " To resolve this error Simply go to settings >> Configurations >> squ

Mutable and Immutable Objects

Object which we create can either be mutable or immutable. For example: Immutable : NSString *str = [[NSString alloc]init]; Mutable: NSMutableString *str = [[NSMutableString alloc]init]; When we edit Mutable Object it will change its valu

Block variable in objective C

Block access the data in normal way as the other normal function do. Block can access any class variable or function variable out side it but cannot modified it. int x= 111; void (^printXAndY)(int) = ^(int y) { printf("%d %d\n", x, y); }; print

Solution of EditText font in password mode

When an EditText is in password mode, It looks that its font is different. When we change typeface in xml , It dosent work. There is a solution : We should change it from java like this <EditText android:id="@+id/create_

Changing URL parameters using Javascript

More often than not we need to change URL parameters sometimes for Hash tags and sometimes for creating url parameters for creating new clickable URLs.. function updateQueryStringParameter(uri, key, value) { var re = new RegExp("([?&])" + key

How to add mouseleave, mouseenter and click event using jQuery

Hello, I want to change the image when entering and leaving mouse to it. But the image should stay there when clicked. I have an image attribute source that is replaced on mouse enter and mouse leave event. But image is also changing after clicki

1 27 342
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: