Search Engine SpiderEnter URL
Zend getting user profile picture in SocialEngine
Zend getting user profile picture in SocialEngine <?php $smarttipsuser = Engine_Api::_()->user()->getUser($user_id); echo $this->htmlLink($smarttipsuser->getHref(), $this->itemPhoto($member2, ‘thumb.icon’)) ?>
Get the user id of the profile which is being viewed in socialengine
user id of the profile in socialengine $subject=Engine_Api::_()->core()->getSubject(); The above code returns the currently set subject. In profile the subject is the currently viewing profile. So for get id of this profile, use the following code $profileId=$subject->getIdentity();
Html 5 video tag
HTML5 has some advanced Advenced tags. HTML5 video tag is advanced and easy tag for play videos <video src=”https://www.smarttips.in/demo/smarttips.mp4″width=”500″ height=”300″ controls autobuffer> </video>
How can I disable a button in a jQuery
disable a button in a jQuery jQuery(“#a-create-event”).attr(“disabled”, true); Enable a disabled button in jQuery jQuery(“#a-create-event”).attr(“disabled”, false);
