Planet Drupal

Syndicate content
Drupal.org - aggregated feeds in category Planet Drupal
Updated: 21 min 35 sec ago

Roy Scholten: New process, new results

Thu, 08/25/2016 - 01:40
div class=field field-name-field-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evena href=/pieces/new-process-new-resultsimg src=http://www.yoroy.com/sites/default/files/styles/large/public/20160825-design%20culture.jpg?itok=L_PhqRWg width=640 height=439 alt=4 handwritten index cards //a/div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpWe’re probably misusing the term MVP when we try to frame what we would like to see make it into core. But the actual mode of working we use there is quite an achievement. We used to grind it out endlessly, where proposed changes could be discussed endlessly, with a high risk of not committing anything at all in the end. What we’re doing now is: agree up front that it’s a good idea to improve feature X or rework interface Y. And then focus on keeping the scope as small as possible./p pYes, I, J and K are also good ideas, but we’re trying to do X here and while these are all related ideas and together would like make for a nicer whole, we should really focus on shipping X, and X alone, before turning our attention to I, J and K. If at all, because while shiny, interface Y actually presents people with more problems, so maybe we should focus on that. Though it’s never that strongly a case of either/or, and we should definately not stop iterating after the initial commit./p pThis is a very new and different way of working. Deliberately a href=https://groups.drupal.org/node/510551lowering our standards for the goal of introducing change/a. This is uncomfortable at times, but even that is good, because it means we’re stretching ourselves, which means we’re doing and learning new things. I’m excited and proud to see this happen. More like this./p pDoing it like this means that Drupal 8.2:/p ulliHas content moderation tools (draft! review! publish! etc.)/li liProvides a new way to add new elements (blocks) to the page you’re on, without having to go to some far away corner in the admin section/li liThose elements (blocks! menus! logo amp; site name! etc.) can then also be configured in the context of the user facing page. A side tray will show up and expose the relevant settings./li /ulpLooking forward to learn how these additions will be received and how we can improve them. In the mean time, lets add more useful and usable things to 8.3 (sample content! media handling! better dates! etc)./p /div/div/divdiv class=field field-name-taxonomy-vocabulary-1 field-type-taxonomy-term-reference field-label-inline clearfixdiv class=field-labelTags:nbsp;/divdiv class=field-itemsdiv class=field-item evena href=/tag/drupaldrupal/a/divdiv class=field-item odda href=/tag/uxux/a/divdiv class=field-item evena href=/drupaldrupalplanet/a/div/div/divdiv class=field field-name-field-sub-title field-type-text field-label-abovediv class=field-labelSub title:nbsp;/divdiv class=field-itemsdiv class=field-item evenThis is a pretty radical change/div/div/div

Cocomore: 10 Do’s amp; Don’ts for Facebook Pages: This is what businesses should keep in mind

Thu, 08/25/2016 - 00:00
pThe digital point of contact, the electronic business card, the online meet up for fans: A Facebook business page serves many functions. For this reason it’s important to know how to use it correctly. Here are 10 tips on how to work it./p

DrupalCon News: An Insider's Guide to Visiting Dublin

Wed, 08/24/2016 - 23:54
div class=field field--name-body field--type-text-with-summary field--label-hiddendiv class=field__itemsdiv class=field__item evenpThinking of coming to DrupalCon Dublin this year? Why not extend your trip by a few days and stay a bit longer to take in some of the fabulous things you can go do and see in Dublin?/p pHere's our recommended list of things to do and see while here:/p h31. Guinness Storehouse/h3 pimg alt=Guinness barrels src=https://events.drupal.org/sites/default/files/drupalcon-dublin-guinness-barrels.jpg style=float:right //p/div/div/div

Drupal governance announcements: Coding standards ratified changes and ongoing proposals

Wed, 08/24/2016 - 22:29
pThe a href=https://drupal.org/project/drupal_twgTWG/a a href=https://drupal.org/project/issues/coding_standardscoding standards committee/a is announcing two coding standards changes for final discussion. These appear to have reached a point close enough to consensus for final completion. The new process for proposing and ratifying changes is documented on the a href=https://drupal.org/project/coding_standardscoding standards project page/a./p pOfficial coding standards updates now ratified:/p ullia href=https://www.drupal.org/node/2713805Prefer != to lt;gt; for NOT EQUALS/a/li lia href=https://www.drupal.org/node/2648050Stop disallowing camelCase for local variables / parameters/a/li lia href=https://www.drupal.org/node/2248463Should we require a blank line after lt;?php?/a/li /ulpIssues awaiting core approval:/p ullia href=https://www.drupal.org/node/1999722[policy] Define coding standards for anonymous functions (closures)/a/li lia href=https://www.drupal.org/node/1158720Add type hinting to function declaration coding standards/a - sidelined on discussions around how to handle versioned coding standards (for which there is a a href=https://www.drupal.org/node/2788295separate issue/a/li /ulpstrongIssues that just need a little TLC (emyou can help!/em)/strong:/p ullia href=https://www.drupal.org/node/2135291[Policy, no patch] PHP 5.4 short array syntax coding standards/a - we just need some specific proposed language and this will be ratified/li lia href=https://www.drupal.org/node/2690599[policy, no patch] Standardize indenting on chained method calls/a is blocked on the related a href=https://www.drupal.org/node/2690325coder rule issue/a/li lia href=https://www.drupal.org/node/2687941[Policy, no patch] Delete permission to pad spacing in a block of related assignments/a needs more support - do you want this change?/li /ulpThese proposals will be re-evaluated during the next coding standards meeting currently scheduled for strongAugust 30th/strong. At that point the discussion may be extended, or if clear consensus has been reached one or more policies may be dismissed or ratified and moved to the next step in the process./p

FFW Agency: The ABC's of Drupal: Dev Ops, Display and Distribution

