Weblogs

By Sascha Eggenberger 24th August 2012 Drupal, Events, Team

At 7am several Amazee Labs team members went out for a 5K/10K run together with some other Drupalistas.

 
The morning keynote was held by Fabien Potencier (@fabpot) the founder of the symfony framework. His talk was about "Dream, Experiment, Create, and Share". Fabien shared his vision about the web and argued why being a web developer or web designer isn't just a "regular" day job, but must be fueled by passion.
 
 
After lunch Angela Byron's (@webchick) held a session on Drupal 8 and the must-knows. Drupal 8 will sport tons of improvements and is currently undergoing active development; requiring more active community support to be released within deadline. Angela also talked about the benefits of integrating the symfony framework and believes that Drupal 8 will be the most secure and flexible version ever.
 
 
At the closing plenary the Drupal Association talked about the costs of Drupalcon Munich and revealed where the next Drupalcon Europe will take place. And the answer is: Prague (yay)!
 
 
After the closing plenary we went to the old town of Munich for some sightseeing, dinner and beers.
 
 
In the evening we participated in the Trivia Night which was hosted by the legendary guys of Drupal Ireland.
 
 
Yes, and we gave out one of our last Periodic Tables of Drupal Modules to Morten Birch Heide-Jørgensen (@mortendk), better known as "the King of the North".
 
 
By Daniel Truninger 23rd August 2012 Drupal

The periodic table of Drupal modules

Modules are the basic structural elements of the Drupal web sites we build. As in chemistry, every one of them has specific characteristics. To help the rookies of our Drupal Community get a quick overview and the experienced site builders remember the basic modules, we created the Periodic Table of Drupal Modules. Each of the 106 most popular modules is featured it’s own square, with its name, symbol, and ranking, based on the number of downloads from Drupal.org.

The Periodic Table of Drupal Modules was introduced as a limited edition poster at DrupalCon Munich. By popular demand we decided to provide three additional versions for the community.

Wallpaper versions

1024x10242048x2048
1024x7681280x8001440x9001680x1050
1920x10801920x12002560x14402880x1800

Embed code

<p><a href="http://www.amazeelabs.com" title="The periodic table of Drupal modules by Amazee Labs."><img src="http://www.amazeelabs.com/sites/default/files/the-periodic-table-of-drupal-modules.jpg"/></a></p>

PDF version

The Periodic Table of Drupal Modules (PDF, 2.9 MB)

Stay in touch – join our newsletter!

 

 

By Victor Künzig 23rd August 2012 Drupal, Events, Team

After a "beerfull" bavarian night out we managed to get ourselves up and running for a beautiful second day at DrupalCon Munich. The morning keynote was held by Anke Domscheit-Berg as she took the stage to talk about the benefits of open data and how governments and citizens alike should embrace the idea as we move towards a more collaborative world of eDemocracy and eParticipation.

The day was followed by many interesting DrupalCon sessions, BoFs (Birds of Feathers) and of course the Core Conversations where the team split up to visit topics of their interest and likings, sometimes even finding themselves in the same room.

Brian Teeman (@brianteeman), Co-Founder of Joomla!, unfortunately didn't give us any insight into his newfound career as a tech-influenced fashion designer, but rather explained how the community in Joomla! works and differs from the one that we know so very well and love.

Open ears at the Day Stage heard our very own Michael Schmid (@Schnitzel), discuss development best practices with Gijs Nelissen, Sébastien Lissarrague, Venky Goteti and Florian Loretan.

Our successful contests continued throughout the day and so did the lucky recipients of our sought-after Periodic Table of Drupal Modules, this included both happy Dries Buytaert (@Dries) and Angie Byron (@webchick).

After having a continuous beer garden streak we found ourselves in a more traditional restaurant for the evening (well for me at least) because after all, it was pizza Wednesday…

By Andrew McClintock 22nd August 2012 Drupal, Events, Team

Amazee Labs was out in full force today as Drupalcon Munich got underway. Our dentist blue t-shirts were an unintended hit, quite unique and hard to miss there in the second row.

The opening act was themed the "ABC's of Drupal," an alphabetized rundown of all things Drupalcon Munich. B was for "Beautiful bavarian blondes with beards."

The crowd favorite was not surprisingly F for "free beer," during which our very own Dania Gerhardt helped show everyone how to pour a proper cold one. What didn't spill on stage was handed out to the crowd for breakfast. 

