
Search In
When the user types a value in an edit box or selects a value from a text-based control, the value is considered a simple group of words and the browser may not be able to identify or categorize what exists in a text-based control. The parsetInt() fu
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
We can mask a png image over any other image with rotation and proper alignment.
Let say for example, if we need to replace the human face of an image with another face, then we need this type of masking. There are various ways and command within im
Sometimes, I feel a need to get a PHP array in my JavaScript code. Earlier I make use of implode function of php but recently found new way using json_encode that works very effectively.
Here is my php array:
<?php
$cool_epl_clubs_php = array('M
The SplFileObject class provides an object oriented interface for a file.
$file="upload_file.csv"; //file to parse
Steps:
1) Create SplFileObject class object to the csv file.
$srcFile = new SplFileObject($file);
2)Now loop till end of file f
DNN7 Common Error
After installation of your DNN site sometime show given blow error on Default.aspx.
HTTP Error 404.0 - Not Found
The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
*Module: II
At times, we make apps which use camera feature but that app can also be used on non camera devices for other features. There we have to apply a check on using the camera feature, that is as follows:
PackageManager packageManager = activity.getPacka
Here is the code to get your custom post type posts. you can put something which you want to print like your post content, your post title, featured image and etc under the while loop.
'news', // Change news as your post type
'post_sta
When i was working on a class i have got the following error..
Access restriction: The type BASE64Encoder is not accessible due to restriction on required library C:\Program Files\Java\jre6\lib\rt.jar
I resolved it by looking up on google, where I
Hi All,
I was confused about how to implement patches into our Drupal modules or in other files. There is a way to apply these patches automatically. We have to install git bash and then we can apply available patches and as well as create new stand