Wed, 08/24/2016 - 20:43
span property=schema:name class=field field--name-title field--type-string field--label-hiddenThe ABC#039;s of Drupal: Dev Ops, Display and Distribution/span span class=field field--name-uid field--type-entity-reference field--label-hiddenspan lang= about=/users/ray-saltini typeof=schema:Person property=schema:name datatype=Ray Saltini/span/span span class=field field--name-created field--type-created field--label-hiddenWed, 08/24/2016 - 18:43/span div property=schema:articleBody class=clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__itemp dir=ltrFor anyone who's ever looked up a definition of a Drupal term and been left wondering what it all means, here are some practical real world explanations you can use to navigate the Drupalverse. Watch this space and use comments to send us your feedback and requests./p h2 dir=ltrThe Discipline of Dev Ops/h2 p dir=ltrDev Ops, or Development Operations, is the intersection between IT managed hosting support and development. While it is a specialization in many organizations, senior developers, tech leads, and architects should be conversant in the various systems and tools to be used by your IT team or provider./p p dir=ltrOne of the primary goals of Dev Ops is to create standardized operating system iterations that are consistently reliable and easily replicable. Your unique infrastructure or hosting service plays a big role in these systems, which is why they tend to be customized to each project./p p dir=ltrStandardized Dev Ops systems are used to create local and remote development environments, as well as staging and production environments, which all function in the same way. Having good Dev Ops systems in place means that your organization can support continuous development practices like version control and automated testing./p p dir=ltrFor any site that’s even moderately complex, having Dev Ops standards is huge. You don’t have to try to become a Dev Ops genius yourself: instead, you can find an organization like FFW to provide the level of Dev Ops help and support that is appropriate for the size and scope of your project./p h2 dir=ltrDefining a Display/h2 p dir=ltrDisplays, unlike Dev Ops, are a little simpler. A Display in Drupal typically refers to how queried data is organized and shown to visitors. It is usually used in connection with a native database query referred to as a View./p p dir=ltrOne View (or database query) can have several Displays sorted in different ways. For instance, a set of queried data can be output in the following ways:/p ulli dir=ltra sortable table/li li dir=ltra grid/li li dir=ltras consecutive field sets/li li dir=ltrin a rotating banner/li li dir=ltras a calendar or list of coming events/li li dir=ltras points on a map/li /ulp dir=ltr… and these are only just a few examples of the many different kinds of Displays./p h2 dir=ltrThe Details Around Distributions/h2 p dir=ltrA Distribution is a pre-developed assembly of database data, code, and files. Distributions commonly include saved content, configuration settings, Drupal core, contributed and custom modules, libraries, and a custom theme. It’s basically a pre-built Drupal site./p p dir=ltrMost people first become acquainted with Distributions as different iterations of Drupal that are built for specific use cases or verticals, such as e-commerce or publishing. Many distributions are robust, production-ready applications that will save you tremendous work. They let you take advantage of the distribution sponsor’s subject matter expertise./p p dir=ltrThere are other kinds of distributions, such as ones developed mainly for marketing purposes to showcase what Drupal can do and how Drupal can be used. Both of these types of distributions have value, but it is important to differentiate between the two./p p dir=ltrDistributions can be vetted in much the same way that a Drupal module or theme can be vetted. When evaluating a Distribution, I always like to ask the following questions:/p ulli dir=ltrWho are the contributors?/li li dir=ltrWhat is their experience?/li li dir=ltrIs the project actively maintained and are new features or versions planned?/li /ulp dir=ltrThe other primary consideration when vetting a Distribution is how much complexity and effort is required to ‘unravel’ a distribution. Many organizations have found that the more fully realized distributions are difficult to customize around their specific workflows and therefore are more expensive to change than starting fresh with a more basic version of Drupal./p p dir=ltrIf you want to know more about Distributions, I recommend looking at a href=https://www.drupal.org/project/project_distributionDrupal’s distribution project pages/a and thisa href=https://www.drupal.org/documentation/build/distributions documentation page/a./p /div div class=field field--name-field-image field--type-image field--label-hidden field__item picture !--[if IE 9]video style=display: none;![endif]-- source srcset=/sites/default/files/styles/blog_single_desktop/public/drupal-words_1.png?itok=2kCMKfEd 1x, /sites/default/files/styles/blog_single_desktopx/public/drupal-words_1.png?itok=_LbPIy7z 2x media=screen and (min-width: 1601px) type=image/png/ source srcset=/sites/default/files/styles/blog_single_desktop/public/drupal-words_1.png?itok=2kCMKfEd 1x, /sites/default/files/styles/blog_single_desktopx/public/drupal-words_1.png?itok=_LbPIy7z 2x media=screen and (min-width: 1201px) type=image/png/ source srcset=/sites/default/files/styles/blog_single_tablet/public/drupal-words_1.png?itok=LtQ0DJtd 1x, /sites/default/files/styles/blog_single_tabletx2/public/drupal-words_1.png?itok=8iD82bkb 2x media=screen and (min-width: 769px) type=image/png/ source srcset=/sites/default/files/styles/blog_single_mobile/public/drupal-words_1.png?itok=EqAXAYds 1x, /sites/default/files/styles/blog_single_mobile2x/public/drupal-words_1.png?itok=gEA9Ps8u 2x media=(min-width: 0px) type=image/png/ !--[if IE 9]/video![endif]-- img property=schema:image srcset=/sites/default/files/styles/blog_single_desktop/public/drupal-words_1.png?itok=2kCMKfEd alt=Drupal word cloud typeof=foaf:Image / /picture /div h6 class=field-label headingTagged with/h6 ul class=links field-items lia href=/drupal property=schema:keywords hreflang=endrupal/a/li /ul section property=schema:comment h2Comments/h2 drupal-render-placeholder callback=comment.lazy_builders:renderForm arguments=0=nodeamp;1=4091amp;2=field_commentamp;3=ffw_comments token=85abb1fb/drupal-render-placeholder /section

Drupal.org blog: Upcoming Changes to the Front Page

Wed, 08/24/2016 - 20:22
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpIn recent weeks we've been making several small changes to Drupal.org: precursors to bigger things to come. First, we a href=https://www.drupal.org/node/2767105 rel=nofollowmoved the user activity links/a to a user menu in the header. Next, we're a href=https://www.drupal.org/node/2780921 rel=nofollowmoving the search function/a from the header to the top navigation. These changes aren't just to recover precious pixels so you can better enjoy those extra long issue summaries—these are the first step towards a new front page on Drupal.org./p pAs the Drupal 8 life-cycle has moved from development, to release, to adoption, we have adapted Drupal.org to support the needs of the project in the moment. And today, the need of the moment is to a href=https://assoc.drupal.org/blog/hestenet/changes-drupal-association-engineering-team rel=nofollowsupport the adoption journey/a./p pAs we make these changes you'll see echoes of the visual style we used when promoting the a href=https://www.drupal.org/8 rel=nofollowrelease of Drupal 8/a./p ulli pThe Drupal wordmark region will help to define Drupal, and promote trying a demo./p /li li pA ribbon will promote contextual CTAs like learning more about Drupal 8./p /li li pThe news feed will be tweaked./p /li li pDrupalCon will have a permanent home on the front page./p /li li pCommunity stats and featured case studies will be carried over(but may evolve)./p /li li pThe home page sponsorship format may change./p /li li pWe'll be phasing in a new font throughout the site: a href=http://font.ubuntu.com/ rel=nofollowUbuntu/a - which you've already seen featured in the new a href=https://www.drupal.org/docs/8/understanding-drupal rel=nofollowDocumentation/a section./p /li /ulh2Here's a teaser/h2 p… a sneak preview of some new page elements and styles you'll see in the new home page.  /p p class=centerimg alt= src=/files/sneak-preview-elements.png //p pOur first deployment will introduce the new layout and styles. Additional changes will follow as we introduce content to support our turn towards the adoption journey. Drupal evaluators beginning their adoption journey want to know who uses Drupal, and what business needs Drupal can solve. We will begin promoting specific success stories: solutions built in Drupal to meet a concrete need./p h2What's next?/h2 pWe're continuing to refine our content model and editorial workflow for the new front page. You'll see updates in the Drupal.org change notifications as we get closer to deployment./p pWondering why we're making these changes now? This turn towards the adoption journey is part of our a href=https://assoc.drupal.org/blog/megansanicki/drupal-associations-12-month-focus rel=nofollowchanging priorities for the next 12 months/a./p/div/div/div

Chocolate Lily: Announcing Drutopia

Wed, 08/24/2016 - 19:46
div class=field field-name-body field-type-text-with-summary field-label-hidden view-mode-rssdiv class=field-itemsdiv class=field-item even property=content:encodedpDrutopia is an initiative within the Drupal project that prioritizes putting the best online tools into the hands of grassroots groups. By embracing the liberatory possibilities of free software and supporting people-centred economic models, Drutopia aims to revolutionize the way we work and cooperate./p pDrutopia is at once an ethos of Drupal development and a fresh take on Drupal distributions for users to build upon, all based in a governance model that gives users a large role in the direction of the project./p pCore values of the Drutopia initiative include:/p ul liBe inclusive regarding gender, gender identity, sexual orientation, ethnicity, ability, age, religion, geography and class./li liCommit to protection of personal information and privacy and freedom from surveillance./li liPut collaboration and cooperation above competition./li liPrioritize human needs over private profit./li liFoster non-hierarchical structures and collective decision-making./li /ul pDrutopia focuses on shared solutions. Drupal excels at providing the tools to develop and distribute specialized website platforms that can be freely shared, reused, and adapted. Of the three most-used free software content management systems (CMSs) ndash; WordPress, Joomla!, and Drupal ndash; only Drupal has the built-in ability to package and share highly developed distributions./p pDistributions are essential in attracting and meeting the needs of groups that want to support the free software movement but donrsquo;t have the technical know-how or resources to create a site from scratch. For developers, too, distributions hold a lot of potential because they do the heavy lifting of initial setup, allowing developers and site builders to bypass many hours of unnecessary effort. Drupal distributions so far have been held back by a series of factors that Drutopia aims to address./p pDrutopia is about returning to Drupalrsquo;s roots in free software and progressive social change. Since its founding years, the Drupal free software project has both reflected and contributed to the democratic potential of the internet: to empower citizens to freely collaborate and organize outside the control of governments and corporate media. Long before it powered Fortune 500 sites and whitehouse.gov, Drupal was a tool of choice for small, grassroots, change-oriented groups./p pThis initiative aims to reclaim Drupal for the communities and groups that have always been its core users and adopters and have contributed to much of its best innovation./p pJoin us at a href=http://www.drutopia.org/drutopia.org/a./p /div/div/div

