Wordpress - vijayakumarraja.wordpress.com - Vijayakumarraja's Blog

General Information:
Latest News:
get the user name using GUID 17 May 2011 | 11:59 pm
These below code help us to get the user guid,name & usename in Elgg $user_guid = get_input(‘user_guid’); echo $user_guid; $user = get_user($user_guid); echo $user->name; // Similarly for Usernam...
get the current user GUID in Elgg 17 May 2011 | 11:48 pm
$user_guid = get_input(‘user_guid’); echo $user_guid;
Id & Class in CSS 16 May 2011 | 10:22 pm
It is often hard to decide when to use a class versus an id for an element. Here is an easy way to think of the difference: Use a class tag if: The style is used in various places throughout the doc...
How to set radiobox checked in Elgg 29 Apr 2011 | 12:39 am
In Normal HTML we can easily set radio box checked as like below.. <input type="radio" name="color" value="Red" /> <input type="radio" name="color" value="Green" checked="checked" /> <input type="r...
Get the value of selected radio box 28 Apr 2011 | 11:33 pm
<input type="radio" name="color" value="Red" /> <input type="radio" name="color" value="Green" checked="checked" /> <input type="radio" name="color" value="Yellow" /> <script type="text/javascript"...
Function in JQuery 8 Apr 2011 | 10:04 pm
Once i want to execute same set of codes for two common events in jquery. ie, i want to execute the code while 1 . Changes occur in dropdown 2 . While page Load. At, that time i planned to use bind...
Count Functions in elgg 31 Mar 2011 | 05:58 pm
Once i need the total no of blogs in archieves part..ie, under every month …at the time i used many functions.But, finally one default elgg library function helps me to get that couunt.. echo count_u...
CSS Tips 11 Feb 2011 | 12:36 am
How to avoid browser conflict while using <P> Tag.. It is the best practise to set paragraph tag (<p>) padding & margin as 0px.It working nice in Firebox & Conflict in other Browsers.. Example: P ...
list in CSS 4 Feb 2011 | 08:00 pm
How to set background image for list item : Steps: 1.First of all to remove tle default list padding & margin set this as 0px. padding:0px; margin:0px; 2.Then,remove the list-style. list-style-t...
Limit the String length in Elgg : 1 Feb 2011 | 07:15 pm
Limit the String length in Elgg : elgg_get_excerpt( $text, $num_chars = 40); It will limit the no of characters in $text to 40 and … is added at the end if it is more than 40.