2012-09-27 North County Drupal User Group meetup

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
syakely's picture
Start: 
2012-09-27 19:00 - 21:00 America/Los_Angeles
Organizers: 
Event type: 
User group meeting

The next meeting is this coming Thursday, September 27th. It'll be a working meetup where we all hang out, dive into to some Drupal 8 goodness, and help the system that helps us!

There's developer stuff to do, themer stuff to do, and documentation stuff to do. Should be fun!

Comments

Backbone history with pushstate, Hash Tags and IE9

syakely's picture

I have yet another example of Drupal with Backbone to share. It's a very simple site with some cool features. This last few weeks I have been playing around with using Browser History (browser back and forward arrows) with pushstates, direct urls, and hash tags inside a Backbone App. Pretty cool stuff, besides basic history features, this gives your users the ability to share links to specific places inside your Backbone app.

What's really cool is Backbone has not forgotten about the other Browsers' slow cousin IE9 when you want to use direct urls and it still wants the hash tags.

We're getting snowed in!

steveoliver's picture

Many of us know there's a lot of work that needs to be done on D8 by feature freeze on December 1, 2012. I'd like to spend some time on Thursday getting something -- anything -- done to help the efforts of core developers. There's so much crazy stuff going on, we really owe it to ourselves and the community to jump in and help out. I encourage everyone to pick an issue, and let's see if we can make some progress on it while we work after work, but not really work, but hang out.

Want ideas? See Drupal 8 Updates and How to Help.

Drupalpoetry case study

redhatmatt's picture

Drupalpoetry case study mentioned in this session:
http://fourkitchens.github.com/drupo-presentation/#/

redhatmatt's picture

filename: modulename_save_control.js

(function($) { $(document).ready(function() {
jQuery('#video-node-form').submit(function() {
var video_fid = $("input[name='field_video[und][0][fid]'][type='hidden']").val();
if (video_fid == 0) {
$('#fakesave').trigger('click');
return false;
}
});
});})(jQuery);

so to make fakesave click

syakely's picture

so to make fakesave click able by js, you will need the link in your form along with the modal js for that window.

drupal_add_js(array('module-name-save-modal-style' =>
    array('modalSize' =>
      array('type' => 'fixed',
            'width' => 400,
            'height' => 220,
            ),
      'closeText' => t('close  '),
      'closeImage' => '',
    ),
  ), 'setting');
$form['fakesave'] = array(
      '#markup' => '<div><a id="fakesave" href="/module-name/nojs/saveinfo" class="ctools-use-modal ctools-modal-module-name-save-modal-style"></a></div>',
      '#weight' => 900,
  );