Planet Drupal

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

Chapter Three: Pick on Your Performance Issues

Fri, 11/04/2014 - 4:53am

Performance should be in the mind of every Drupal developer and site builder as they are building a site. But let's be honest, while getting everything to just plain work and look good speed doesn't always get to hold that #1 spot in your mind.

Freeing up brain energy from potential performance issues is not necessarily a bad thing. Predicting which issues will have the biggest impact once a site launches is a task best left to wizards and sages. The best way to analyze and then tackle a site's performance issues is with data from the live production site. There are plenty of tools to help simulate that data, but nothing replaces good hard production data.

Luckily Views Cache Bully has come to the rescue of distracted developers everywhere. Set it, forget it and rest easy knowing that you now have one less reason for why your site might be crawling.

Why views caching?

Most the views on your site display the exact same information over and over, they just display it to different users. I know, I know you are a prolific blog writer, but do you really publish a new post every 5 minutes?

If you are feeling conservative, set the defaults to a short value and keep bumping them up as you come to realize how little these things change. Even if you only serve the cached results to five users that means five less trips through PHP and the database for those visitors.

Categories: Drupal News

AGLOBALWAY: Death to Lorem Ipsum! Content First!

Fri, 11/04/2014 - 4:52am
Have you ever build a beautifully designed responsive website? You followed mobile first design principles and carefully analyzed the small screen to big screen transition.  It scales magically and works beautifully on IE8 and IE10 at the same time.  All the bugs have been squashed.   Now, it is ready for the client to enter the content.  HOLD on!  What?  Yes, I said it.   You are ready for the client to enter the content.  I suspect you are going to guess what happens next, the beautifully design website with placeholder text buckles.   Lorem Ipsum brings you down.   Of course this never happens to you.     Reality of how the client is actually is going to use the site emerges.   You thought they would give you nice uniform images.  That beautiful pinterest style blog listing now looks like malformed swiss cheese.  Who knew!  The client loves to speak in 100 character bursts that make Twitter look wordy.  Your article listing looks sparse.  Although it may be tempting to blame the client for their writing style or lacking the appropriate reverence for your beautiful design, but that would be a big mistake.  It is time to start thinking about designing websites around content first.     As developers, recognize that the longer it takes to get real content into the system the more risk you are taking on.  As clients, bringing your content to the developer at the start of the project you will more likely have a website that works well for you.  Not only it is important to have a sense of the content, knowing what the bare bones minimum and high priority content can help you small screen design.   When you are doing a content review think of the following:  
  • What business message are you trying to convey?
  • What languages are you using?
  • Are there any regulations that you have to abide by?
  • How quickly can the content be created?
  • Who is creating the content?
  These questions can help you determine your minimal viable content (MVC).  The faster you can create your MVC and get into your developments hands the more successful your responsive multi-platform website will be.  Don’t let lorem ipsum bring you down.   Tags: responsivemobile firstcontent firstwebmutli-platformdrupal planet
Categories: Drupal News

Acquia: DrupalCon Training with the Acquia team! UX and Security

Fri, 11/04/2014 - 1:02am

The Acquia team is getting ready for DrupalCon Austin. We're excited about the official announcement of training at DrupalCon which is held on the Monday before the conference on Monday, June 2. We have two courses on offer which we think you'll love. One will get you started evaluating your designs with users, and how to conduct usability testing. One will help ensure your site or application is secure which is increasingly important for sites of all sizes.

Categories: Drupal News

Code Karate: Responsive Navigation Module

Thu, 10/04/2014 - 11:22pm
Episode Number: 142

In this episode of the Daily Dose of Drupal we go over the Responsive Navigation module. This module can be used to make your Drupal menu "responsive" so that it displays nicely on mobile and tablet devices. If you are trying to build a responsive Drupal website or a responsive Drupal theme, this module can help.

Tags: DrupalContribDrupal 7Drupal PlanetUI/DesignResponsive Design
Categories: Drupal News

Blair Wadman: Top 10 Drush commands - follow up

Thu, 10/04/2014 - 10:54pm

I recently posted my top 10 Drush commands. In the blog post comments, over email and Twitter, a bunch of people let me know their top commands and tips. This was such great feedback, I decided to write up the list as another post. Here is the top 10 Drush commands from the fine folk who contributed.

Tags: DrushPlanet Drupal
Categories: Drupal News

Drupal Association News: Building the Future of Drupal

Thu, 10/04/2014 - 9:18am

If Drupal adoption is going to increase, we’ll need to grow the community— and that means continuing to bring developers, web designers, and digital experts into the Drupal fold. For the finale of our series on Drupal training options, we spoke to several of the many experts in Drupal training, and wanted to share their thoughts with the community.

When it comes to increasing the amount of Drupal talent in the market, there are more options to learn the platform than ever before.

Categories: Drupal News

Acquia: Sensio Labs UK - Lessons and chances from Drupal 8 early adoption

