Elsewhere

Enrico Zini: On SPF

Planet Debian - Wed, 09/11/2016 - 10:10

I woke up this morning with some Django server error mails in my inbox:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 9: ordinal not in range(128) … 'REMOTE_USER': u'…-guest@users.alioth.debian.org',

I did what one does in cases like these, I tried to fix the bug and mailed …-guest@users.alioth.debian.org asking them to try again and let me know if it works.

I get a bounce:

<Actual user's email> (generated from …-guest@users.alioth.debian.org) SMTP error from remote mail server after MAIL FROM:<enrico@enricozini.org> SIZE=3948: host … […]: 550 Please see http://www.openspf.org/Why?id=enrico%40enricozini.org&ip=2001%3a41c8%3a1000%3a21%3a%3a21%3a21&receiver=bq : Reason: mechanism

I resent the mail to the actual user's address, and it went through. Job done, at least until they get back to me telling me that my fix didn't work.

Lessons learnt:

  • Activating SPF checks breaks receiving email via a forwarding address.
  • Activating SPF checks breaks hiding an email address behind a forwarding address.
Categories: Elsewhere

Enrico Zini: On SPF

Planet Debian - Wed, 09/11/2016 - 10:10

I woke up this morning with some Django server error mails in my inbox:

UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 9: ordinal not in range(128) … 'REMOTE_USER': u'…-guest@users.alioth.debian.org',

I did what one does in cases like these, I tried to fix the bug and mailed …-guest@users.alioth.debian.org asking them to try again and let me know if it works.

I get a bounce:

<Actual user's email> (generated from …-guest@users.alioth.debian.org) SMTP error from remote mail server after MAIL FROM:<enrico@enricozini.org> SIZE=3948: host … […]: 550 Please see http://www.openspf.org/Why?id=enrico%40enricozini.org&ip=2001%3a41c8%3a1000%3a21%3a%3a21%3a21&receiver=bq : Reason: mechanism

I resent the mail to the actual user's address, and it went through. Job done, at least until they get back to me telling me that my fix didn't work.

Lessons learnt:

  • Activating SPF checks breaks receiving email via a forwarding address.
  • Activating SPF checks breaks hiding an email address behind a forwarding address.
Categories: Elsewhere

Daniel Pocock: Understanding what lies behind Trump and Brexit

Planet Debian - Wed, 09/11/2016 - 09:23

As the US elections finish, many people are scratching their heads wondering what it all means. For example, is Trump serious about the things he has been saying, or is he simply saying whatever was most likely to make a whole bunch of really stupid people crawl out from under their rocks to vote for him? Was he serious about winning at all, or was it just the ultimate reality TV experiment? Will he show up for work in 2017, or like Australia's billionaire Clive Palmer, will he set a new absence record for an elected official? Ironically, Palmer and Trump have both been dogged by questions over their business dealings, will Palmer's descent towards bankruptcy be replicated in the ongoing fraud trial against Trump University and similar scandals?

While the answer to those questions may not be clear for some time, some interesting observations can be made at this point.

The world has been going racist. In the UK, for example, authorities have started putting up anti-Muslim posters with an eery resemblance to Hitler's anti-Jew propaganda. It makes you wonder if the Brexit result was really the "will of the people", or were the people deliberately whipped up into a state of irrational fear by a bunch of thugs seeking political power?

Who thought The Man in the High Castle was fiction?

In January 2015, a pilot of The Man in the High Castle, telling the story of a dystopian alternative history where Hitler has conquered America, was the most-watched original series on Amazon Prime.

It appears Trump supporters have already been operating US checkpoints abroad for some time, achieving widespread notoriety when they blocked a family of British Muslims from visiting Disneyland in 2015. Ambushing them at the last moment as they were about to board their flight, it is unthinkable how anybody could be so cruel. When you reflect on statements made by Trump and the so-called "security" practices around the world, this would appear to be only a taste of things to come though.

Is it a coincidence that Brexit and Trump both happened in the same year that the copyright on Mein Kampf expired? Ironically, in the chapter on immigration Hitler specifically singles out the U.S.A. for his praise, is that the sort of rave review that Trump aspires to when he talks about making America great again?

