Planet Drupal

Syndicate content - 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= development upgrade Drupal 7 core jQuery libraries into its latest version for a href= is a must. BTW a href= 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= make/a and a href= 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= jQuery/a. The goal of a href= 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= make/a file for library download/li liConfirm library successfully initialized with a href=!system!system.api.php/function/hook_requirements/7hook_requirements()/a/li liUpgrade jQuery related libraries as below version: ullia href= 1.10.2/li lia href= UI/a: 1.10.3/li lia href= Cookie/a: 1.4.0/li lia href= Form/a: 3.46.0/li lia href= Once/a: 1.2.6/li lia href= BBQ/a: 1.3pre ulliAdditional patch for a href= gt;= 1.9/a/li /ul/li /ul/li liPort from a href= Update/a, upgrade conflicted .js implementation: ullia href= lia href= /ul/li /ulh3Getting Started/h3 pDownload and install with a href= 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= 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] = projects[twbs_jquery][subdir] = contrib/pre h3Live Demo/h3 pa href= jQuery/a is now integrated into a href= distribution, so you can try it in a live sandbox with a href= h3Why Another jQuery Module?/h3 pFor general and generic jQuery update functionality, you should always consider another a href= 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=, 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= API/a; a href= 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= Update/a support multiple version of jQuery/li liMuch simple implementation which handle all upgrade and replacement automatically; a href= Update/a provide more customization options/li /ulh3Author/h3 ulliDeveloped by a href= Wong/a./li liSponsored by a href= 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= //p pa href= 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= 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= //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= 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= //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= 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= //p pa href= 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= style=font-size:14px;When it came time to build a video playlist in a href= Views/a for a href= 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= title=smiley width=20 //span/ppspan style=font-size:14px;There are a a href= of videos on YouTube/a bynbsp;a href= 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= 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