The most startling letter was Y for "yodeling lesson." This authentic yodeling guru belted out a classic for the crowd to echo. Every guest in the Westin woke up this morning at 9:30 whether they wanted to or not.

After our ears stopped ringing and we managed to regain our sense of direction, we shuffled outside for the official group photo, and the day began.

 
The Amazee Labs booth got a lot of attention, thanks in large part to our ongoing Twitter contests to win Amazee Labs gear, including our limited edition Periodic Table of Modules print. Follow us on Twitter for your chance to win more prizes in the coming days.
 
 
Day one of Drupalcon Munich was chalk full of invaluable information, from Birds of a Feather (BOF) meetups to official sessions. My personal favorite: Mark Boulton's talk on working with CERN to redesign their website.
 

And so it was, day one in the books. Day two starting now...

 
By George Papadongonas 21st August 2012 Drupal

In the Drupal universe, modules are the basic structural elements of the web sites we build. As in chemistry, every one of them has specific properties. To help the newbies of our Drupal Community get a quick overview and the experienced site builders remember the basic modules, we created the Periodic Table of Drupal Modules. Every module features it’s own square, with its name, its symbol, and its ranking, based on the number of downloads from Drupal.org.

If you want to own one of of the periodic tables, make sure you follow us on twitter (@amazeelabs) and be ready to grab one of them at DrupalCon Munich.

 

By Gregory Gerhardt 20th August 2012

Here we are at the first official session of Munich's DrupalCon! Michael and me are kickstarting the week with the Cxo event

Bob Kerner, military linguist by background, launched with a keynote on the migration of the NYSE's enterprise system to a Drupal framework. First day in at the company (the number 3 terrorist target in the world!) he found a static, pseudo-goernment philosophy that ruled the company and its systems. NYSE claimed to be doing agile, but they weren't. While his request to a add a submenu lead him to go through 5 management levels and a support centre on the other side of the world, he started to assess various software alternatives. Selection criteria: 
 
1) Open source - security, malleability
2) Active Community - "living" platform
3) Large community - many, many features
4) Maturity - will hold up in an enterprise environment
 
Drupal won the race. 2.5 year and a good bunch of sprints later, they've launched 40 Drupal sites in their online portfolio, among them European Equities, or usequities.
 

Refreshed after a short summer break this week's Essence of a web week will take a look at how the world looks through Instagram's eye, at one of the biggest lies on the internet and finally illustrate how the web never forgets. Enjoy!

Drupal

stuffly.posterous.com: DrupalCon Munich mega news roundup
Paul Johnson wrote a comprehensive roundup of Pre-DrupalCon Munich.

Social Media

This is now!
If you want get a taste of a city's flow, without being there, this site might be down your lane. This is now! provides a real-time visual composition of geo-tagged Instagram photos. (via Webmonkey)

Socialbakers: Socialbakers: CheerMeter2012
London 2012 were the first games where social media certainly had an influence, on and off the fields. Socialbakers have monitored the social web during the Olympic fortnight and published the data.

Little Helper

Terms of Service; Didn't Read
Let us be honest Terms of Service are often accepted, while signing up, without actually being read. This website tries to break down the most popular Terms of Services on the web, in to a comprehensible overview, and gives them a classification. (via TechCrunch)

Tweets that cut through the noise.

This almost six year old tweet by Twitter's Executive Chairman Jack Dorsey was heavily retweeted after it was announced that the latest version of the social network's API will come with some severe restrictions.

By Daniel Truninger 15th August 2012 Drupal

With DrupalCon Munich a few days ahead it is only natural that we are getting team and material lined up. Being Gold Sponsors we decided to serve our friends with diamond goodies only. Here's the sneak peek preview. If you want to grab one of the scarce giveaways, make sure you follow us on Twitter. See you soon!

 

By Daniel Truninger 13th August 2012 Business, Drupal

We are happy to announce the launch of our youngest client project: Mag20

Most things evolve democratically in Switzerland. However, we've never come across a print magazine that lets its readers vote up the stories for the next publication. Markus Bucheli's crowd sourced magazine takes exactly this approach. Every week users can submit an article on the website. If the contribution recessives enough votes via selected social media it gets published in the upcoming print edition. Profit is shared with the authors. The inaugural publication will be available on the 17th August in bigger cities of the German speaking part of our little country. mag20.com is powered by Drupal 7 and is fully responsive. Get your stories uploaded now.