Frederick Giasson: Winnipeg City’s NOW [Data] Portal

Wed, 08/24/2016 - 19:33
span class=Z3988 title=ctx_ver=Z39.88-2004amp;rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Adcamp;rfr_id=info%3Asid%2Focoins.info%3Ageneratoramp;rft.title=Winnipeg City#8217;s NOW [Data] Portalamp;rft.aulast=Giassonamp;rft.aufirst=Frederickamp;rft.subject=Open Semantic Frameworkamp;rft.subject=OSF for Drupalamp;rft.subject=Planet Drupalamp;rft.subject=Semantic Webamp;rft.source=Frederick Giasson#8217;s Weblogamp;rft.date=2016-08-24amp;rft.type=blogPostamp;rft.format=textamp;rft.identifier=http://fgiasson.com/blog/index.php/2016/08/24/winnipeg-citys-now-data-portal/amp;rft.language=English/span pThe a href=http://now.winnipeg.ca/Winnipeg City#8217;s NOW (Neighbourhoods Of Winnipeg) Portal/a is an initiative to create a complete neighbourhood web portal for its citizens. At the core of the project we have a set of about 47 fully linked, integrated and structured datasets of things of interests to Winnipegers. The focal point of the portal is Winnipeg#8217;s 236 neighbourhoods, which define the main structure of the portal. The portal has six main sections: topics of interests, maps, history, census, images and economic development. The portal is meant to be used by citizens to find things of interest in their neibourhood, to learn their history, to see the images of the things of interest, to find tools to help economic development, etc./p pThe NOW portal is not new; a href=http://structureddynamics.comStructured Dynamics/a was also its main technical contractor for its first release in 2013. However we just finished to help Winnipeg City#8217;s NOW team to migrate their older NOW portal from OSF 1.x to a href=http://opensemanticframework.org/OSF 3.x/a and from Drupal 6 to a href=https://www.drupal.org/project/osfDrupal 7/a; we also trained them on the new system. Major improvements accompany this upgrade, but the user interface design is essentially the same./p pThe first thing I will do is to introduce each major section of the portal and I will explain the main features of each. Then I will discuss the new improvements of the portal./p div id=outline-container-orgheadline1 class=outline-2 h3 id=orgheadline1Datasets/h3 div id=text-orgheadline1 class=outline-text-2 pA NOW portal user won#8217;t notice any of this, but the main feature of the portal is the data it uses. The portal manages 47 datasets (and growing) of fully structured, integrated and linked datasets of things of interests to Winnipegers. What the portal does is to manage entities. Each kind of entity (swimming pools, parks, places, images, addresses, streets, etc.) are defined with multiple properties and values. Several of the entities reference other entities in other datasets (for example, an assessment parcel from the Assessment Parcels dataset references neighbourhoods entities and property addresses entities from their respective datasets)./p pThe fact that these datasets are fully structured and integrated means that we can leverage these characteristics to create a powerful search experience by enabling filtering of the information on any of the properties, to bias the searches depending where a keyword search match occurs, etc./p pHere is the list of all the 47 datasets that currently exists in the portal:/p ol class=org-ol lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AAboriginal%20Service%20ProvidersAboriginal Service Providers/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AArenasArenas/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ANeighbourhoods%20of%20Winnipeg%20CityNeighbourhoods of Winnipeg City/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AStreetsStreets/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AEconomic%20Development%20ImagesEconomic Development Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ARecreation%20%26%20Leisure%20ImagesRecreation amp; Leisure Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ANeighbourhoods%20ImagesNeighbourhoods Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AVolunteer%20ImagesVolunteer Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ALibrary%20ImagesLibrary Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AParks%20ImagesParks Images/a/li lia href=http://now.winnipeg.ca/censusCensus 2006/a/li lia href=http://now.winnipeg.ca/censusCensus 2001/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AWinnipeg%20Internal%20WebsitesWinnipeg Internal Websites/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AWinnipeg%20External%20WebsitesWinnipeg External Websites/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AHeritage%20Buildings%20and%20ResourcesHeritage Buildings and Resources/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ANOW%20Local%20Content%20DatasetNOW Local Content Dataset/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AOutdoor%20Swimming%20PoolsOutdoor Swimming Pools/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AZoning%20ParcelsZoning Parcels/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ASchool%20DivisionsSchool Divisions/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AProperty%20AddressesProperty Addresses/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AWading%20PoolsWading Pools/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AElectoral%20wards%20of%20Winnipeg%20CityElectoral wards of Winnipeg City/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AAssessment%20ParcelsAssessment Parcels/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ALibrariesLibraries/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ACommunity%20CentresCommunity Centres/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3APolice%20Service%20CentersPolice Service Centers/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ACommunity%20GardensCommunity Gardens/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ALeisure%20CentresLeisure Centres/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AParks%20and%20Open%20SpacesParks and Open Spaces/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ACommunity%20CommitteeCommunity Committee/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ACommercial%20real%20estatesCommercial real estates/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ASports%20and%20Recreation%20FacilitiesSports and Recreation Facilities/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ACommunity%20Characterization%20AreasCommunity Characterization Areas/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AIndoor%20Swimming%20PoolsIndoor Swimming Pools/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ANeighbourhood%20ClustersNeighbourhood Clusters/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AFire%20and%20Paramedic%20StationsFire and Paramedic Stations/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ABus%20StopsBus Stops/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AFire%20and%20Paramedic%20Service%20ImagesFire and Paramedic Service Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AAnimal%20Services%20ImagesAnimal Services Images/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ASkateboard%20ParksSkateboard Parks/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ADaycare%20NurseriesDaycare Nurseries/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AIndoor%20Soccer%20FieldsIndoor Soccer Fields/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ASchoolsSchools/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ATruck%20RoutesTruck Routes/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AFire%20StationsFire Stations/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3AParamedic%20StationsParamedic Stations/a/li lia href=http://now.winnipeg.ca/search/browse?f%5B0%5D=Dataset%3ASpray%20Parks%20PadsSpray Parks Pads/a/li /ol /div /div div id=outline-container-orgheadline2 class=outline-2 h3 id=orgheadline2Structured Search/h3 div id=text-orgheadline2 class=outline-text-2 pThe most useful feature of the portal to me is its full-text search engine. It is simple, clean and quite effective. The search engine is configured to try to give the most relevant results a NOW portal user may be searching. For example, it will positively bias some results that comes from some specific datasets, or matches that occurs in specific property values. The goal of this biasing is to improve the quality of the returned results. This is somewhat easy to do since the context of the portal is well known and we can easily boost scoring of search results since everything is fully structured./p pAnother major gain is that all the search results are fully templated. The search results do not simply return a title and some description for your search results. It does template all the information the system has about the matched results, but also displays the most relevant information to the users in the search results./p pFor example, a href=http://now.winnipeg.ca/search/Bonivital%20Poolif I search for a indoor swimming pool/a, in most of the cases it may be to call the front desk to get some information about the pool. This is why different key information will be displayed directly in the search results. That way, most of the users won#8217;t even have to click on the result to get the information they were looking for directly in the search results page./p pHere is an example of a search for the keywords a href=http://now.winnipeg.ca/search/main%20streetcodemain street/code/a. As you can notice, you are getting different kind of results. Each result is templated to get the core information about these entities. You have the possibility to focus on particular kind of entities, or to filter by their location in specific neighbourhoods./p pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-search-1.pngimg class=aligncenter size-medium wp-image-3251 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-search-1-300x280.png alt=now--search-1 width=300 height=280 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-search-1-300x280.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-search-1-768x717.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-search-1.png 951w sizes=(max-width: 300px) 100vw, 300px //a/p /div div id=outline-container-orgheadline3 class=outline-3 h4 id=orgheadline3Templated Search Results/h4 div id=text-orgheadline3 class=outline-text-3 pNow let#8217;s see some of the kind of entities that can be searched on the portal and how they are presented to the users./p pHere is an example of an assessment parcel that is located in the St. John#8217;s neighbourhood. The address, the value, the type and the location of the parcel on a map is displayed directly into the search results./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-assessment-pacels.pngimg class=aligncenter size-medium wp-image-3253 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-assessment-pacels-300x195.png alt=now--template-search-assessment-pacels width=300 height=195 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-assessment-pacels-300x195.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-assessment-pacels.png 693w sizes=(max-width: 300px) 100vw, 300px //a/p /div pAnother kind of entity that can be searched are the property addresses. These are located on a map, the value of the parcels and the building and the zoning of the address is displayed. The property is also linked to its assessment parcel entity which can be clicked to get additional information about the parcel./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-property-address.pngimg class=aligncenter size-medium wp-image-3254 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-property-address-300x193.png alt=now--template-search-property-address width=300 height=193 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-property-address-300x193.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-property-address.png 688w sizes=(max-width: 300px) 100vw, 300px //a/p /div pAnother interesting type of entity that can be searched are the streets. What is interesting in this case is that you get the complete outline of the street directly on a map. That way you know where it starts and where it ends and where it is located in the city./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-street.pngimg class=aligncenter size-medium wp-image-3255 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-street-300x176.png alt=now--template-search-street width=300 height=176 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-street-300x176.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-street.png 697w sizes=(max-width: 300px) 100vw, 300px //a/p /div pThere are more than a thousand geo-localized images of all different things in the city that can be searched. A thumbnail of the image and the location of the thing that appears on the image appears in the search results./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-heritage-building-image.pngimg class=aligncenter size-medium wp-image-3256 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-heritage-building-image-300x189.png alt=now--template-search-heritage-building-image width=300 height=189 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-heritage-building-image-300x189.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-heritage-building-image.png 690w sizes=(max-width: 300px) 100vw, 300px //a/p /div pIf you were searching for a nursery for your new born child, then you can quickly see the name, location on a map and the phone number of the nursery directly in the search result./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-nurseries.pngimg class=aligncenter size-medium wp-image-3257 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-nurseries-300x168.png alt=now--template-search-nurseries width=300 height=168 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-nurseries-300x168.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-template-search-nurseries.png 690w sizes=(max-width: 300px) 100vw, 300px //a/p /div pThere are just a few examples of the fifty different kind of entities that can appear like this in the search results./p /div /div /div div id=outline-container-orgheadline4 class=outline-2 h3 id=orgheadline4Mapping/h3 div id=text-orgheadline4 class=outline-text-2 pThe a href=http://now.winnipeg.ca/mapmapping tool/a is another powerful feature of the portal. You can search like if you were using the full-text search engine (the top search box on the portal) however you will only get the results that can be geo-localized on a map. You can also simply browse entities from a dataset or you can filter entities by their properties/values. You can persist entities you find on the map and save the map for future reference./p pIn the example below, it shows that someone searched for a street (main street) and then he persisted it on the map. Then he search for other things like nurseries and selected the ones that are near the street he persisted, etc. That way he can visualize the different known entities in the portal on a map to better understand where things are located in the city, what exists near a certain location, within a neighbourhood, etc./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-map.pngimg class=aligncenter size-medium wp-image-3259 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-map-300x272.png alt=now--map width=300 height=272 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-map-300x272.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-map-768x696.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-map.png 944w sizes=(max-width: 300px) 100vw, 300px //a/p /div /div /div div id=outline-container-orgheadline5 class=outline-2 h3 id=orgheadline5Census Analysis/h3 div id=text-orgheadline5 class=outline-text-2 pCensus information is vital to the good development of a city. They are necessary to understand the trends of a sector, who populates it, etc., such that the city and other organizations may properly plan their projects to have has much impact as possible./p pThese are some of the reason why one of the main section of the site is dedicated to a href=http://now.winnipeg.ca/censuscensus data/a. Key census indicators have been configured in the portal. Then users can select different kind of regions (neighbourhood clusters, community areas and electoral wards) to get the numbers for each of these indicators. Then they can select multiple of these regions to compare each other. A chart view and a table view is available for presenting the census data./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-census.pngimg class=aligncenter size-medium wp-image-3260 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-census-300x193.png alt=now--census width=300 height=193 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-census-300x193.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-census-768x493.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-census-1024x657.png 1024w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-census.png 1212w sizes=(max-width: 300px) 100vw, 300px //a/p /div /div /div div id=outline-container-orgheadline6 class=outline-2 h3 id=orgheadline6History, Images amp; Points of Interest/h3 div id=text-orgheadline6 class=outline-text-2 pThe City took the time to write the a href=http://now.winnipeg.ca/historyhistory/a of each of its a href=http://now.winnipeg.ca/history/civic-centreneighbourhoods/a. In additional to that, they hired professional photographs to photograph the points of interests of the city, to geo-localize them and to write a description for each of these photos. Because of this dedication, users of the portal can learn a much about the city in general and the neighbourhood they live in. This is what the History and Image sections of the website are about./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history.pngimg class=aligncenter size-medium wp-image-3261 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-300x247.png alt=now--history width=300 height=247 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-300x247.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-768x631.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history.png 973w sizes=(max-width: 300px) 100vw, 300px //a/p /div pHistoric buildings are displayed on a map and they can be browsed from there./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-buildings.pngimg class=aligncenter size-medium wp-image-3262 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-buildings-300x279.png alt=now--history-heritage-buildings width=300 height=279 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-buildings-300x279.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-buildings-768x714.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-buildings.png 938w sizes=(max-width: 300px) 100vw, 300px //a/p /div pImages of points of interests in the neighbourhood are also located on a map./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-resources.pngimg class=aligncenter size-medium wp-image-3263 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-resources-300x269.png alt=now--history-heritage-resources width=300 height=269 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-resources-300x269.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-resources-768x688.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-history-heritage-resources.png 945w sizes=(max-width: 300px) 100vw, 300px //a/p /div /div /div div id=outline-container-orgheadline7 class=outline-2 h3 id=orgheadline7Find Your Neighbourhood/h3 div id=text-orgheadline7 class=outline-text-2 pEver wondered in which neighbourhood you live in? No problem, go on the home page, put your address in the a href=http://now.winnipeg.ca/homeFind your Neighbourhood/a section and you will know it right away. From there you can learn more about your neighbourhood like its history, the points of interest, etc./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood.pngimg class=aligncenter size-medium wp-image-3264 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-300x159.png alt=now--find-your-neighbourhood width=300 height=159 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-300x159.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood.png 352w sizes=(max-width: 300px) 100vw, 300px //a/p /div pYour address will be located on a map, and your neighbourhood will be outlined around it. Not only you will know in which neighbourhood you live, but you will also know where you live within it. From there you can click on the name of the neigbourhood to get to the neighbourhood#8217;s page and start learning more about it like its history, to see photos of points of interest that exists in your neighbourhood, etc./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-result.pngimg class=aligncenter size-medium wp-image-3265 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-result-300x232.png alt=now--find-your-neighbourhood-result width=300 height=232 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-result-300x232.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-result-768x593.png 768w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-find-your-neighbourhood-result.png 950w sizes=(max-width: 300px) 100vw, 300px //a/p /div /div /div div id=outline-container-orgheadline8 class=outline-2 h3 id=orgheadline8Browsing Content by Topic/h3 div id=text-orgheadline8 class=outline-text-2 pBecause all the content of the portal is fully structured, it is easy to browse its content using a well defined a href=http://now.winnipeg.ca/topics/topicstopic/a structure. The city developed its a href=http://now.winnipeg.ca/sites/now.winnipeg.ca/Seadragon/NOW_v119.pdfown ontology/a that is used to help the users browse the content of the portal by browsing topics of interest. In the example below, I clicked the iEconomic Development/i node and then the iLand use/i topic. Finally I clicked the iMap/i button to display things that are related to land use: in this case, zoning and assessment parcels are displayed to the user./p pThis is another way to find meaningful and interesting content from the portal./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-topics.pngimg class=aligncenter size-medium wp-image-3266 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-topics-210x300.png alt=now--topics width=210 height=300 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-topics-210x300.png 210w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-topics.png 644w sizes=(max-width: 210px) 100vw, 210px //a/p /div pDepending on the topic you choose, and the kind of information related to that topic, you may end up with different options like a map, a list of links to documents related to that topic, etc./p /div /div div id=outline-container-orgheadline9 class=outline-2 h3 id=orgheadline9Export Content/h3 div id=text-orgheadline9 class=outline-text-2 pNow that I made an overview of each of the main features of the portal, let#8217;s go back to the geeky things. The first thing I said about this portal is that at its core, all information it manages is fully structured, integrated and linked data. If you get to the page of an entity, you have the possibility to see the underlying data that exists about it in the system. You simply have to click the a href=http://now.winnipeg.ca/resources/images-heritage-assiniboine-forest-nature-trail-plaque/exportExport/a tab at the top of the entity#8217;s page. Then you will have access to the description of that entity in multiple different formats./p div class=figure pa href=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-export-entity.pngimg class=aligncenter size-medium wp-image-3267 src=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-export-entity-300x177.png alt=now--export-entity width=300 height=177 srcset=http://fgiasson.com/blog/wp-content/uploads/2016/07/now-export-entity-300x177.png 300w, http://fgiasson.com/blog/wp-content/uploads/2016/07/now-export-entity.png 519w sizes=(max-width: 300px) 100vw, 300px //a/p /div pIn the future, the City should (or at least I hope will) make the whole set of datasets fully downloadable. Right now you only have access to that information via that export feature per entity. I hope because this NOW portal is fully disconnected from another initiative by the city: a href=http://data.winnipeg.ca/data.winnipeg.ca/a, which uses a href=https://www.socrata.com/Socrata/a. The problem is that barely any of the datasets from NOW are available on codedata.winnipeg.ca/code, and the ones that are appearing are the raw ones (semi-structured, un-documented, un-integrated and non-linked) all the normalization work, the integration work, the linkage work done by the NOW team hasn#8217;t been leveraged to really improve the codedata.winnipeg.ca/code datasets catalog./p /div /div div id=outline-container-orgheadline10 class=outline-2 h3 id=orgheadline10New with the upgrades/h3 div id=text-orgheadline10 class=outline-text-2 pThose who are familiar with the NOW portal will notice a few changes. The user interface did not change that much, but multiple little things got improved in the process. I will cover the most notable of these changes./p pThe major changes that happened are in the backend of the portal. The data management in OSF for Drupal 7 is incompatible with what was available in Drupal 6. The management of the entities became easier, the configuration of OSF networks became a breeze. A revisioning system has been added, the user interface is more intuitive, etc. There is no comparison possible. However, portal users#8217; won#8217;t notice any of this, since these are all site administrator functions./p pThe first thing that users will notice is the completely new full-text search engine. The underlying search engine is almost the same, but the presentation is far better. All entity types have gotten their own special template, which are displayed in a special way in the search results. Most of the time results should be much more relevant, filtering is easier and cleaner. The search experience is much better in my view./p pThe overall site performance is much better since different caching strategies have been put in place in OSF 3.x and OSF for Drupal. This means that most of the features of the portal should react more swiftly./p pNow every type of entity managed by the portal is templated: their webpage is templated in specific ways to optimize the information they want to convey to users along with their search result #8220;mini page#8221; when they get returned as the result of a search query./p pMulti-linguality is now fully supported by the portal, however not everything is currently templated. However expect a fully translated NOW portal in French in the future./p /div /div div id=outline-container-orgheadline11 class=outline-2 h3 id=orgheadline11Creating a Network of Portals/h3 div id=text-orgheadline11 class=outline-text-2 pOne of the most interesting features that goes with this upgrade is that the NOW portal is now in a position to participate into a network of OSF instances. What does that mean? Well, it means that the NOW portal could create partnerships with other local (regional, national or international) organizations to share datasets (and their maintenance costs)./p pAre there other organizations that uses this kind of system? Well, there is at least another one right in Winnipeg City: a href=http://mypeg.ca/MyPeg.ca/a, also developed by Structured Dynamics. MyPeg uses a href=https://en.wikipedia.org/wiki/Resource_Description_FrameworkRDF/a to model its information and uses OSF to manage its information. MyPeg is a non-profit organization that uses census (and other indicator) data to do studies on the well being of Winnipegers. The team behind MyPeg.ca are research experts in indicator data. Their indicator datasets (which includes census data) is top notch./p pLet#8217;s hypothetize that there would be interest between the two groups to start collaborating. Let#8217;s say that the NOW portal would like to use MyPeg#8217;s census datasets instead of its own since they are more complete, accurate and include a larger number of important indicators. What they basically want is to outsource the creation and maintenance of the census/indicators data to a local, dedicated and highly professional organization. The only things they would need to do is to:/p ol class=org-ol liFormalize their relationship by signing a usage agreement/li liThe NOW portal would need to configure the MyPeg.ca OSF network into their OSF for Drupal instance/li liThe NOW portal would need to register the datasets it want to use from MyPeg.ca./li /ol pOnce these 3 steps are done, taking no more than a couple of minutes, then the system administrators of the NOW portal could start using the MyPeg.ca indicator datasets like they were existing on their own network. (The reverse could also be true for MyPeg.) Everything would be transparent to them. From then on, all the fixes and updates performed by MyPeg.ca to their indicator datasets would immediately appear on the NOW portal and accessible to its users./p pThis is one possibility to collaborate. Another possibility would be to simply on a routine basis (every month, every 6 months, every year) share the serialized datasets such that the NOW portal re-import the dataset from the files shared by MyPeg.ca. This is also possible since both organizations use the same a href=https://en.wikipedia.org/wiki/Ontology_(information_science)Ontology/a to describe the indicator data. This means that no modification is required by the City to take that new information into account, they only have to import and update their local datasets. This is the beauty of ontologies./p /div /div div id=outline-container-orgheadline12 class=outline-2 h3 id=orgheadline12Conclusion/h3 div id=text-orgheadline12 class=outline-text-2 pThe new NOW portal is a great service for citizens of Winnipeg City. It is also a really good example of a web portal that leverages fully structured, integrated and linked data. To me, the NOW portal is a really good example of the features that should go along with a municipal data portal./p /div /div