US voters have traditionally held concerns about the power of the establishment. The US Federal Reserve has been in the news almost every week since the financial crisis, but did you know that the very concept of central banking was thrown out the window four times in America's history? Is Trump the type of hardliner who will go down this path again, or will it be business as usual? In his book Rich Dad's Guide to Investing in Gold & Silver, Robert Kiyosaki and Michael Maloney encourage people to consider putting most of their wealth into gold and silver bullion. Whether you like the politics of Trump and Brexit or not, are we entering an era where it will be prudent for people to keep at least ten percent of net wealth in this asset class again? Online dealers like BullionVault in Europe already appear to be struggling under the pressure as people rush to claim the free grams of bullion credited to newly opened accounts.

The Facebook effect

In recent times, there has been significant attention on the question of how Facebook and Google can influence elections, some European authorities have even issued alerts comparing this threat to terrorism. Yet in the US election, it was simple email that stole the limelight (or conveniently diverted attention from other threats), first with Clinton's private email server and later with Wikileaks exposing the entire email history of Clinton's chief of staff. The Podesta emails, while being boring for outsiders, are potentially far more damaging as they undermine the morale of Clinton's grass roots supporters. These people are essential for knocking on doors and distributing leaflets in the final phase of an election campaign, but after reading about Clinton's close relationship with big business, many of them may well have chosen to stay home. Will future political candidates seek to improve their technical competance, or will they simply be replaced by candidates who are born hackers and fluent in the language of a digital world?

Categories: Elsewhere

Daniel Pocock: Understanding what lies behind Trump and Brexit

Planet Debian - Wed, 09/11/2016 - 09:23

As the US elections finish, many people are scratching their heads wondering what it all means. For example, is Trump serious about the things he has been saying, or is he simply saying whatever was most likely to make a whole bunch of really stupid people crawl out from under their rocks to vote for him? Was he serious about winning at all, or was it just the ultimate reality TV experiment? Will he show up for work in 2017, or like Australia's billionaire Clive Palmer, will he set a new absence record for an elected official? Ironically, Palmer and Trump have both been dogged by questions over their business dealings, will Palmer's descent towards bankruptcy be replicated in the ongoing fraud trial against Trump University and similar scandals?

While the answer to those questions may not be clear for some time, some interesting observations can be made at this point.

The world has been going racist. In the UK, for example, authorities have started putting up anti-Muslim posters with an eery resemblance to Hitler's anti-Jew propaganda. It makes you wonder if the Brexit result was really the "will of the people", or were the people deliberately whipped up into a state of irrational fear by a bunch of thugs seeking political power?

Who thought The Man in the High Castle was fiction?

In January 2015, a pilot of The Man in the High Castle, telling the story of a dystopian alternative history where Hitler has conquered America, was the most-watched original series on Amazon Prime.

It appears Trump supporters have already been operating US checkpoints abroad for some time, achieving widespread notoriety when they blocked a family of British Muslims from visiting Disneyland in 2015. Ambushing them at the last moment as they were about to board their flight, it is unthinkable how anybody could be so cruel. When you reflect on statements made by Trump and the so-called "security" practices around the world, this would appear to be only a taste of things to come though.

Is it a coincidence that Brexit and Trump both happened in the same year that the copyright on Mein Kampf expired? Ironically, in the chapter on immigration Hitler specifically singles out the U.S.A. for his praise, is that the sort of rave review that Trump aspires to when he talks about making America great again?

US voters have traditionally held concerns about the power of the establishment. The US Federal Reserve has been in the news almost every week since the financial crisis, but did you know that the very concept of central banking was thrown out the window four times in America's history? Is Trump the type of hardliner who will go down this path again, or will it be business as usual? In his book Rich Dad's Guide to Investing in Gold & Silver, Robert Kiyosaki and Michael Maloney encourage people to consider putting most of their wealth into gold and silver bullion. Whether you like the politics of Trump and Brexit or not, are we entering an era where it will be prudent for people to keep at least ten percent of net wealth in this asset class again? Online dealers like BullionVault in Europe already appear to be struggling under the pressure as people rush to claim the free grams of bullion credited to newly opened accounts.

The Facebook effect