We wish Markus Bucheli and his team a successful start with Mag20!

By Vasi Chindris 7th August 2012 Drupal

If you're earning your life as a programmer, probability is high that you have implemented AJAX calls in forms before. For example when you want an area to update when the value of a field is changed by the user. If yes, this might be of interest to you: Drupal 7 provides an awesome AJAX framework that can be used without writing any JavaScript code most of the time. A detailed overview of the framework can be found over here: http://api.drupal.org/api/drupal/includes!ajax.inc/group/ajax/7

One possible use case is that a user changes a form field. You then want another field to automatically change, plus some arbitrary html on the page. Here comes the problem: you cannot return form elements and render html at the same time in the AJAX callback function. A simple solution to this problem is to actually return the form elements already rendered.

But let's first see how you implement the simple case, when you need to change only one form element:

<?php
function custom_test_ajax_form($form, $form_state) {
 
$form['select_box'] = array(
   
'#type' => 'select',
   
'#title' => t('Some select'),
   
'#options' => array(1=> t('One'), 2 => t('Two'), 3 => t('Three')),
   
'#default_value' => 1,
   
'#ajax' => array(
     
'callback' => 'custom_test_ajax_form_ajax_submit',
     
'wrapper' => 'another_select'
   
),
  );
 
$form['another_select'] = array(
   
'#type' => 'select',
   
'#title' => t('Another select'),
   
'#options' => array(4=> t('Four'), 5 => t('Five')),
   
'#prefix' => '<div id="another_select">',
   
'#suffix' => '</div>',
  );
 
$form['some_number'] = array(
   
'#markup' => '<div id="some_number"> ' . t('Some random number') . '</div>',
  );
 
// If the form was submitted and the select box has the value 2,
  // change the options of the second select.
 
if (isset($form_state['values']) && $form_state['values']['select_box'] == 2) {
   
$form['another_select']['#options'] = array(6 => t('Six'), 7 => t('Seven'), 8 => t('Eight'));
  }
 
$form['submit'] = array(
   
'#type' => 'submit',
   
'#value' => t('Submit'),
  );
  return
$form;
}
?>

If you want to only replace the “another_select” field, you can do something like this:

<?php
function custom_test_ajax_form_ajax_submit(&$form, &$form_state) {
  return array(
$form['another_select']);
}
?>

And now, if you additionally want to put some random number in the “some_number” field, and change the page title, the previous approach will not work. So, here is the solution:

<?php
function custom_test_ajax_form_ajax_submit(&$form, &$form_state) {
 
drupal_set_message(t('You selected: @number', array('@number' => $form_state['values']['select_box'])));
 
$commands = array();
 
// Render the select element.
 
$commands[] = ajax_command_replace('#another_select', drupal_render($form['another_select']));
 
// Render a random number in the #some_number div.
 
$commands[] = ajax_command_html('#some_number', rand(0, 10000));
 
// Print the messages.
 
$commands[] = ajax_command_prepend(NULL, theme('status_messages'));
 
// Change the page title.
 
$commands[] = ajax_command_html('#page-title', t('You selected: @number', array('@number' => $form_state['values']['select_box'])));
  return array(
'#type' => 'ajax', '#commands' => $commands);
}
?>

Basically, what you have to do is, instead of returning the form element or elements, to return an array with AJAX commands. To generate the html of any form element, you can use drupal_render(). Moreover you do not need the “wrapper” attribute anymore in the “#ajax” array for the “select_box” field.

<?php
 
'#ajax' => array(
   
'callback' => 'custom_test_ajax_form_ajax_submit',
  ),
?>

Hope that helps, should you have to kill another two birds with one stone.

Seiten

Amazee Labs Blog abonnieren

Neue Kommentare

  • Bild des Benutzers home business software programs

    Good day! I simply wish to give a huge thumbs up for the nice info
    you have got here on this post. I will probably be coming again to your weblog for more soon.

    home business s...
  • Bild des Benutzers Agentur Typo3 Programmierung at Steilstarter

    Hello,

    I must say that you are going great. you are sharing your information with us so thanks for that.

    Agentur Typo3 P...
  • Bild des Benutzers Daniel

    By the way, by "no documentation" I´m referring to Views Autorefresh. It is either not complete or conflicting.

    Daniel