Mediacurrent: quot;Shropquot; Talk at Drupal Camp Asheville 2016

Wed, 08/24/2016 - 15:55
img typeof=foaf:Image src=http://www.mediacurrent.com/sites/default/files/styles/thumb_blog_spotlight/public/drupalcampasheville.png?itok=gnj_3Pq5 width=200 height=152 alt=Drupalcamp Asheville title=Drupalcamp Asheville / pOn August 13th, I had the pleasure of enjoying another a href=https://www.drupalasheville.comDrupal Camp Asheville/a. This has become one of my favorite Drupal camps because of the a href=https://www.exploreasheville.comlocation/a and quality of camp organization. It has the right balance of structure, while maintaining a grassroots feel that encourages open discussion and sharing./p

Drupal Bits at Web-Dev: Hook Update Deploy Tools: Node import FAQs

Wed, 08/24/2016 - 15:12
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpUsing the Drupal modulenbsp;a href=https://www.drupal.org/project/hook_update_deploy_tools target=_blankHook Update Deploy Tools/a to move node content nbsp;can be an important part to a deployment strategy.nbsp;/p ul liHow do I export and import nodes using Hook Update Deploy Tools? gt;gt; a href=https://www.drupal.org/project/hook_update_deploy_tools#export-node target=_blankRead the project page/anbsp;or a a href=http://web-dev.wirt.us/info/drupal-7/import-nodes-part-deployment-using-hook-update-deploy-toolsquick how-to/a./li lia href=#unique-idWhat is the unique ID that connects an export to an import?/a/li lia href=#import-risksWhat are the risks of this import export model?/a/li lia href=#entity-taxonomy-refWhat if I am using an entity reference or a taxonomy that does not exist on production?/a/li lia href=#revisionDoes the import show up as a revision?/a/li lia href=#validationWhat happens if the import does not validate?/a/li lia href=#alias-in-useWhat if the alias or path is already in use by another node?/a/li lia href=#alias-used-non-nodeWhat if the alias or path is already in use by a View or used by a menu router?/a/li lia href=#limit-sizeIs there a limit to the number of nodes that can be imported this way?/a/li /ul h2a id=unique-id name=unique-id/aWhat is the unique ID that connects an export to an import?/h2 pTo create the export file, the node id is used to create the file. nbsp;After that, the filename and 'unique id' references the alias of that node. nbsp;So when you import the node, the node id on the production site will be determined by looking up the alias of the node. nbsp;If a matching alias is found, that is the node that gets updated. nbsp;If no matching alias is found, a new node gets created. nbsp;The alias becomes the unique id./p h2a id=import-risks name=import-risks/aWhat are the risks of this import export model?/h2 pAt present thenbsp;known risks are:/p ol liIf the exported node uses entity references that do not exist on prod, the entity reference will either not be made, or reference an entity that is using that entity id on prod. nbsp;This can be mitigated by exporting your source node while using a recent copy of the production DB./li liIf the exported node uses taxonomy terms that do not exist on prod, the tag may import incorrectly.nbsp;This can be mitigated by exporting your source node while using a recent copy of the production DB./li liif you are using pathato and the existing pattern on the production site is different than the pattern on your sandbox. nbsp;The imported node will end up with a different alias, resulting in an invalid import. nbsp;The imported node will be deleted since it failed validation and the hook_update_N will fail.nbsp;This can be mitigated by exporting your source node while using a recent copy of the production DB./li liFile attachments. nbsp;There is currently not a way to bring attached files along with them unless the files already exist with a matching fid on production./li /ol h2a id=entity-taxonomy-ref name=entity-taxonomy-ref/aWhat if I am using an entity reference or a taxonomy that does not exist on production?/h2 pSee answers 1 and 2 in a href=#import-risksWhat are the risks of this import export model?/a/p h2a id=revision name=revision/aDoes the import show up as a revision?/h2 pYes it does, and the revison note contains the imported note, but also indicates it was imported with Hook Update Deploy Tools. nbsp;The revision will take on the status of the exported node. nbsp;If the exported node was unpublished, the impoirted revision will be unpublished./p h2a id=validation name=validation/aWhat happens if the import does not validate?/h2 pIf the import was to an existing node, the update revision wil be deleted and return the node to its last published revision. nbsp;If the import was for a node that did not exist on the site, the node and its first revision will be deleted. nbsp;In either case, if the import was run through a hook_update_N, that update will fail and allow it to be re-run once the issue is resolved./p h2a id=alias-in-use name=alias-in-use/aWhat if the alias or path is already in use by another node?/h2 pIf the alias is in use by a node, that node will be updated by the import. nbsp;The alias is the unique id that links them not the nid./p h2a id=alias-used-non-node name=alias-used-non-node/aWhat if the alias or path is already in use by a View or used by a menu router?/h2 pIf the alias is in use on the site by something other than a node, the import will be prevented. nbsp;If the import is being run by a hook_update_N() then the update will fail and can be run when the issue is resolved./p h2a id=limit-size name=limit-size/aIs there a limit to the number of nodes that can be imported this way?/h2 pTechnically, there is no real limit. nbsp;Realistically, it is not a great workflow to move all of your content this way. nbsp;It is not a good workflow. nbsp;This export import method is best reserved for mission critical pages like forms or thankyou pages that go along with a Feature deployment. nbsp;It is also good for pages that often get destroyed during early site development like style guides and example pages./p /div/div/div