In recent times, there has been significant attention on the question of how Facebook and Google can influence elections, some European authorities have even issued alerts comparing this threat to terrorism. Yet in the US election, it was simple email that stole the limelight (or conveniently diverted attention from other threats), first with Clinton's private email server and later with Wikileaks exposing the entire email history of Clinton's chief of staff. The Podesta emails, while being boring for outsiders, are potentially far more damaging as they undermine the morale of Clinton's grass roots supporters. These people are essential for knocking on doors and distributing leaflets in the final phase of an election campaign, but after reading about Clinton's close relationship with big business, many of them may well have chosen to stay home. Will future political candidates seek to improve their technical competance, or will they simply be replaced by candidates who are born hackers and fluent in the language of a digital world?

Categories: Elsewhere

Jaldhar Vyas: You Know Who Else Won Elections?

Planet Debian - Wed, 09/11/2016 - 08:33


You didn't possibly think my streak of serious posts could last did you?

Categories: Elsewhere

Jaldhar Vyas: You Know Who Else Won Elections?

Planet Debian - Wed, 09/11/2016 - 08:33


You didn't possibly think my streak of serious posts could last did you?

Categories: Elsewhere

Agiledrop.com Blog: AGILEDROP: Drupal Camps in Asia

Planet Drupal - Wed, 09/11/2016 - 07:06
After our world tour of Drupal Camps took a lift-off in Africa, it continued its journey in Asia. We concluded that Drupal activities in Africa are poorly represented and on the other hand predicted that Drupal Camps are more spread across the world’s largest continent. We also expected not to find the most of Drupal activities gathered in one country, like it was the case in South Africa. We were quite right. Before we take a look at the most important Drupal Camps in Asia, we should explain that at the beginning of this year, everything was under the shade of DrupalCon. It was organized… READ MORE
Categories: Elsewhere

Valuebound: How Drupal handles the page request: Bootstrap Process

Planet Drupal - Wed, 09/11/2016 - 05:32

This is an interesting topic to get to know more about Drupal core activity. We will be looking into ‘how to use drupal echo on request?’ and ‘how many process it has gone through?’ Basically the process flow of Drupal Pipeline to interpret the steps & finally respond to the end users. Which is called as Bootstrap Process.

Having a little bit of knowledge on bootstrap could help us to develop & customized complicated area of drupal development.

Sample:
When we hit URL in browser: https://domain.com/node/234. which is a standard node page created under any of the Bundle.

Categories: Elsewhere

Freelock : Ask Freelock: What e-commerce platform would you recommend?

Planet Drupal - Wed, 09/11/2016 - 01:41

Shan asks,

Hi folks- I am looking for an out of box eCommerce solution that meets the following criteria and hope to get some pointers on few solutions that's already available in the market.

Drupal 8Drupal CommerceE-CommerceDrupal Planet
Categories: Elsewhere

Uwe Kleine-König: Installing Debian Stretch on an Omnia Turris

Planet Debian - Tue, 08/11/2016 - 21:56

Recently I got "my" Omnia Turris and it didn't take long to replace the original firmware with Debian.

If you want to reproduce, here is what you have to do:

Open the case of the Omnia Turris, connect the hacker pack (or an RS232-to-TTL adapter) to access the U-Boot prompt (see Turris Omnia: How to use the "Hacker pack"). Then download the installer and device tree:

# cd /srv/tftp # wget https://d-i.debian.org/daily-images/armhf/daily/netboot/vmlinuz # wget https://d-i.debian.org/daily-images/armhf/daily/netboot/initrd.gz # wget https://www.kleine-koenig.org/tmp/armada-385-turris-omnia.dtb

