mav_santana
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Videos not playing in chrome with warningDoh. That was so not where I would look. I deemed it to be a jquery issue based on the comments I read related to the same error. Thanks for your help.
Forum: Fixing WordPress
In reply to: Videos not playing in chrome with warningI am not asking help with the premium theme. My concerns are more so with the global warnings that I am seeing with wordpress or jquery. The warnings or errors I mentioned above when I googled for them show that it’s a know jquery error. To see if it works I also downgraded my wordpress from 3.8.1 to 3.6, but that did not help. Pls help me with the warnings and errors I mentioned above. They are more than the theme and I also have a thread going on with the theme designer.
Forum: Plugins
In reply to: [HTML5 jQuery Audio Player] Looking of on click functionsHi Maeve_lander, I have pro version of this plugin. I kind of seemed to figure out all but here is where I am stuck at two points below
1) when I try to update the song, obviously it should update the value what I am trying to like I added the textarea below
<tr valign="top"> <th scope="row"><strong>Musicians</strong></th> <td><textarea name="musicians" id="musicians"><?php echo $uresults->musicians ; ?></textarea></td> <td><span style="font-size:11px; color:#b2b2b2; font-style:italic;"> Musicians of the song</span></td> </tr>technically it should go and update the value in the database right? The problems I am facing is it’s not updating as it would update other values. May be because I am using wp_editor like below in update function?
<?php if($action=='update'): ?> <?php print_r($uresults); echo "<br />"; print_r($uresults->musicians); require 'songs/update-song.php'; $content = ''; $editor_id = 'musicians'; $settings = array( 'wpautop' => true, 'media_buttons' => false, 'textarea_name' => 'musicians', 'textarea_rows' => 8, 'tabindex' => 4, 'tinymce' => array( 'theme_advanced_buttons1' => "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,styleselect,formatselect,fontselect,fontsizeselect", 'theme_advanced_buttons2' => "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,insertdate,inserttime,preview,|,forecolor,backcolor", ), ); wp_editor( $content, $editor_id, $settings ); ?>It works fine when I dont use the editor but not the same when I use the editor with html formatting and stuff.
Forum: Plugins
In reply to: [HTML5 jQuery Audio Player] Looking of on click functionsI’ve figured out how to give a songs related data on click. But now I have another question.
Like I said I added an extra textarea form field to add-song.php and update-song.php to take in text. I want to add TinyMCE editor which I think is the default wordpress editor or any rich text editor that will help my client format data, then the ajax function should html encode the characters using htmlspecialchars and then put in the database. Also need to have it working for update. If you can help out with this, it’d be great. I’ll keep trying and update this if I get it.
Forum: Plugins
In reply to: [HTML5 jQuery Audio Player] Song data in a seperate divOk I am trying to muck with the code to get song info on click on separate div. Here is what I did and need additional help from you if possible.
1. I modified add-song, update-song files to add some extra fields that i need to put into the database and retrieve.
2. I added some php code on top of the ttw-music-player.php page to get the newly added data that i want displayed in an onclick div.
3. In the function buildInterface() I added a div at the end of the html part where I want to get the newly added data.The point where I am stick where are jquery or javascript functions that deal with the click action of play button. What i want to do with that is on clicking that, I will capture the song title and display that related data in the div that i added below the player. need your help here in figuring out the correct click action. I have pro version and can share order details if you want.