WDTutorials.com: Drupal 8 Tutorial #43 : Twig Tweak Module (Article + Video)

Wed, 08/24/2016 - 15:00
!-- google_ad_section_start --div class=field field-name-field-tutorial-description field-type-text-long field-label-hiddendiv class=field-itemsdiv class=field-item even property=schema:descriptionpTwig Tweak module adds some stronguseful functions and filters/strong to use in templates./p /div/div/divdiv class=field field-name-field-tutorial-youtube field-type-youtube field-label-hiddendiv class=field-itemsdiv class=field-item even property=schema:videoa href=/drupal/theming/drupal-8-tutorial-43-twig-tweak-module-article-videoimg class=img-responsive typeof=foaf:Image src=http://www.wdtutorials.com/sites/default/files/styles/large/public/youtube/7UlGAeKYoa8.png?itok=iG2Ew1nw alt=Embedded thumbnail for Drupal 8 Tutorial #43 : Twig Tweak Module (Article + Video) //a/div/div/div!-- google_ad_section_end --span property=schema:name content=Drupal 8 Tutorial #43 : Twig Tweak Module (Article + Video) class=rdf-meta element-hidden/spanspan rel=schema:url resource=/drupal/theming/drupal-8-tutorial-43-twig-tweak-module-article-video class=rdf-meta element-hidden/span