(The latter is not included yet in Debian, but I'm working on that.)

and after connecting the Omnia Turris's WAN to a dhcp managed network start it in U-Boot:

dhcp setenv serverip 192.168.1.17 tftpboot 0x01000000 vmlinuz tftpboot 0x02000000 armada-385-turris-omnia.dtb tftpboot 0x03000000 initrd.gz bootz 0x01000000 0x03000000:$filesize 0x02000000

With 192.168.1.17 being the IPv4 of the machine you have the tftp server running.

I suggest to use btrfs as rootfs because that works well with U-Boot. Before finishing the installation put the dtb in the rootfs as /boot/dtb.

To then boot into Debian do in U-Boot:

setenv mmcboot=btrload mmc 0 0x01000000 boot/vmlinuz\; btrload mmc 0 0x02000000 boot/dtb\; btrload mmc 0 0x03000000 boot/initrd.img\; bootz 0x01000000 0x03000000:$filesize 0x02000000 setenv bootargs console=ttyS0,115200 rootfstype=btrfs rootdelay=2 root=/dev/mmcblk0p1 rootflags=commit=5 rw saveenv boot

Known issues:

  • rtc doesn't work (workaround: mw 0xf10184a0 0xfd4d4cfa in U-Boot)
  • SFP and switch don't work, MAC addresses are random
  • wifi fails to probe

If you have problems, don't hesitate to contact me.

Categories: Elsewhere

Uwe Kleine-König: Installing Debian Stretch on an Omnia Turris

Planet Debian - Tue, 08/11/2016 - 21:56

Recently I got "my" Omnia Turris and it didn't take long to replace the original firmware with Debian.

If you want to reproduce, here is what you have to do:

Open the case of the Omnia Turris, connect the hacker pack (or an RS232-to-TTL adapter) to access the U-Boot prompt (see Turris Omnia: How to use the "Hacker pack"). Then download the installer and device tree:

# cd /srv/tftp # wget https://d-i.debian.org/daily-images/armhf/daily/netboot/vmlinuz # wget https://d-i.debian.org/daily-images/armhf/daily/netboot/initrd.gz # wget https://www.kleine-koenig.org/tmp/armada-385-turris-omnia.dtb

(The latter is not included yet in Debian, but I'm working on that.)

and after connecting the Omnia Turris's WAN to a dhcp managed network start it in U-Boot:

dhcp setenv serverip 192.168.1.17 tftpboot 0x01000000 vmlinuz tftpboot 0x02000000 armada-385-turris-omnia.dtb tftpboot 0x03000000 initrd.gz bootz 0x01000000 0x03000000:$filesize 0x02000000

With 192.168.1.17 being the IPv4 of the machine you have the tftp server running.

I suggest to use btrfs as rootfs because that works well with U-Boot. Before finishing the installation put the dtb in the rootfs as /boot/dtb.

To then boot into Debian do in U-Boot:

setenv mmcboot=btrload mmc 0 0x01000000 boot/vmlinuz\; btrload mmc 0 0x02000000 boot/dtb\; btrload mmc 0 0x03000000 boot/initrd.img\; bootz 0x01000000 0x03000000:$filesize 0x02000000 setenv bootargs console=ttyS0,115200 rootfstype=btrfs rootdelay=2 root=/dev/mmcblk0p1 rootflags=commit=5 rw saveenv boot

Known issues:

  • rtc doesn't work (workaround: mw 0xf10184a0 0xfd4d4cfa in U-Boot)
  • SFP and switch don't work, MAC addresses are random
  • wifi fails to probe

If you have problems, don't hesitate to contact me.

Categories: Elsewhere

Aten Design Group: Create Comments in Drupal 8 Programmatically

Planet Drupal - Tue, 08/11/2016 - 21:30

Creating comments programmatically in Drupal 8 is incredibly easy once you know just which fields are required and why. In Drupal 8, comments are now full-featured, fieldable entities — just like nodes or taxonomy terms. In addition to unifying the way we create content, comments, and other entities, this has made Drupal’s commenting system much more robust and flexible.

Recently, we needed to allow certain users to leave short notes about a node (almost like revision notes without the revisions). Only certain users would be able to leave these notes and the notes are added as part of a custom form. This meant that we needed to handle comment creation ourselves. After much googling, we finally figured out just how to create comments manually.

To create a new comment, you need to create a comment entity in code and then save it. There are a lot of required fields and we'll go over each one below. But first, here’s the code:

// To create a new comment entity, we'll need `use` (import) the Comment class. use Drupal\comment\Entity\Comment;   // The function name doesn't matter. Just put the the function body where you need it. function my_modules_function_or_method() {   // First, we need to create an array of field values for the comment. $values = [   // These values are for the entity that you're creating the comment for, not the comment itself. 'entity_type' => 'node', // required. 'entity_id' => 42, // required. 'field_name' => 'comment', // required.   // The user id of the comment's 'author'. Use 0 for the anonymous user. 'uid' => 0, // required.   // These values are for the comment itself. 'comment_type' => 'comment', // required. 'subject' => 'My Awesome Comment', // required. 'comment_body' => $body, // optional.   // Whether the comment is 'approved' or not. 'status' => 1, // optional. Defaults to 0. ];   // This will create an actual comment entity out of our field values. $comment = Comment::create($values);   // Last, we actually need to save the comment to the database. $comment->save(); }

The first three required fields are telling Drupal what entity the comment should be attached to.

  • entity_type: This is the entity to which you want to attach the comment. If you're creating a comment on an article or basic page, for example, this would be node.
  • entity_id: The id of the entity to which you want to attach the comment. If you're attaching to a node, this would be its nid.
  • field_name: The field on the entity to which this comment should be attached. Note: This is something new in Drupal 8. In D8, you can have multiple comment fields on an entity and those comments' fields can use different comment types. The default article content type is the only content type that comes with a comment field. If you want to enable comments on your own content type, you have to add your own comment field which receives a unique machine name. That machine name is the value you would put here.

The uid field tells Drupal which user authored the comment.

The remaining values are all specific to the comment itself.

  • comment_type: The type of comment to create. Note: This is new in Drupal 8 too. You can have different types of comments with completely different fields, just like nodes or taxonomy terms. Think of this as the comment "bundle" if you're familiar with that term. The default comment type is just comment.
  • subject: Every comment has a subject field, just like the title field on a node.
  • comment_body: This field is provided by default just like the body field on nodes. However, it can be removed like any other field.
  • status: Set this to 1 if you would like the comment to be automatically approved. Otherwise, an administrator will need to approve it.
  • field_foobar: This isn't in the example, but comment types can have custom fields just like any other content entity. If you have custom fields on your comment type, you can just use the field’s machine name and provide a default value here.
Categories: Elsewhere

Jonathan Carter: A few impressions of DebConf 16 in Cape Town

Planet Debian - Tue, 08/11/2016 - 21:01

DebConf16 Group Photo by Jurie Senekal.

DebConf16

Firstly, thanks to everyone who came out and added their own uniqueness and expertise to the pool. The feedback received so far has been very positive and I feel that the few problems we did experience was dealt with very efficiently. Having a DebConf in your hometown is a great experience, consider a bid for hosting a DebConf in your city!

DebConf16 Open Festival (5 August)

The Open Festival (usually Debian Open Day) turned out pretty good. It was a collection of talks, a job fair, and some demos of what can be done with Debian. I particularly liked Hetzner’s stand. I got to show off some 20 year old+ Super Mario skills and they had some fun brain teasers as well. It’s really great to see a job stand that’s so interactive and I think many companies can learn from them.

At #Debconf? Join the #HetznerSA #Supermariobros challenge and stand a chance to win a case of #Leagueofbeers pic.twitter.com/DpkOj6wmZb

— HetznerSA Careers (@HetznerCareers) July 2, 2016

The demo that probably drew the most attention was from my friend Georg who demoed some LulzBot Mini 3D Printers. They really seem to love Debian which is great!

LulzBot Mini #3Dprinters were on the scene at @DebConf Open Festival in South Africa. We’re powered by @debian! pic.twitter.com/AOBS64ZtiJ

— LulzBot (@lulzbot3D) July 13, 2016

DebConf (6 August to 12 August)

If I try to write up all my thoughts and feeling about DC16, I’ll never get this post finished. Instead, here as some tweets from DebConf that other have written:

@o0karen0o delivering today’s #DebConf16 keynote pic.twitter.com/hG1wD5MBhH

— Michael Banck (@mbanck) July 3, 2016

 

Great to see Sicelo Mhlongo speaking about issues using @debian in Swaziland #debconf16 pic.twitter.com/U6z7HA8zd5

— Neil McGovern (@nmcgovern) July 7, 2016

 

What happened at #DebConf16 yesterday? Sandstorm Principles talking about the freedom to choose #software #sandbox pic.twitter.com/ltYaw3dAmP

— Obsidian Systems (@obsidianza) July 5, 2016

 

All @DebConf end with similar feelings: we’re an incredible crowd working together for a incredibly important cause. https://t.co/DYuUWT5eKt

— Didier Raboud (@OdyX_) July 9, 2016

 

My congratulations to the #DebConf video team. As usual, they are doing an amazing work at #DebConf16
— Marcelo Santana (@mgsantana) July 8, 2016

Day Trip

We had 3 day trips:

Brought to you by

DebConf16 Orga Team.

See you in Montréal!

DebConf17 dates:

  • DebCamp:  31 July to 4 August 2017
  • DebConf: 6 August to 12 August 2017
  • More details on the DebConf Wiki.

The DC17 sponsorship brochure contains a good deal of information, please share it with anyone who might be interested in sponsoring DebConf!

Media
Categories: Elsewhere

Jonathan Carter: A few impressions of DebConf 16 in Cape Town

Planet Debian - Tue, 08/11/2016 - 21:01

DebConf16 Group Photo by Jurie Senekal.

DebConf16

Firstly, thanks to everyone who came out and added their own uniqueness and expertise to the pool. The feedback received so far has been very positive and I feel that the few problems we did experience was dealt with very efficiently. Having a DebConf in your hometown is a great experience, consider a bid for hosting a DebConf in your city!

DebConf16 Open Festival (5 August)

The Open Festival (usually Debian Open Day) turned out pretty good. It was a collection of talks, a job fair, and some demos of what can be done with Debian. I particularly liked Hetzner’s stand. I got to show off some 20 year old+ Super Mario skills and they had some fun brain teasers as well. It’s really great to see a job stand that’s so interactive and I think many companies can learn from them.

At #Debconf? Join the #HetznerSA #Supermariobros challenge and stand a chance to win a case of #Leagueofbeers pic.twitter.com/DpkOj6wmZb

— HetznerSA Careers (@HetznerCareers) July 2, 2016

The demo that probably drew the most attention was from my friend Georg who demoed some LulzBot Mini 3D Printers. They really seem to love Debian which is great!

LulzBot Mini #3Dprinters were on the scene at @DebConf Open Festival in South Africa. We’re powered by @debian! pic.twitter.com/AOBS64ZtiJ

— LulzBot (@lulzbot3D) July 13, 2016

DebConf (6 August to 12 August)

If I try to write up all my thoughts and feeling about DC16, I’ll never get this post finished. Instead, here as some tweets from DebConf that other have written:

@o0karen0o delivering today’s #DebConf16 keynote pic.twitter.com/hG1wD5MBhH

— Michael Banck (@mbanck) July 3, 2016

 

Great to see Sicelo Mhlongo speaking about issues using @debian in Swaziland #debconf16 pic.twitter.com/U6z7HA8zd5

— Neil McGovern (@nmcgovern) July 7, 2016

 

What happened at #DebConf16 yesterday? Sandstorm Principles talking about the freedom to choose #software #sandbox pic.twitter.com/ltYaw3dAmP

— Obsidian Systems (@obsidianza) July 5, 2016

 

All @DebConf end with similar feelings: we’re an incredible crowd working together for a incredibly important cause. https://t.co/DYuUWT5eKt

— Didier Raboud (@OdyX_) July 9, 2016

 

My congratulations to the #DebConf video team. As usual, they are doing an amazing work at #DebConf16
— Marcelo Santana (@mgsantana) July 8, 2016

Day Trip

We had 3 day trips:

Brought to you by

DebConf16 Orga Team.

See you in Montréal!

DebConf17 dates:

  • DebCamp:  31 July to 4 August 2017
  • DebConf: 6 August to 12 August 2017
  • More details on the DebConf Wiki.

The DC17 sponsorship brochure contains a good deal of information, please share it with anyone who might be interested in sponsoring DebConf!

Media
Categories: Elsewhere

qed42.com: New Module - AddToCalendar Drupal Integration

Planet Drupal - Tue, 08/11/2016 - 19:03
New Module - AddToCalendar Drupal Integration Body

Drupal sites with events functionality, often have to allow their users to export events in their personal calendars. On a recent Drupal 8 project we were asked to integrate 3rd party service Add to Calendar to their events and having found no formal integration of the widget with Drupal we developed and contributed this module. The widget provided by Add to calendar supports export of Dates / events to iCalender, Google Calendar, Outlook, Outlook Online and Yahoo Calendar.

  Why use Add To Calendar Service?
  • Add to Calendar Module provides a widget to export events.
  • With Add to Calendar Module, you can create event button on a page and allow guests to add this event to their calendar.
How Does Add to Calendar Module Works?

Add to Calendar Module provides third party field formatter settings for DateTime fields. Module internally uses services provided by http://addtocalendar.com to load free add to calendar button for event page on website and email. Clicking on this button, the event is exported to the corresponding website with proper information in the next tab where a user can add the event to their calendar. Besides, it provides a handful of configuration for a really flexible experience, Allowing you to use your datetime format along with Add to Calendar button.

Using Add to Calendar
  1. Download and enable Add to Calendar module (https://www.drupal.org/project/addtocalendar)

    • The module has both D8 and a backported D7 versions.

  2. Adding Add to Calendar button to any datetime field would require enabling “Show Add to Calendar” checkbox present at format configurations on Manage Display page of the desired content type.

 

  1. Following configurations are available:

Option Description Style Three basic styles are available: Basic, Blue and Glow Orange Display Text Text for the display button. Event Details Module provides you three options here. You may opt for static data, tokenized value or any field value, specific to the current entity. Privacy Use public for free access to event information while private if the event is closed to public access. Security Level To specify whether button link should use http or https Calendars to show Select Calendars to be enabled for the display.

4. Save the settings and visit content display page.

Developer Support

Devs have the option to add "Add to Calendar" button anywhere on the website by following below steps:

1. Include base library ('addtocalendar/base') for add to calendar basic functionality. Optionally, You may also one of the following style libraries for styling the display button:

  • 'addtocalendar/blue'
  • 'addtocalendar/glow_orange'
$variables['#attached']['library'][] = 'addtocalendar/base';

2. Place event data on the page as:

2016-05-04 12:00:00 2016-05-04 18:00:00 Europe/London Star Wars Day Party May the force be with you Tatooine Luke Skywalker luke@starwars.com

For further customization of this custom button visit: http://addtocalendar.com/ Event Data Options section.

3. This would create "Add to Calendar" button for your website.

 

PURUSHOTAM RAI Tue, 11/08/2016 - 23:33
Categories: Elsewhere

myDropWizard.com: Don't Leave Your Website Support & Maintenance to Junior Developers

Planet Drupal - Tue, 08/11/2016 - 18:19

In talking to Drupal shops and agency about how they do support, we've sometimes heard something like:

We have junior developers / paid interns handle one-off support and maintenance requests as a way to train them!

We provide white-label fixed-monthly-cost support for agencies, so I am a little biased. :-) But I used to run a small Drupal agency and I truly believe that there are a number of potential issues with this view.

From my perspective, certainly: IT IS NOT OK to leave support and maintenance to junior developers.

I'll try to give some detail to explain my viewpoint on this... Read on to learn more!

Categories: Elsewhere

J-P Stacey: Tutorials on the Drupal 8 APIs, collected

Planet Drupal - Tue, 08/11/2016 - 17:59

Recently I've been writing a number of blogpost tutorials about the Drupal 8 APIs. If you like, you can read all tutorials so far, collected and broken down by topic, roughly following the breakdown in the official documentation.

The tutorials have been written with a focus on achievable results, and with accompanying screenshots explaining what you should see if you work through the examples; like this one:

Read more of "Tutorials on the Drupal 8 APIs, collected"

Categories: Elsewhere

Drupal Association News: The future of Community Summit. Help drive us forward.

Planet Drupal - Tue, 08/11/2016 - 16:58

Come for the code, stay for the community. That’s the mantra of the Drupal community. It’s the reason many of us are here. It’s why we contribute in our spare time, spend our weekends organizing Drupal events, attend week-long DrupalCons. As a community we are continuing to grow and change, just like the project. DrupalCon programming should be changing too.

In particular, we at the Drupal Association want to make sure that the community programming at DrupalCons best serves the community it is made for. And that means that we need fresh voices, more support, and new ideas. We are asking for a new crop of community leaders and leading companies to step in and help us move community programming at DrupalCons forward.

How community programming got here:
Originally, community conversations at DrupalCon took place in sessions for the community track, running alongside all the other content at DrupalCons. The community track allowed for presentations on topics related to our community and although it was valuable to raise the topics, there were concerns that the session format made it difficult to continue the momentum after the Con. Further, the community track was not well attended.

At DrupalCon Prague in 2013, we launched the first Community Summit, a day-long event, on the Monday of DrupalCon week. Morten DK, Addison Berry, and others (thank you all - you have been great collaborators) ran the program and led a number of very useful conversations.

At the past few DrupalCons, Donna Benjamin has stepped up to lead unconference-style Community Summits open to anyone who wants to join, contribute to, or lead a local community. Through the unconference format, the Summit has been able to foster conversations about nonviolent communication, camp budgeting, public speaking, local community activities and more. Unfortunately, unconferences seem to stop once the Summit is over, and continuing conversations and action plans prove difficult with a community spread across the world.

Where is community programming headed?
As we continue to grow as a project and community, we recognize that we need to make sure we have the right format and space for our community to continue to grow and learn from each other.
Community programming needs some new faces to help move us forward into a world of Drupal 8, new camps, project-wide discussions, etc. We are a community full of incredible leaders and we are putting out a call for some of you to stand up and help us design the future for our community.

Community programming also needs a fiscal champion - a sponsor who fully recognizes the importance of investing in our community. Our community leaders are volunteers and e want to minimise barriers for participation. To date, the Community Summit has been free to attend. We’d like to keep it that way. But we’d like to provide attendees with lunch, and workshop tools like post-it notes, markers and flipcharts. Because we offer the Summit at no cost, we have needed to limit the space available which has meant it has booked up early, and many who would have liked to attend, have missed out.

We need you to contribute to community programming
We need you. And we are asking - can you contribute? We would love a team of community organizers to work with the Drupal Association on community programming at DrupalCon Baltimore and beyond. We need a sponsor or two to financially support the Community Summit and allow us to continue to grow it.

We are close to finalizing our space at the Baltimore Convention Center and are also nearing our online registration launch. We need to determine what the Community Summit will be so we can allocate the appropriate space and include tickets on our website. If you can help, take action now by contacting us at the Drupal Association before November 21, 2016. There are a few ways to get involved:

Are we supporting new initiatives like Drupal Diversity in the best way that we can? Are we providing our Camp Organizers with the opportunity to convene and share tips and tricks to running amazing camps around the globe? What other programming can we be providing?  Comment below to let us know what you’d like to see from community programming at DrupalCons.

Thank you for your endless support of this amazing community.

Categories: Elsewhere

groups.drupal.org frontpage posts: [DCMuc16] Can you smell the gingerbread and hot spiced wine? DrupalCamp Munich 2016 is coming

Planet Drupal - Tue, 08/11/2016 - 16:41

Hey Drupalistas!
We are just a few blinks away from the DrupalCamp Munich 2016 (31.11.-02.12.2016 CodeSprints @ Burda Media // 03.12.-04.12.2016 DrupalCamp @LMU Munich). As you know, this is our 2nd Camp after the great (and 1st) DrupalDevDays in 2010, and we think we will be great hosts again.

So, it's your part to submit your session prosposals until 14th of november and to be part of the special spirit of a camp with friends, Drupal, PHP, Symfony, beer, a lot of socializing, food, another beer, coffee, code sprints, very special welcome-bags, ...
We are thankful of our sponsors so we have a special prizing for students and WWCode. Please contact us for further information.
We look forward to seeing you at DrupalCamp Munich 2016 and to drinking a mug or two of "Gluhwein" or bavarian beer together.

Greetings from our Team

AttachmentSize ankuendigung_v02.jpg359.83 KB
Categories: Elsewhere

InternetDevels: Bootstrap for Drupal: how to create a subtheme in Drupal 8

Planet Drupal - Tue, 08/11/2016 - 16:15

Here goes another Drupal 8 post by one of our Drupal developers!

Read more
Categories: Elsewhere

Pages

Subscribe to jfhovinne aggregator - Elsewhere