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);
Fast and Furious 6 – Final Trailer
Fast and Furious 6 Trailer
php zend Pagination
Zend pagination Zend pagination is a default option available in zend framework. Only needs to use it .The codes are apply in controller and view class Admin_PollsocietiesController extends Core_Controller_Action { public function listsocreqAction() { $oSocReqs = new Model_Societysignup(); $aSocReqs = $oSocReqs->getPendingRequests(); unset($oSocReqs); //for pagination $climit = 20; $page1 = $this->_getParam(‘page’,1); $paginator = Zend_Paginator::factory($aSocReqs); $paginator->setItemCountPerPage($climit); $paginator->setCurrentPageNumber($page1);…