DrupalEasy: DrupalEasy Podcast 184 - PMA (Marc Drummond - Next Steps in Drupal Theming)

Wed, 08/24/2016 - 14:54
pa href=https://drupaleasy.podbean.com/mf/play/h2bhcb/DrupalEasy_ep184_20160824.mp3Direct .mp3 file download./a/p pMarc Drummond (a href=https://www.drupal.org/u/mdrummondmdrummond/a), a href=https://www.lullabot.com/who-we-are/marc-drummondFront-end developer at Lullabot/a, Drupal core contributor, and self-processed Star Wars expert joins Kelley and Mike to discuss all the things the Drupal front-end community has been talking about lately. We also discuss the next major version of Drupal, whether or not a major Drupal contrib module will be deprecated, as well as our picks of the week./p h2Interview/h2 ullia href=https://www.marcdrummond.comhttps://www.marcdrummond.com/a /li lia href=https://www.drupal.org/node/2702061Component-based rendering/a /li liHow would we implement this in Drupal? (contrib: Zen + a href=https://www.drupal.org/project/componentsComponents/a?) /li lia href=https://www.drupal.org/node/2759849Create a new user-facing core theme/a /li liHow can people get involved in components and/or the new theme? a href=http://drupaltwig-slack.herokuapp.comDrupaltwig on Slack/a /li lia href=https://twitter.com/MarcDrummond/status/764363801567322112Is Composer too hard?/a, a href=https://www.marcdrummond.com/posts/2016/08/18/composer-drupal-8Will Composer be a barrier for sitebuilders?/a /li lia href=https://github.com/mdrummond/Writing-Tests-for-DrupalWriting tests for Drupal/a /li lia href=https://events.drupal.org/neworleans2016/sessions/sizing-responsive-images-make-plan-you-drupalResponsive images/a /li lia href=https://www.drupal.org/project/libertyLiberty theme/a /li lia href=https://www.drupal.org/project/windupWindup theme/a /li /ulh2DrupalEasy News/h2 ulliThe Fall, 2016 session of Drupal Career Online begins September 26; a href=https://www.drupaleasy.com/academy/dco/course-informationapplications are now open/a. /li lia href=https://events.drupal.org/dublin2016/training/d8-module-developmentIntroduction to Drupal 8 Module Development at DrupalCon Dublin/a. /li /ulh2Three Stories/h2 ollia href=https://www.drupal.org/node/2784931Proposal: Deprecate Field Collections for Drupal 8, focus on Entity Reference Revisions amp; Paragraphs/a. /li lia href=https://css-tricks.com/average-web-page-data-analyzing-8-million-websites/The Average Web Page (Data from Analyzing 8 Million Websites)/a. /li lia href=https://www.ostraining.com/blog/drupal/drupal-9/There will never be a Drupal 9/a vs. a href=http://hojtsy.hu/blog/2016-aug-09/there-will-be-drupal-9-and-here-whyThere will be a Drupal 9, and here is why/a. /li /olh2Sponsors/h2 ullia href=http://www.mydropwizard.com/drupal-6-ltsMyDropWizard.com/a - Long-term-support services for Drupal 6, 7, and 8 sites. /li lia href=http://webenabled.comWebEnabled.com/a - a href=https://devpanel.comdevPanel/a. /li /ulh2Picks of the Week/h2 ulliMike - a href=https://www.drupal.org/project/smart_trimSmart Trim module/a. /li liKelley - a href=https://www.drupal.org/node/786702Drupal Security Team shield on Drupal.org project pages/a. I’m looking at you, a href=https://www.drupal.org/project/typogrifyTypogrify/a and a href=https://www.drupal.org/project/admin_menuAdministration Menu/a! /li liMarc - a href=https://www.lullabot.com/articles/auditing-presidential-websites-for-accessibilityMaking web accessibility great again: Auditing the US Presidential Candidates Websites for Accessibility/a, and a href=https://pantheon.io/docs/pantheon-yml/#nested-docrootnested doc root on Pantheon/a. /li /ulh2Upcoming Events/h2 ullia href=https://groups.drupal.org/node/511415Midwest Drupal Summit/a - August 19-21, 2016. /li lia href=https://events.drupal.org/dublin2016DrupalCon Dublin/a - September 26-30, 2016. /li lia href=https://nedcamp.orgNEDCamp/a September 30 - October 1, 2016. /li /ulh2Follow us on Twitter/h2 ullia href=http://twitter.com/drupaleasy@drupaleasy/a /li lia href=http://twitter.com/andrewmriley@andrewmriley/a /li lia href=http://twitter.com/liberatr@liberatr/a /li lia href=http://twitter.com/ultimike@ultimike/a /li lia href=http://twitter.com/tedbow@tedbow/a /li lia href=http://twitter.com/sixmiletech@sixmiletech/a /li lia href=http://twitter.com/akalata@akalata/a /li lia href=http://twitter.com/marcdrummond@marcdrummond/a /li /ulh2Five Questions (answers only)/h2 olliDisney /li liDocker for Mac /li liWriting a fantasy novel /li liLlama /li liDrupalCamp Twin Cities /li /olh2Intro Music/h2 ullia href=http://2016.tcdrupal.org/session/wont-you-take-me-chunk-y-town-component-based-theming-and-future-drupal-front-endChunk-y Town/a - performed by Marc Drummond at Twin Cities DrupalCamp 2016. /li /ulh2Subscribe/h2 pa href=https://itunes.apple.com/us/podcast/drupaleasy-podcast/id305745575Subscribe to our podcast on iTunes/a, a href=https://play.google.com/music/listen?u=0#/ps/I563aaw7k5rdnq4ofqlzlchiv5iGoogle Play/a or a href=http://www.getmiro.com/Miro/a. Listen to our podcast on a href=http://stitcher.com/s?fid=28701amp;refid=stprStitcher/a./p pIf you'd like to leave us a voicemail, call 321-396-2340. Please keep in mind that we might play your voicemail during one of our future podcasts. Feel free to call in with suggestions, rants, questions, or corrections. If you'd rather just send us an email, please use our a href=http://DrupalEasy.com/contactcontact page/a./pdiv class=feedflare a href=http://feeds.feedburner.com/~ff/DrupalEasy?a=OXPon65N0oo:oPFdsLIrv48:yIl2AUoC8zAimg src=http://feeds.feedburner.com/~ff/DrupalEasy?d=yIl2AUoC8zA border=0/img/a a href=http://feeds.feedburner.com/~ff/DrupalEasy?a=OXPon65N0oo:oPFdsLIrv48:qj6IDK7rITsimg src=http://feeds.feedburner.com/~ff/DrupalEasy?d=qj6IDK7rITs border=0/img/a /divimg src=http://feeds.feedburner.com/~r/DrupalEasy/~4/OXPon65N0oo height=1 width=1 alt=/

