Planet Drupal

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 49 min 58 sec ago

Edison Wong: Announcing TWBS jQuery: Simple jQuery Update for Drupal 7

Thu, 01/02/2014 - 06:46
div class=field-body pDuring a href=https://drupal.org/project/twbsTWBS/a development upgrade Drupal 7 core jQuery libraries into its latest version for a href=http://getbootstrap.com/Bootstrap/a is a must. BTW a href=https://drupal.org/project/jquery_updatejQuery Update/a seems not my cup of tea because it give me too much trobule within previous site building experience: too complicated, bundle everything within its own archive (which I love to manage 3rd party libraries with a href=http://raw.github.com/drush-ops/drush/master/docs/make.txtdrush make/a and a href=http://drupal.org/project/librariesLibraries API/a), and it is really too much for my use case. So why not just work out a simplified version?/p pAfter some research and development during Christmas holiday, I would like to introduce my helper module named a href=https://drupal.org/project/twbs_jqueryTWBS jQuery/a. The goal of a href=https://drupal.org/project/twbs_jqueryTWBS jQuery/a is to provide a handy support for jQuery upgrade and act as the helper module for on going Drupal-Bootstrap-Remix development./p pAll replacement will be handled automatically. No additional configuration is required./p h3Key Features/h3 ulliProvide a href=https://raw.github.com/drush-ops/drush/master/docs/make.txtdrush make/a file for library download/li liConfirm library successfully initialized with a href=https://api.drupal.org/api/drupal/modules!system!system.api.php/function/hook_requirements/7hook_requirements()/a/li liUpgrade jQuery related libraries as below version: ullia href=http://jquery.com/jQuery/a: 1.10.2/li lia href=http://jqueryui.com/jQuery UI/a: 1.10.3/li lia href=http://plugins.jquery.com/cookiejQuery Cookie/a: 1.4.0/li lia href=http://jquery.malsup.com/formjQuery Form/a: 3.46.0/li lia href=http://plugins.jquery.com/oncejQuery Once/a: 1.2.6/li lia href=http://benalman.com/projects/jquery-bbq-pluginjQuery BBQ/a: 1.3pre ulliAdditional patch for a href=https://drupal.org/node/2138761jQuery gt;= 1.9/a/li /ul/li /ul/li liPort from a href=https://drupal.org/project/jquery_updatejQuery Update/a, upgrade conflicted .js implementation: ullia href=http://drupalcode.org/project/twbs_jquery.git/blob/refs/heads/7.x-3.x:/alter/misc/states.jsmisc/states.js/a/li lia href=http://drupalcode.org/project/twbs_jquery.git/blob/refs/heads/7.x-3.x:/alter/modules/overlay/overlay-parent.jsmodules/overlay/overlay-parent.js/a/li /ul/li /ulh3Getting Started/h3 pDownload and install with a href=https://github.com/drush-ops/drushdrush/a manually:/p pre drush -y dl --dev twbs_jquery drush -y make --no-core sites/all/modules/twbs_jquery/twbs_jquery.make/pre pPackage into your own drush .make file (e.g. a href=http://drupalcode.org/project/drustack_core.git/blob/refs/heads/7.x-24.x:/drustack_core.makedrustack_core.make/a):/p pre api = 2 core = 7.x projects[twbs_jquery][download][branch] = 7.x-3.x projects[twbs_jquery][download][type] = git projects[twbs_jquery][download][url] = http://git.drupal.org/project/twbs_jquery.git projects[twbs_jquery][subdir] = contrib/pre h3Live Demo/h3 pa href=https://drupal.org/project/twbs_jqueryTWBS jQuery/a is now integrated into a href=https://drupal.org/project/drustackDruStack/a distribution, so you can try it in a live sandbox with a href=http://simplytest.me/project/drustack/7.x-24.xsimplytest.me/a./p h3Why Another jQuery Module?/h3 pFor general and generic jQuery update functionality, you should always consider another a href=http://drupal.org/project/jquery_updatejQuery Update/a module which started since 2007-04-26./p pOn the other hand you should consider about using this module because of:/p ulliPurely design for assist a href=https://drupal.org/project/twbsTWBS/a, which means you will have the best compatibility when using both together/li liFetch libraries directly from original repository and handle initialization with a href=https://drupal.org/project/librariesLibraries API/a; a href=http://drupal.org/project/jquery_updatejQuery Update/a bundle all libraries into it's own code repository and initialize manually/li liOnly support latest official version of libraries which result as no additional configuration required; a href=http://drupal.org/project/jquery_updatejQuery Update/a support multiple version of jQuery/li liMuch simple implementation which handle all upgrade and replacement automatically; a href=http://drupal.org/project/jquery_updatejQuery Update/a provide more customization options/li /ulh3Author/h3 ulliDeveloped by a href=http://drupal.org/user/33940Edison Wong/a./li liSponsored by a href=http://drupal.org/node/1741828PantaRei Design/a./li /ulpPlease feel free to test it out and comment with your idea. Let's enjoy simplified jQuery update experience ;-)/p /div h3 class=field-label Tags /h3 div class=field-tags a href=/tags/drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal/a /div div class=field-tags a href=/tags/development typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Development/a /div div class=field-tags a href=/tags/jquery typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=jQuery/a /div span property=dc:title content= Announcing TWBS jQuery: Simple jQuery Update for Drupal 7 class=rdf-meta/span

