Wednesday 9 December 2015

Drupal Camp Distribution: First Beta Release

DrupalCamp is the distribution, for spinning up camp sites.  Lately, as always :), I was part of the site building team at a local camp in India and after working with the team, found that all the sites were/are having similar content architecture e.g. content types, listing pages etc., except their themes and designs.

While sprinting at DrupalCamp Pune, we decided to build a site for DrupalCamp Delhi. While sprinting we realised we need  a common code/feature base for camp sites. And there we started building distribution in D8. The time we started making this distribution profile Drupal 8 was in beta 16 and we are hoping to make first release candidate soon.

Drupalcamp comes up with the 2 contributed modules fb_likebox, twitter_block for the facebook and twitter share blocks in sidebar.

Configurations that this installation profile provides are:

  1. Content types
    1. Basic Page :  For creating basic pages like about us,etc. on the site.
    2. Session : This is used for creating/submitting sessions.
    3. Sponsor : This is used to keep information about the sponsors.
  2. Listings (Views):
    1. Accepted Sessions
    2. Proposed Sessions
    3. Sponsors
    4. Students.
  3. Social sharing buttons:
    1. facebook
    2. twitter
  4. Blocks:
    1. facebook
    2. twitter

We need to just use the drupalcamp profile and theme the site.

Challenges that came up while building this profile :

  1. Contributed modules : The contributed modules stable release was not out so ported the fb_likebox, twitter_block module to drupal 8 and created the stable release of fb_likebox. Special thanks to the maintainer baekelandt for quick promptness.
  2. There was no tool available which will provide the boilerplate code, so we started with forking the standard profile and used the config-export to export the configurations. Now with the drupalconsole 0.9.9 we have generate profile command available to  generate the boilerplate code. Used the phing to automate the testing as sam specified in its blog.

Thanks to the entire Drupalcamp Distribution Team!

What's Next ?

Please join hands to release the stable version for twitter_block and include this stable release in the drupalcamp distribution.

Monday 7 December 2015

Verify your place/business at google maps


Google Maps is a service provided by google that shows the buildings/places in maps.


How to add your place on google maps :

  1. Go to https://www.google.co.in/mapmaker
  2. Click on the Add New as shown in the screenshot below.
  3. Points the pointer to the exact place.
  4. Select the Category of the business and choose the name as you want to display in google maps.See in the screenshot in below for more information.
  5. Its done. Wait for approval for few days. :)