Thu, 10/04/2014 - 5:02am

Part 2 of 2 - I spoke with Richard Miller and Tom Kitchin, software engineers at SensioLabs UK and its parent company Inviqa respectively, via a Google Hangout on Air recently. Here, I learn the inside story on one of the first Drupal 8 sites online, www.sensiolabs.co.uk, what their goals were, how they built it and have kept it running since May 2013, and how Drupal 8 will change the way they design applications for clients going forward.

Categories: Drupal News

Drupal core announcements: Help unblock Drupal 8.0-beta1 at the NYC Camp Drupal 8 sprint

Thu, 10/04/2014 - 3:42am
Start:  2014-04-10 (All day) - 2014-04-12 (All day) America/New_York Sprint Organizers:  xjm Event url: 

http://www.nyccamp.org/event/d8-core-sprint

After three years of Drupal 8 development, we are finally closing in on a Drupal 8.0-beta1 release. Of about 150 critical issues that have blocked the first Drupal 8 beta release, only 32 beta blockers remain. Most of these remaining issues are too complex for any one developer to resolve alone, but we need help on numerous tasks that will accelerate them. Join us at the NYC Camp D8 Core Sprint to see firsthand the work that's in progress and contribute to our momentum. Look for the "IRL issue queue" on colored construction paper at the sprint. :)

(New to Drupal 8 or core contribution? Check out the Get Involved with Core sprint instead.)

Categories: Drupal News

Ben's SEO Blog: Blue Drop Awards [Infographic]

Thu, 10/04/2014 - 2:44am

We'd like to share this infographic we've made depicting interesting facts about the Blue Drop Awards. Without the wonderful community support, The Blue Drop Awards simply would not and could not exist; we appreciate it.

Celebrating Drupal Innovationblue drop award, drupal, Planet Drupal
Categories: Drupal News

Open Source Training: Add Links to Fields in Views

Thu, 10/04/2014 - 12:44am

This blog post is the answer to a common request we get from people learning how to use Views.

The question is: "How do I automatically add a link to a field"?

The answer is straightforward ... once you know how.

Categories: Drupal News

Acquia: Live tutorial on using Bootstrap with Drupal today!

Thu, 10/04/2014 - 12:38am

Our old training site was looking a bit long in the tooth. It was not only Drupal 6, but also had an old Acquia design several versions behind the current main site. It was time for a major update.

Step by step tutorials

Dave Myburgh, Lead developer for Acquia.com recently gave two webinars about the experience. He shares specific tips on what modules he used to keep the development lightweight and flexible.

Categories: Drupal News

.VDMi/Blog: Why does my file get removed after six hours?

Wed, 09/04/2014 - 6:29pm
My managed image got removed after a certain amount of time. How did that happen? After searching a bit I figure out.

The Form API has a form element called managed_file. It uploads a file and adds it to the managed files table. This way Drupal has knowledge about and control over it. But now I got the situation that after a certain amount of time the image got removed. It just disappeared. What is happening here?

Well the managed_file works with Ajax. To smooth the proces it adds the managed file and leaves the status on temporary until some one specifies 'this is my file its managed'. You do that by adding this snippet of code to your submit handler.

$file = file_load($form_state['values']['file_element_name']);

// Change status to permanent.
$file->status = FILE_STATUS_PERMANENT;

// Save.
file_save($file);

If you have your form managed by

system_settings_form()

you want to add a extra submit handler. You can do that this way.

$form['#submit'][] = 'extra_admin_submit';
Categories: Drupal News

Modules Unraveled: 103 Content Branching and Static Site Generation Using Zariz with Amitai Burstein - Modules Unraveled Podcast

Wed, 09/04/2014 - 4:00pm
Published: Wed, 04/09/14Download this episodeZariz
  • What is Zariz?
  • How did this come about?
  • How does it help content creators?
  • How is this different from Workbench Moderation, and the default revisioning system?
  • You mentioned that it duplicates nodes, how do the URLs stay in tact?
  • Talk a bit about how you can create static site from a Drupal site.
Use Cases
  • Content staging
  • Static site generation
    • What about authenticated users?
    • How does this help performance and scalability?
Questions from Twitter
  • Kate
    Is Zariz an alternative to drupal.org/project/sps?
Video

Screencast demo starts at about 40:23

Episode Links: Amitai on drupal.orgAmitai on TwitterZariz RepoTags: 
Categories: Drupal News

Fuse Interactive: Watch as I try to upgrade this module to Drupal 8. What happens next you won't BELIEVE!

Wed, 09/04/2014 - 12:05pm
Drupal 8 is coming with more API changes than ever before. Are you ready?? Prepare yourself by upgrading your first Drupal 8 module right here on the Fuse Interactive blog. Learn by doing and follow along as we explore the new Routing component, OOP Drupal, PSR autoloading... and more!
Categories: Drupal News