Gábor Hojtsy: Want to get issues resolved in Drupal core? Find community with an initiative!

Wed, 08/24/2016 - 14:36
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item evenpIn my previous post I explained a href=http://hojtsy.hu/blog/2016-aug-09/there-will-be-drupal-9-and-here-whywhy there will be a Drupal 9 even though we have previously unseen possibilities to add new things within Drupal 8.x.y/a. Now I'd like to dispel another myth, that initiatives are only there to add those new things./p pDrupal 8 introduced initiatives to the core development process with the intention that even core development became too big to follow, understand or really get involved with in general. However because there are key areas that people want to work in, it makes sense to set up focused groups to organize work in those areas and support each other in those smaller groups. So initiatives like Configuration Management, Views in Core, Web Services, Multilingual, etc. were set up and mostly worked well, not in small part because it is easier to devote yourself to improving web services capabilities or multilingual support as opposed to make Drupal better. Too abstract goals are harder to sign up for, a team with a thousand people is harder to feel a member of./p pGiven the success of this approach, even after the release of Drupal 8.0.0, we continued using this model and a href=https://www.drupal.org/core/roadmapthere are now several groups of people working on making things happen in Drupal 8.x/a. Ongoing initiatives include API-first, Media, Migrate, Content Workflows and so on. Several of these are primarily working on fixing bugs and plugging holes. A significant part of Migrate and API-first work to date was about fixing bugs and implementing originally intended functionality for example. /p pThe wonder of these initiatives is they are all groups of dedicated people who are really passionate about that topic. They not only have a href=https://www.drupal.org/core/roadmapplan or meta issues linked in the roadmap/a but also have issue tags and have regular meeting times. The a href=https://calendar.google.com/calendar/embed?src=happypunch.com_eq0e09s0kvcs7v5scdi8f8cm70%40group.calendar.google.comDrupal 8 core calendar is full of meetings happening almost every single workday/a (that said, somehow people prefer Wednesdays and avoid Fridays)./p pIf you have an issue involving usability, a bug with a Drupal web service API, a missing migration feature and so on, your best choice is to bring it to the teams already focused on the topics. The number and diverse areas of teams already in place gives you a very good chance that whatever you are intending to work on is somehow related to one or more of them. And since no issue will get done by one person (you need a reviewer and a committer at minimum), your only way to get something resolved is to seek interested parties as soon as possible. Does it sound like you are demanding time from these folks unfairly? I don't think so. As long as you are genuinely interested to solve the problem at hand, you are in fact contributing to the team which is for the benefit of everyone. And who knows, maybe you quickly become an integral team member as well./p pThanks for contributing and happy team-match finding! /p pPs. If your issue is no match for an existing team, the friendly folks a href=https://www.drupal.org/ircat #drupal-contribute in IRC/a are also there to help./p /div/div/div

