New Module – AddToCalendar Drupal maintenance support plans Integration

New Module – AddToCalendar Drupal maintenance support plans Integration

Body
Drupal maintenance support plans sites with events functionality, often have to allow their users to export events in their personal calendars. On a recent Drupal maintenance support plans 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 maintenance support plans 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

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

The module has both D8 and a backported D7 versions.

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.

 

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:

2020-05-04 12:00:00
2020-05-04 18:00:00
USA/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/2020 – 23:33
Source: New feed

This article was republished from its original source.
Call Us: 1(800)730-2416

Pixeldust is a 20-year-old web development agency specializing in Drupal and WordPress and working with clients all over the country. With our best in class capabilities, we work with small businesses and fortune 500 companies alike. Give us a call at 1(800)730-2416 and let’s talk about your project.

FREE Drupal SEO Audit

Test your site below to see which issues need to be fixed. We will fix them and optimize your Drupal site 100% for Google and Bing. (Allow 30-60 seconds to gather data.)

Powered by

New Module – AddToCalendar Drupal maintenance support plans Integration

On-Site Drupal SEO Master Setup

We make sure your site is 100% optimized (and stays that way) for the best SEO results.

With Pixeldust On-site (or On-page) SEO we make changes to your site’s structure and performance to make it easier for search engines to see and understand your site’s content. Search engines use algorithms to rank sites by degrees of relevance. Our on-site optimization ensures your site is configured to provide information in a way that meets Google and Bing standards for optimal indexing.

This service includes:

  • Pathauto install and configuration for SEO-friendly URLs.
  • Meta Tags install and configuration with dynamic tokens for meta titles and descriptions for all content types.
  • Install and fix all issues on the SEO checklist module.
  • Install and configure XML sitemap module and submit sitemaps.
  • Install and configure Google Analytics Module.
  • Install and configure Yoast.
  • Install and configure the Advanced Aggregation module to improve performance by minifying and merging CSS and JS.
  • Install and configure Schema.org Metatag.
  • Configure robots.txt.
  • Google Search Console setup snd configuration.
  • Find & Fix H1 tags.
  • Find and fix duplicate/missing meta descriptions.
  • Find and fix duplicate title tags.
  • Improve title, meta tags, and site descriptions.
  • Optimize images for better search engine optimization. Automate where possible.
  • Find and fix the missing alt and title tag for all images. Automate where possible.
  • The project takes 1 week to complete.