
Search In
Hello Guys,
Here, I am writing code for get session attribute in velocity. First of all set session attribute in view.jsp or class of the portlet then get session attribute in velocity template.
Follow below steps to implement.
step : 1 put below
Hello Guys,
Liferay provide default auto log-out functionality when you are inactive 30 minutes on website, it will log-out from website. You can change this functionality according requirement.
Auto log-out functionality depends on session tim
Social media... Now a days social media is a part of life or requirement of time. We are here to discuss integration of twitter with magento. We all have twitter account. Am I right?. We can integrate twitter to magento with different ways. Like you
Step-1 install the account_invoice_copy module.
Step-2 After that customize .py file in account_invoice_copy module.
In below example, I have custmozied .py file. You can directly copy the below python code in your .py file -
def copy(self, c
Now a days, the trend of browsing has changed a lot. Earlier, we use to sit on the system and perform various activities but now in this modern era the trend has been changed and we use to do all the internet related activities on our mobile device o
Draw circle in HTML: In this article I will show you how we can draw circle in HTML canvas. To draw circle in web page we will use Canvas API, we will draw the circle on canvas using the arc() method. Following is the simple example to draw circle on
Hello Readers,
I will show you how to copy text in clipboard without using ctrl+c.
<html>
<head>
<script type="text/javascript" src="jquery-1.8.0.min.js"></script>
<script src="jquery.zclip.js"></script>
<
If you are creating web forms then you need to put the validation in your form. We are here to discuss the validation for email. We know email address has its own structure. For eg. anytext@domain-main.com or anytext@domain-name.co etc
We are going
With the help of javascript we can create changing clock time function. In the example given below I am using setTimeout function (changed other value) when clock refresh it will show the exact time once in every seconds.
<html>
<head>
&
Here below is the code for searching places by using place name.
I use api provides by google also know as google place api.
"http://maps.googleapis.com/maps/api/geocode/json?address="+CITY_NAME+"&sensor=true";
In response of it We get a json
