No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
49 Posted Topics
How to change the following code for javascript to php code plz help me. <form> <select onChange="updatecalendar(this.options)"> <script type="text/javascript"> var themonths=['January','February','March','April','May','June', 'July','August','September','October','November','December'] var todaydate=new Date() var curmonth=todaydate.getMonth()+1 //get current month (1-12) var curyear=todaydate.getFullYear() //get current year function updatecalendar(theselection){ var themonth=parseInt(theselection[theselection.selectedIndex].value)+1 var calendarstr=buildCal(themonth, curyear, "main", "month", "daysofweek", "days", 0) if (document.getElementById) … ![]() | |
Hi everybody, What is the problem in this code.the layout record print not seperately.display cascade style. anybody help me. <?php foreach ($planbooks as $planbook): ?> <div id="planbook-content" class="float" onclick="window.location.href='<?php echo url_for("@planbook_planmate") ?>' "> <?php for($i=0;$i<=planbook; $i++): ?> <?php $planbook =$i?> <?php $count++ ?> <div planbook="<?php echo $i ?>" class="float"?><?php echo … | |
Hai all, I want to achieve the Resize,Drag and rotate functionality on an image seleted by the user.I am able to do all these in separate function ,but couldn't incorporate in single function. Since the images are dynamically created,i need a single function. For example If i join rotate with … ![]() | |
Hai everybody. what is the problem onclick javascript function not working anybody plz help me. function getColor(block) { var s_url=block.href; var pColor=s_url.substr(s_url.indexOf("#")); document.getElementById("colorText").style.backgroundColor=pColor; document.getElementById("colorText").innerHTML=pColor; } <img src="/images/palette.gif" usemap="#color_palette" /> <map name="color_pallete" id="color_pallete" > <area shape="rect" coords="7,7,31,30" href="#003300" onclick="getcolor(this);return false" /> <area shape="rect" coords="35,7,59,30" href="#003366" onclick="getColor(this);" /> <area shape="rect" coords="63,7,87,31" href="#000080" … | |
Hi how to make it user post photos and videos on my website ,same link as facebook link. any body plz give me idea.and link ![]() | |
Hai everybody. if rotate =true how to disbale draggable function this is my code but rotate working fine. draggable function not disable and enable anybody plz help me. $('.planspace-image').draggable({}); //.resizable(); $('.upload_pic') .resizable({ start: function(e, ui) { }, resize: function(e, ui) { }, stop: function(e, ui) { //alert('resizing stopped'); } }); … | |
Hai every body I want to uploaded images rotate 360 degree.everyimage have one rotate icon. any body plz help me. | |
Hi everybody, I have a container (DIV) which would be resized using the correct aspect ratio. favorite Now I would like to dynamically resize all the elements inside that container using jQuery, anybody plz help me. $('.movable') .draggable() .resizable(); $('.moveable') .resizable({ start: function(e, ui) { alert('resizing start') }, resize: function(e, … ![]() | |
Hi everybody, I created form.the form fields records are saved in database.if select <div id="privacy_create" > this field add some datas in another table [PrivacyProfilePlanpeople] i have no issue.but records store only in first table. privacyprofileplanpeople table no records are added. what is the problem. anybody plz help me. public … ![]() | |
hai, everybody, I have multiple checkbox fileds. how to add images in each fields this is my templete my plan type field is 10 types. user select plan type 1 add image1 plantype2 ->addimage2.png <div><span class="field-label">plantype: <img width="20"src="images/layout/image1.png " /> <?php echo str_replace(',','<br/>',$meetnewpeople['plantype']) ?></span></div></br> $this->widgetSchema['plantype'] = new sfWidgetFormChoice(array('multiple' => true,'expanded'=>true, … | |
Hai,everybody i need help how can i make it user click join button->change the text "view" after that user click view btn goes another page any body plz help me. this code change text working fine. function showtext() { document.getElementById("joinbutton").childNodes[0].nodeValue="View in MyPlans" } <a href="#" id="joinbutton" class="planpeople" onclick="javascript:showtext()">Join</a> | |
Hi everybody, I have problem in meetnewpeopleid meetnewpeopleid value is null how can i getid? anybody plz help me class meetnewpeopleActions extends sfActions { public function executePlanpage(sfWebRequest $request) { $meetnewpeopleId = $request->getParameter("meetnewpeopleId"); var_dump($meetnewpeopleId); $meetnewpeople_obj= Doctrine_Query::create()->select('m.personal_id,m.photo,m.plantitle,m.country_id,m.zone_id,m.city,m.plantype,m.about_plan,m.date,m.what,m.where_go,m.time')->from('meetnewpeople m')->where("id = ?" ,$meetnewpeopleId) ; $meetnewpeople=Doctrine_Core::getTable("Meetnewpeople")->find($request->getParameter('meetnewpeopleId')); $result = $meetnewpeople_obj->fetchArray(); $this->meetnewpeoples = $result; var_dump($result); } } | |
Hai everybody, i want to layout rcords in three columns. 1. previous records 2.todays records 3.nextday records i did query. but i have problem in display records in layout page. how to make it . anybody plz help me. public function executeIndex(sfWebRequest $request) { $myplans_obj= Doctrine_Query::create()->select('m.personal_id,m.photo,m.plantitle,m.country_id,m.zone_id,m.city,m.plantype,m.about_plan,m.date,m.what,m.where_go,m.time')->from('meetnewpeople m') ; $result = … ![]() | |
Hi everybody, i have problem in image resizable and draging. what is the problem in my code. plz help me. var c; var crop_api; $(document).ready(function(){ var uploader = new qq.FileUploader({ //var list=document.getElementById('fileList'); element: document.getElementById('upload_button'), // element: $('#upload_button'), action: upload_url, // action: "http://localhost/public_html/web/meetnewpeople/upload" , params: { meetnewpeopleid: 1 }, allowedExtensions: ['jpg','webm','png','gif'], … | |
Hi everybody, what can i missing my code jquery click function display only error function alert msg. plz help me. function changePage(page) { $("#criteria_page").val(page); $("#search_new_friend").click(); } function inviteToMypeople(personalId) { if (confirm("Are you sure you want to invite " + full_name + " to your layer?")) { $.ajax({ url: $("#url_invite_to_layer").val(), data: … | |
Hi everybody, i have error in Notice: Undefined variable: profile_records in C:\wamp\www\user\apps\frontend\modules\main\templates\profileSuccess.php on line 21 plz help me. index.php <div id="frm_edit" class="float-right"> I'm <?php echo $profile_records['sex'] ?><br /> <?php if ($profile_records['birthdate'] ): ?> I was born on <?php echo date("F j, Y", strtotime($profile_records['birthdate'])) ?><br /><?php endif ?> <?php if ($profile_records['relationshipstatus'] … | |
hi, i have menubar.click menubar content load the particular url in this page. $(document).ready(function(){ $('#menubar li a').click(function(e){ e.preventDefault(); $('#userpersonal').load("http://localhost/user/web/personal/index"); }); }); what is the problem in my code. plz help me | |
Hi, i doing personal page module. this is the my edit profile page code. i have error in 126.call to undefind error. this is error line. $personal->$personal=getDataInArray(); what is the proble? any body plz help me. public function executeEdit(sfWebRequest $request) { $this->frm_edit = new PersonalForm(); $personal=array(); $error=array(); //if they submitted … | |
Hi,everybody, i have this code,what is the problem.button clcik nothing to display, i want to button click display label and textbox. $(document).ready(function(){ $("#planbar").click(function() { var html=""; var i=0; var display=" "; /*var numitem = $(this).val; if(numitem>5) numitem=5; alert(numitem); for(i=1;i<=numitem;i++) {*/ html+="<div><b>Planbar</b> </div>" + "<div class='field'>" + "<span style='width:115px;float-left;text-align:right'>Where:</div>" "<div>" ; … | |
Hi, i created fileuploader using php and jquery.user one click same time upload 20 images. i need each 3 images automatically arrange in 3 different sizes.first image width:120, 2 image width:192,and 3 one is 280. all the uplaoded images grouping 3 images. This is the my index page code. anybody … | |
Hi evrybody, i created fileuploader,user upload photos,the photos arranded in random size. i need display photos three random size first image automatically getin width:140,second:190,thrid:240. more than 10 images user uplaod. next image getin size 1; all the images display overlap. This is my fileuplaod code. public function executeUpload(sfWebRequest $request) { … ![]() | |
Hi,everybody, i created fileuploader,fileupload display one image.select another image first one is disapper.i want to same time user select more than 10 images display all the images one by one. anybody, plz help me. This is my code. public function executeUpload(sfWebRequest $request) { $fileName = $request->getParameter('qqfile'); $newpath = $this->_uploadProgress($fileName,'uploads'); $obj … | |
Hi, everybody i have problem in fileuplaod.apache error log display the following error mesg File does not exist: C:/wamp/www/uploads/planbooks/0f3d1d9a2ac7fbaf6ed4b4c266901eb579e2e658.jpg, but i creates folder in uploads/planbooks class PlanbookForm extends BasePlanbookForm { public function configure() { parent::configure(); $this->useFields(array('photo','title_name','country_id','zone_id','place','itinerary','occasion','date','description')); $this->widgetSchema['photo'] = new sfWidgetFormInputFileEditable(array('label' =>'photo','file_src' => '/'.sfConfig::get('sf_web_upload_dir').'/uploads/planbooks/' .$this->getObject()->getPhoto(), 'is_image' => true, 'edit_mode' => !$this->isNew(), … | |
Hi everybody, i created ajax uploader.what is the problem in my code. upload file failed message display. anybody,plz help me. This is the my action file. class pictureActions extends sfActions { /** * This function may update later when plugin is used. */ public function executeUpload(sfWebRequest $request) { $planbook_id = … | |
hi everybody, i created three table planbook,like and user table. what is the problem in this code. nothing to error msg display.but did not like count store in database class planbook public function get_like_count($planbookId) { $planbook_id= $planbook_id; $planbook_obj=Doctrine_Query::create() ->select('p.planbook_like')->from('planbook p') ->where('p.planbook_id =?', $planbookId); $result=$planbook_obj->fetchArray(); } public function add_like_count($planbookId) { $stmt=mysqli_prepare($this->connection,"update … | |
Hi everybody, i asked many times.but i cannot get expected result.so i asked agian. anybody plz help me. this code,did not display fancy box.the requested content cannot be loaded message display. i created planmate url. $(document).ready(function(){ $(".planbooks").fancybox(); $('#planbook-content').bind('click',function() { $.ajax({ type :"post", catch:false, url : $("#planbook_planmate"), data :{title_name:'title_name',} success:function(data) { … | |
Hi, everybody, user post the plancard.click the evryplanbook display popup page with content how can i make it. anybody plz help me. <p><div id="planbook-content" class="float" onclick='<?php echo url_for('@planbook_planmate') ?>' > <div><img src="/uploads/planbook/<?php echo $planbook['photo'] ?>" alt="" /></div> <div> <span class="field-label"> Title: <?php echo $planbook['title_name'] ?></span></div></br> Country: <?php echo $planbook['country_id'] ?></span><br … ![]() | |
Hi everybody, What is the problem in this code,loop does not working . layout page display loop. i need 12 columns. in page layout. plz help me. <div class="planbooks"> <b><?php echo date(" 'F 'y") ?></b> <?php $i=0; foreach ($planbooks as $planbook): ?> for($i = 0; $i <=15; $i++) { if(!($i … | |
Hi everybody, plz help me. how to create a own like button on my website.using php ,javascript or jquery | |
Hi evreybody,sry before i posted wrong title name,very sory for my bad english I have a users table which I want to display 5 records then take a new row, display 5 records, take a new row... plz anybody help me. this is the mysql query $planbook_obj= Doctrine_Query::create()->select('p.personal_id,p.photo,p.title_name,p.zone_id,p.place,p.occasion,p.itinerary,p.description,p.date')->from('planbook p'); $result … | |
Hi everybody, i create a form,all the form datas store in db.but no data retrive from database. what is the problem in my code. nothing to display my template page. plz help me. this is my action file: class planbookActions extends sfActions { public function executeIndex(sfWebRequest $request) { $planbook_obj= Doctrine_Query::create()->select … | |
Hi everybody, Now,this table print in vertical(one by one) type.but i need table print the following method. how can,i make it,plz help me. 1 6 11 etc ..... 2 7 12 etc 3 8 13. 4 9 14 5 10 15 etc this is the mysql query $planbook_obj= Doctrine_Query::create()->select('p.personal_id,p.photo,p.title_name,p.zone_id,p.place,p.occasion,p.itinerary,p.description,p.date')->from('planbook p'); … | |
Hi everybody, I have this error.anybody,plz help me.how to solve this problem. store all the data in database.but view the data in index page. nothing to display. lib/model/doctrine: class PlanbookTable extends Doctrine_Table public function updatePlanbook($data) { if ($data["id"]) { $planbook = Doctrine::getTable("Planbook")->find ($data["id"]); } else { $planbook = new Planbook(); … | |
Hi everybody, I created the userlogin page.user give username and password .afterthat this error was comming.but this code work in online server.i adding the new module so,i copied and paste the my local drive. ![]() | |
HI everybody, I have this error.i created a user login page using sfguard user.(symfony framework) but i include php.ini Windows: "\path1;\path2" ;include_path = ".;c:\php5.3.8\PEAR" but still same error was comming.what is the problem.plz anybody help me. Fatal error: require() [function.require]: Failed opening required '/' (include_path='.;C:\php\pear') in C:\wamp\www\public_html\lib\vendor\symfony\lib\view\sfPHPView.class.php on line 75 | |
Hi every body, I have this error anybody plz help me. Parse error: syntax error, unexpected '>' in C:\wamp\www\public_html\apps\frontend\modules\personal\templates\indexSuccess.php on line 30 this is the line 30. **>getPrimaryAlbumId()."_".$personal->getProfilePicture(), true) ?>" alt="Profile Picture" /></a>** <?php use_javascript('addTalk') ?> <?php use_javascript('schedule') ?> <?php use_javascript('sync') ?> <div id="profileName"> <?php foreach ($personals as $personal): ?> … | |
Hey everyone. the following are my jquery coding.i maked the code for user onclick the schedule date display schedule.what is the error for following code.onlick no display event. plz help me. correct the code. $(document).ready(function(){ $(".calendar").click(function() { if ($(this).attr('days')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&day="+$(this).attr("days"), dataType: "json", success: function(list) { … | |
Hi all, Iam working on Event Calendar and events are populate from Database inside php Calendar Control now i have to display the details of events on mouse over of selected date and pageloading time dispaly current event . any Idea or code help is apperciated. which appraoch i have … | |
Hi everyboby. plz help me. I created calendar using php and javascript.but the javasript function did not work.plz tell me what is the error. [CODE]<?php use_javascript('schedule') ?> <?php use_javascript("editProfile") ?> <?php use_javascript('unfinishedbussiness')?> <?php use_javascript('scheduleload')?> <script type="text/javascript" language="javascript"> function isAjax() { return isset($_SERVER['HTTP_X_REQUESTED_WITH']) && $_SERVER ['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'; } if(isAjax() && … | |
Hi, Mouseover the circle area i will display some text.the following code is correct or not.does not work this code.where can put mouseover function. plz help me,urgent, I asked many times but nobody tell me. <map name="Map" id="Map"> <area shape="circle" coords="229,40,35" href="<?php echo url_for("@make_plans") ?>"onMouseOver="('HEY JOHN YOU HAVE NEW MESSAGE')"; … ![]() | |
Hi everybody, what is the error for following code.this function not work. $( "#calendar-node" ).hover( function(){ if ($(this).attr('date')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&date="+$(this).attr("date"), dataType: "json", success: function(list) { events = list["events"]; notes = list["notes"]; if (events.length != 0 || notes.length != 0) { $("#schedule").show(); var html = ""; var … | |
Hi everyone, I need syntax for pageloadevent function,javascript or php | |
Hi everybody This is the my header page coding.onmouseover display url content. <div id="layout-title"><a href="/"><img src="/images/layout/mainpage_title.png" /></a></div> <div class="float-right text-align-right"> <a id="main_menu" href="/images/popup/main_menu.png"><img src="/images/popup/main_menu_small.png" alt="" style="width: 50px;"/></a><br /> <?php if ($countInvitationLayer): ?><a href="<?php echo url_for("@personal_notification") ?>">Requests (<?php echo $countInvitationLayer ?>)</a><br /><?php endif ?> <?php if ($countEventInvitation): ?><a href="<?php echo url_for("@personal_notification")?>">Invitations … | |
Hi everybody, I make a social media website.user having event for todays date. pageloading time automaticaly dispaly that event.how to create.another date event click the date display | |
Hi Everybody, I need help for mouse Over event. I make the following code for click event this is ok.and the event mouse over that time display inside the calender node. very urgent please help me. $(".calendar-node").click(function() { if ($(this).attr('date')) { $.ajax({ url: $("#url_view_schedule").val(), data: "personalId="+$("#personal_id").val()+"&date="+$(this).attr("date"), dataType: "json", success: function(list) … | |
Hi everyone, how to create slideshow, user click album .all album picture display slideshow. | |
Hi everybody , My project having 7 modules.personal,Mypics(album),layer.... i have some problem in upload photo in layer.i need inside the layer,layername and layerphoto.the following code for display name.name is ok. editlayer.php <div class="field"> <span class="field-label">Name:</span> <input id="layer_name", src=" " type="text" name="layer[name]" value="<?php echo $layer["name"] ?>"> <span id="layer_name_error" class="field-error"><?php if (isset($error["name"])) … | |
Hi every one. I make it the following code for profile page.but i click edit profile display onle personal description.dont display . `<?php if($sf_user->hasFlash("notice_change_password")): ?>` this area. plz tell me how to change. <?php use_javascript("location") ?> <?php use_javascript("editProfile") ?> <?php slot("js") ?> <script type="text/javascript"> $(document).ready(function(){ $("#personal_country_id").change(); }); </script> <?php end_slot() … ![]() | |
I am a new programmer,my previous programmer creating a website using php(vps server).he completed the 4 pages.but how to add new page under the second page.plz tell me anybody very urdent.help me. |
The End.