Zyxware Technologies: [Drupal-8] How to send a mail programmatically in Drupal-8

Wed, 08/24/2016 - 14:33
div class=field field-name-field-tweetbutton field-type-tweetbutton field-label-hiddendiv class=field-itemsdiv class=field-item evendiv class=tweetbutton-tweet tweetbuttona href=http://twitter.com/share data-size=medium data-count=horizontal data-via= data-related=: data-text=[Drupal-8] How to send a mail programmatically in Drupal-8 data-counturl=http://www.zyxware.com/articles/5504/drupal-8-how-to-send-a-mail-programmatically-in-drupal-8 data-url=http://www.zyxware.com/articles/5504/drupal-8-how-to-send-a-mail-programmatically-in-drupal-8 data-lang=en class=twitter-share-buttonTweet/a/div/div/div/divdiv class=field field-name-field-hero-image field-type-image field-label-hiddendiv class=field-itemsdiv class=field-item evenimg typeof=foaf:Image src=http://cdn2.zyxware.com/files/styles/article/public/drupal_planet.jpg?itok=OsvYktKa width=336 height=280 alt= //div/div/divdiv class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpThis article covers, how to send email programmatically in your Drupal 8 site. There are two main steps to send an email using Drupal 8. First we need to implement codehook_mail()/code to define email templates and the second step is to use the mail manager to send emails using these templates. Let's see an example for sending an email from the custom module, also the following name spaces./p /div/div/divdiv class=field field-name-taxonomy-vocabulary-2 field-type-taxonomy-term-reference field-label-hiddendiv class=field-itemsdiv class=field-item evena href=/categories/drupal typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal/a/divdiv class=field-item odda href=/categories/drupal-8 typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal 8/a/divdiv class=field-item evena href=/categories/drupal-planet typeof=skos:Concept property=rdfs:label skos:prefLabel datatype=Drupal Planet/a/div/div/divspan property=dc:title content=[Drupal-8] How to send a mail programmatically in Drupal-8 class=rdf-meta element-hidden/span

Unimity Solutions Drupal Blog: Identification of an Open Source Video Annotations Tool for NVLI

Wed, 08/24/2016 - 14:00
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpAs mentioned in our earlier blog on a href=http://www.unimitysolutions.com/blog/video-annotations-powerful-and-innovative-tool-educationVideo Annotations: A powerful and innovative tool for education/a, the most intriguing feature of the pilot version of NVLI is Video Annotation. UniMity Solutions assisted in building Annotation feature for Audio and Video assets. This involved identifying and integrating an open plugin that supported video and audio annotations and a generic annotation store module that was plugin agnostic./p /div/div/div

Drupal Bits at Web-Dev: Import nodes as as part of deployment using Hook Update Deploy Tools

Wed, 08/24/2016 - 05:52
div class=field field-name-body field-type-text-with-summary field-label-hiddendiv class=field-itemsdiv class=field-item even property=content:encodedpWith the 7.x-1.18 release of a href=https://www.drupal.org/project/hook_update_deploy_tools target=_blankHook Update Deploy Tools/a for Drupal 7 it is now possible to export a node on a development sandbox, commit the export file to the repository, then import it using either a a href=https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_update_N/7.xhook_update_N()/a or using strongdrush site-deploy-import node/strong/p pstrongPros:/strong/p ul liNo need to re-create a node on prod after a client approves it./li liEarly contentnbsp;that keeps getting wiped out by database snapshotsnbsp;(think style guides) can get re-created instantly with a single drush command./li liContent importednbsp;into an existing node shows up as a revision./li liAtomated deployment is testable and repeatable on all dev environments./li liNo uuid required./li /ul h2Workflow Example:/h2 pYou have a styleguide you created on your sandbox and want to deploy it to the production site./p ol linbsp;Create the node on your sandbox (node id = 1234)./li liExport the node to an export file.br / div class=codeblockcodedrush site-deploy-export 1234/code/div /li liThe command created an export file namednbsp;nbsp;for the alias of the node being exportedbr / ex: site-deploy/node_source/helpzZzstyle-guide.txt nbsp;('zZz' represents '/')/li liCreate a hook_update_N() to import the file on deploymentbr / nbsp;/p div class=codeblockcodespan style=color: #000000span style=color: #0000BBlt;?phpbr //spanspan style=color: #FF8000/** br /nbsp;* Import a the style guidebr /nbsp;*/br //spanspan style=color: #007700function /spanspan style=color: #0000BBsite_deploy_update_7129/spanspan style=color: #007700() {br /nbsp; /spanspan style=color: #0000BB$nodes /spanspan style=color: #007700= array(/spanspan style=color: #DD0000'help/style-guide'/spanspan style=color: #007700);br /nbsp; /spanspan style=color: #0000BB$message /spanspan style=color: #007700= /spanspan style=color: #0000BBHookUpdateDeployTools/spanspan style=color: #007700\/spanspan style=color: #0000BBNodes/spanspan style=color: #007700::/spanspan style=color: #0000BBimport/spanspan style=color: #007700(/spanspan style=color: #0000BB$nodes/spanspan style=color: #007700);br /nbsp; return /spanspan style=color: #0000BB$message/spanspan style=color: #007700;br /}br //spanspan style=color: #0000BB?gt;/span/span/code/div /li liCommit the file and update hook to your repo./li liPush the code, runnbsp;'drush updb'/li /ol div class=codeblockcodedrush updb -ybr /Site_deploynbsp; 7129nbsp; Import a the style guide/p p Site_deploy: Updated: node/1234: help/style-guide - successful.br /Summary: Imported Nodes 1/1.nbsp; Completed the following:br /nbsp;nbsp; [help/style-guide] =gt; Updated: node/1234br /nbsp;nbsp; br /Performed update: site_deploy_update_7129/code/div por the import can be performed by/p div class=codeblockcodedrush site-deploy-importnbsp; help/style-guide/code/div /div/div/div

Drupal @ Penn State: Drupal 8 Theme Generation and Development Intro Using the Drupal Console

Wed, 08/24/2016 - 01:56
pHere is a screen cast of how to get started with Drupal 8 theme development./p pIn the video I cover:/p ul liusing the drupal console to generate a theme from a base theme/li licreating a libraries yml file/li liadding global css to your theme/li liUsing Kint with the devel module/li lidebugging twig/li liadding your own twig file to your theme/li /ul

Drupal @ Penn State: Lower the Drupal 8 development barrier to entry by using the Drupal Console to generate boiler plate code.

Wed, 08/24/2016 - 01:56
pI admit that I haven't really looked at Drupal 8 too much yet. There is a variety of reasons why I haven't and I surely don't want this to turn into a forum listing the pros and cons of D8. We can leave that for another post. /p p/p

Drupal @ Penn State: The Care and Feeding of Your Website

Wed, 08/24/2016 - 01:56
pA question on the PSU DUG Slack channel got me thinking. How is it that websites are still being constructed at Penn State without any thought being put in as to how its is going to be maintained? Or by whom?  /p pTo be clear, I am not talking about content creation or maintenance, but maintaining the code/server/DB/etc. that supports or runs the site? Or to develop new features and functionality, going beyond just updating code or applying security patches. Of course, this is not restricted to Drupal development - there are many other examples./p

PreviousNext: Introducing Drush CMI tools

Wed, 08/24/2016 - 01:46
pNow we've got the experience of a number of production D8 sites under our belt we took the time to consolidate our CMI workflow into some useful drush commands./p pAnd naturally we've open sourced them./p pRead on to find out more about our drush CMI tools./p span property=dc:title content=Introducing Drush CMI tools class=rdf-meta element-hidden/span