Bryan Braun: There's more than one way to save a node

Thu, 01/02/2014 - 05:22
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpEvery day, millions of nodes are saved. It happens every time content is created, migrated, or updated. It's probably the most common content management task in Drupal./p pBut there are lots of ways you can change the node-save experience for your users, and there are many contributed modules that offer alternative approaches to saving nodes. Here are a few that I like./p h2Add another/h2 p style=text-align: center;img alt= src=http://bryanbraun.com/sites/default/files/add_another.png //p pa href=https://drupal.org/project/addanotherThe Add Another module/a allows gives users the option to save a node while quickly creating a new one. You can choose to add the option to the admin form itself, or as part of the save confirmation message. It's great for those content types, like Image or Video for example, where your users find themselves creating a series of nodes in succession./p h2Hide Submit/h2 pOccasionally you'll see an issue where an end user clicks submit on a the node-edit form and, being ignorant of the fact that the request is being processed, clicks submit several more times to see  if it's broken. Sometimes this can lead to multiple form submissions, resulting in bad things like duplicate content. a href=https://drupal.org/project/hide_submitThe Hide Submit module/a does one simple thing: Prevent forms from being submitted multiple times. It does this by disabling the submit button once it's been clicked, with settings to fade out the button, append text, or hide it all together. This prevents errors, but it also signals to the user that the submission is in progress, helping to alleviate a bit of the frustration./p h2Publish Button/h2 p style=text-align: center;img alt= src=http://bryanbraun.com/sites/default/files/publish-button.png //p pemDoes the word Save mean that I'm saving a draft or does it mean that I'm publishing the content live?/em While it may be obvious for those familiar with Drupal, the intent of the button isn't always clear for new users. a href=https://drupal.org/project/publish_buttonThe Publish Button module/a aims to make it more explicit by splitting up the Save button into two buttons: Save and Publish. If a node is published, the publish button is replaced with an Unpublish button./p h2Node Buttons Edit/h2 p style=text-align: center;img alt= src=http://bryanbraun.com/sites/default/files/node_buttons_edit.png //p pWhat if you have your own idea on what button text should be used? You could use string overrides module for a universal approach to text customization, but a href=https://drupal.org/project/node_buttons_editthe Node Buttons Edit module/a gives you a straightforward admin page for customizing the button text specifically. No need to incur the additional overhead if you don't have to./p h2More Buttons/h2 p style=text-align: center;img alt= src=http://bryanbraun.com/sites/default/files/more_buttons.png //p pa href=https://drupal.org/project/mbThe More Buttons module/a gives you the option of turning on more buttons (shocking, I know), to further customize your content saving experience. For example, you may want a Save and Continue button to save the status of the current input while continuing to make changes. Or maybe you'd like a cancel button, to close the form altogether. If so, this module makes these (and other options) available to you./p pSo next time you see users tripping over the node saving workflow, remember that you, as a sitebuilder, have a handful of options at your disposal to make things a bit more clear./p /div/div/div

netsperience 2.x: Building a Video Playlist for JW Player 6 with Drupal 7 Views

Thu, 01/02/2014 - 03:31
pspan style=font-size:14px;I took over a Drupal 7 project building a web application for college students to upload original videos about their school, and for schools to manage, group, and share the videos./span/ppspan style=font-size:14px;It's a startup privately funded by the principal, and we are literally working on a shoestring. My previous experience with media in Drupal led the principal to contact me via a href=http://www.linkedin.com/in/rgoya/LinkedIn/a./span/ppspan style=font-size:14px;When it came time to build a video playlist in a href=http://drupal.org/project/viewsDrupal Views/a for a href=http://www.jwplayer.com/JW Player/anbsp;version=6.7.4071nbsp;(formerly known as Longtail Video), I found very little useful documentation. In fact, someone suggested thatem those who know how are not interested in sharing their knowlege/em. -- but not menbsp;img alt=smiley height=20 rel=lightbox src=http://netsperience.org/sites/all/libraries/ckeditor/plugins/smiley/images/regular_smile.gif title=smiley width=20 //span/ppspan style=font-size:14px;There are a a href=http://youtu.be/ut1yX-Go2Mccouple of videos on YouTube/a bynbsp;a href=https://drupal.org/user/24286Bryan Ollendyke/a for Drupal 6. But a lot has changed in Drupal since then./span/ph3The Goal:/h3pspan style=font-size:14px;Back to the playlist: Site admins can mark a video featured by ticking a checkbox on the custom video content type. Now I want to display those emfeatured/em videos as a playlist./span/pppa href=http://netsperience.org/content/blog/building-video-playlist-jw-player-6-drupal-7-views target=_blankread more/a/p

Acquia: 2013 Greatest Hits – Meet Angie Byron: The Return of Webchick

Wed, 01/01/2014 - 22:50
div class=field field-name-body field-type-text-with-summary field-label-hidden div class=field-items div property=content:encoded class=field-item evenpAngie and I were at Acquia headquarters in Massachusetts at the same time in the spring of 2013. This gave us the chance to sit down and chat in front of the camera about all things Drupal. Highlights from our conversation became two podcasts with accompanying video. In this part of the conversation, Angie talks about how she got into Drupal and more./p /div /div /div span property=dc:title content=2013 Greatest Hits – Meet Angie Byron: The Return of Webchick class=rdf-meta/span