PreviousNext: Secure your infrastructure with Docker and Puppet.

Wed, 09/04/2014 - 11:10am

I recently spoke at the Drupal Melbourne meetup about running Puppet and Docker to increase security for running multiple sites on the one host. It's alot of work to get setup properly for a remote speaker so I would like to thank the organisers for allowing me to present.

Categories: Drupal News

Metal Toad: Pond Life Ep.2

Wed, 09/04/2014 - 10:09am

Hello Everyone!
Welcome back to the pond! Last week we touched on the importance of mentoring juniors and Github best practices. In this week's episode, we'll be following up on the junior workflow from last week by discussing two tools you should definitely have and how to install them, exploring new ground by touching on some entry level SCSS techniques, sharing my AHA! and FAIL moments of the week, and lastly, our weekly query for you good people out there to ponder. So lets jump right into it shall we?

Categories: Drupal News

DrupalCon Austin News: Symfony Community: A Special Invitation to DrupalCon Austin

Wed, 09/04/2014 - 6:49am


With the rapidly approaching release of Drupal 8, many Symfony developers may be considering going to Austin for DrupalCon in June. Our advice? Do it!

Categories: Drupal News

Julian Granger-Bevan: Improving SEO using Drupal Similar by Terms

Wed, 09/04/2014 - 3:00am

Search Engine Optimisation (SEO) is the process of altering your website to maximise the exposure of your website via search engines such as Google and Bing.

The aim is to bring more visitors to your website.

If your website is built using the Drupal CMS, this article will give you an easy tip that will both improve the experience for your visitors when they are on your site and help boost your search engine rankings.

The method is made easy using the Similar by Terms module for Drupal, and exploits the need for visitors to be able to find other relevant content when they are on your website.

Why use Similar by Terms?

Search engines such as Google are looking at hundreds of factors when they decide which pages to display prominently in search engine results pages (SERPs).

These factors include content, quality and context.

Your site is more likely to be placed highly in SERPS (leading to more traffic) if Google identifies that it is authoritative on a particular subject. Links around between pages on your website will help Google recognise the topic that each page on your website covers, and means that it is more likely to rank highly for that searches on that topic.

Do not get confused, this is not the same as link building from other websites (for which care needs to be taken as search engines will penalise you if these are unnatural).

Similar by Terms provides an automated means of displaying related content links on your website. It does this by comparing the taxonomy terms that each node is tagged with, and creating a simple ranking based on the overlapping terms  from which it can draw the top few nodes to show to your visitors as links.

Links to relevant content also improve the experience for your visitors, by giving them suggestions for what to read next. A visitor is much more likely to find links useful (and continue to browse your website) if the links are relevant to the page that they are already on.

How to install Similar by Terms

To install Similar by Terms, download the code from http://drupal.org/project/similarterms and enable on your website by visiting the /admin/modules page.

You will need to have also installed two dependencies: Chaos Tools Suite and Views.

Similar by Terms exposes a view to your website, and the next thing you will want to do is edit this to suit your needs. The view can be found at the page /admin/structure/views.

The default view is quite basic, and simply returns a list of the titles of the related nodes. You will likely want to edit this (perhaps to also show a teaser or image from the node). These edits can be made just like any other view.

One setting that is unique to Similar by Terms is the taxonomy vocabularies that are considered when ranking nodes for similarity. You can opt to include just one, or all of your vocabularies in the comparison.

To do this, click "Advanced" on the right hand side of the edit screen, then click on "Similar By Terms: Nid" in the contextual filters section.

Now a dialog appears where you can choose which vocabularies to use.

You can also create your own views utilising the functionality provided by Similar by Terms. Simply copy the relationships and sorting rules that exist in the default view that Similar by Terms provided.

One last hint

The default behaviour of Similar By Terms will only show nodes in the list that share one or more taxonomy terms with the node being viewed.

This means, that you might only see one related node, or even none at all.

For the styling of your website you're likely to want to always show the same number of nodes in the list. Whilst there is a feature request in the issues queue for this, there is a simple method that will solve this for you straight away.

The answer is to create a new taxonomy vocabulary called "Included in Similar By Terms", with a single term called "Included". Let that term default on all nodes on your website. This way, all nodes will have at least one taxonomy term in common, and the real similar nodes will rise to the top of the list above those that aren't really related.

Category: WebsitesTags: DrupalSimilar by TermsDrupal Planetrelated contenttutorialhow to
Categories: Drupal News

Mediacurrent: Running Drupal on OpenShift from Red Hat

Wed, 09/04/2014 - 2:52am

An interesting platform I came across recently for developing and deploying cloud applications is OpenShift by RedHat. OpenShift is a next generation application hosting platform. The software running this service is open-sourced under the name OpenShift Origin, and is available on GitHub. Developers use Git to deploy web applications in different languages to the platform.

Categories: Drupal News

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer