Skip to main content

Blog

See Permissions' Machine Names (and much more) with Xray Module for Drupal 7

With Drupal 7's third and final release candidate unleashed on us all this morning, it is long past time to help the #D7CX movement with a seasonal offering of our own.

+1 to Ending comment-to-subscribe on Drupal.org

As starving authors we at Agaric don't have a lot of cash to burn right now, but we've thrown $25 in the project to make it possible to subscribe to drupal.org issues without commenting. (On top of whatever we donated when this request for funding went out a year and a half ago).

Drupal Work Collectives

Agaric proposes the creation of a new kind of workplace, essentially a Drupal commune, but really more like an open source free software idea & brainstorming commune, kind of along the same lines as an artist's or writer's colony.

We're Writing a Book!

Yes it's true, for the past few months we've been hard at work with a lot of other co-authors on The Definitive Guide to Drupal 7.

Agaric Backs Community Coworking Center in NYC

Thinking it would be a great place to work a day or two while in New York City for clients or DrupalCamps, Agaric dropped a few dollars in the Kickstarter fund for New Work City: Community Coworking Center for Independents in NY.

Agaric Sponsors Modulecraft for the Building of Drupal Shared business, Development, and Training Tools

For community shared business, development, and training tools, Agaric throws a little sponsorship at modulecraft.

Agaric Provides Very Minor Assist in Readying Insert Module for Drupal 7

Benjamin Melançon of Agaric helped with a patch for the Drupal 7 version of Insert module.

A round red capped mushroom with white spots.

Agaric?

What the word agaric means and why Agaric took it for our cooperative's name.

Designed to Life

Functionality designed to your life is the Agaric Design signature. Utilizing open source, free software from around the world, Agaric Design websites are impeccably crafted with a modern, sophisticated and understated spirit.

The Story on Agaric

I've always had a passion for good design and healthy coding, even back in the days of owning a web site cart in downtown Natick. Back then, my business partner and I made all natural HTML roll-up web sites and, as an incentive for customers to wait in line, we baked Drupal into different flavored designs.

Since 1997 MIT's Cultura has brought students from two different parts of the world together in a series of online exchanges which help each group understand the other's culture. Students respond anonymously to thought-provoking prompts in their own languages and then discuss their classes' pair of responses bilingually.

Created by a French language class at MIT as an exchange between American students and French students, the project grew to include more than 30 schools and eight languages. A pioneer in international collaborative learning, Cultura also pioneered sharing the learning online.

Unfortunately, by 2014, most of Cultura's 18 years worth of archives were no longer online. To get them back on the web, Agaric used the Migrate module to bring their collection of HTML files into Drupal. A common approach for migrating from a list of files, each file representing what will become a node in Drupal, is to use MigrateSourceList as a source. It needs an instance of MigrateList and an instance of MigrateItem representing the collection and the individual entity.

The Migrate module provides the class MigrateItemXml for importing content from XML files, but our input happens to be HTML from the late 1990s and early 2000s. Luckily libxml which powers PHP XML support can also deal with HTML. Hence it does not require a lot of work to create a subclass of MigrateItemXml that can work with HTML files. The only method we needed to override is MigrateItemXml::loadXmlUrl which is expected to return an instance of SimpleXMLElement.

class MigrateItemHTML extends MigrateItemXML {
  protected function loadXmlUrl($item_url) {
    $dom = new DOMDocument();
    $dom->loadHTMLFile($item_url);
    return simplexml_import_dom($dom);
  }
}

This class can now be used to set up the source of a migration:

abstract class CulturaMigration extends XMLMigration {
  public function __construct($arguments) {
    // ...
    $base_dir = DRUPAL_ROOT . '/../archives';
    $directories = array(
      "$base_dir/{$arguments['directory']}",
    );
    $file_mask = '/(.*\.htm$|.*\.html$)/i';
    $list = new MigrateListFiles($directories, $base_dir, $file_mask);
    $item = new MigrateItemHtml($base_dir . ':id');
    $this->source = new MigrateSourceList($list, $item);
    // ...
  }
  // ...
}

Through the archives we can learn many interesting things, such as that some students at MIT literally don't know the meaning of solidarity.

Ayudamos a las organizaciones a cumplir sus objetivos y fortalecer el movimiento de software libre al proporcionar consultoría en estrategia de tecnología en línea, al crear y personalizar software de alta calidad, capacitar a personas y hablar en eventos.

Pregunte a un Agárico

Estrategía

People assembling web components on a giant phone.

Utilizamos los principios de justicia de diseño para ayudar a que su presencia en línea alcance sus objetivos y tenga un impacto en el mundo real.
 

  • Formación analítica
  • Gobernanza del contenido
  • Estrategia de contenido
  • Operaciones de contenido
  • Estrategia de redes sociales

Desarrollo

Developer working at a laptop.

Construimos con un software probado que le da poder y control sobre su sitio web y presencia en línea.
 

  • Desarrollo de la gestión de relaciones constituyentes (CRM)
  • Migración de contenido
  • Desarrollo drupal
  • Desarrollo de Django
  • Optimización de la donación
  • Posicionamiento en buscadores (SEO orgánico)
  • Integración de redes sociales
  • Seguridad del sitio web y CRM
  • Mantenimiento del sitio web
  • Afinación del rendimiento del sitio web
  • Actualización del sitio web

Usamos y contribuimos con el software libre siempre que sea posible, Creative Commons licencia nuestra documentación y trabajamos bajo un modelo de organización abierta.

Capacitación

A teacher standing in front of a blackboard.

Asesoramos y enseñamos, aprovechando su experiencia actual.
 

  • Asesoramiento personalizado uno a uno
  • Introducción a Drupal
  • Desarrollo del módulo drupal.
  • Migración drupal
  • Seguridad en linea

Obtenga más información sobre las oportunidades para recibir capacitación de Agaric.

 

Speaking

Illustrated person speaking at a conference.

Compartimos nuestros conocimientos y promovemos el software libre hablando en eventos.

Los temas incluyen:

  • Cómo participar en el Común Digital
  • Financiamiento efectivo y gobernanza para el software libre
  • Ética en la tecnología
  • Software Libre = Sociedad Libre
  • Economía solidaria
  • Desarrollo cooperativo
  • Inteligencia Artificial y Vigilancia
  • Poder personal
  • Drupal - Comunitario y Técnico

Reserve con nosotros para un próximo evento.

 

Transformation Inside and Out: North American Social Solidarity Economy Forum Participants Gather in Detroit for Reflection and Revitalization

In Detroit, many once thriving neighborhoods lay in ruins. Most of the houses in many city blocks can be in a state of severe disrepair, including some that have been completely gutted or burned, with perhaps one or two inhabitable homes that appear to still have people living in them. It should also be noted that 62,000 homes in Detroit last year were foreclosed. It looked like a city after a war.

Where do you think the children play?

I went to Detroit to attend the Social Solidarity Economy Network Forum. Organized by the Intercontinental Network for the Promotion of Social Solidarity Economy, or RIPESS, the forum addressed several problems by raising awareness that this type of economic debauchery is contagious unless we as citizens deal with it where it lives and rout it out from the roots - which inevitably lie in system-wide corruption. The Social Solidarity Economy Network Forum took place in April, and it was the first project of this North American coalition.

RIPESS is based on human values, diversity, inclusiveness, creativity and justice, and works to connect democratic workplaces, cooperative and individuals with the same values in local, national, regional and global frameworks. This is a huge effort and will take time, but this year, RIPESS and other sponsors made the NASSE Forum possible. The overall unifying message and focus of the North American Solidarity Economy Network Forum was three-fold:

  1. self-care is a topic I heard a lot of people repeating as a number one issue to consider - no one can help a movement without taking care of themselves first - period.
  2. “De-Colonization” of the movement
  3. Strengthening our connections to each other and to our communities were the topics that most workshops took time to discuss, even if not on their agenda. Cooperative people came from around the globe to share experiences and lessons learned on our journey towards building a solidarity economy network.

Laura Flanders was host to the opening of the conference and William Copeland (East Michigan Environmental Action Council) welcomed everyone to the event. Emily Kawano (RIPESS and US Solidarity Economy Network) gave the opening plenary as an overview of the International Social Solidarity Economy movement and defined the role of NASSE.

The crowd of 400+ citizens of the planet convened in solidarity at The Samaritan Behavioral Center where people could gather in small workshops to discuss and find paths to eradicate racism, sexism, cultural blockades and to unite on some single purpose methods to change the world we live in. The conference was a success in that it brought a diverse group of people together to transform the Solidarity Economy movement together and move forward on the road to "ownership" of the tools and the means of production! Many people at the forum represented a worker-owned cooperative, and are members of the United States Federation of Worker Cooperatives (USFWC). This organization does a tremendous job of gathering resources and sponsoring events that raise awareness and bring worker solidarity to the forefront of the Solidarity Economy Movement.

The Samaritan Behavioral Center had a large auditorium for the plenaries, group activities and panels which spoke to the group as a whole. The workshops were held in smaller conference rooms where people could easily participate in the conversations and connect with people to exchange contact information. In the large gathering hall panels with guests from Mexico, Canada, Greece and other parts of the world discussed how solidarity has affected their communities and what measures are needed to be put in place for the future generations to maintain solidarity. A generous time was allotted for questions and answers, of which there were plenty. Two Questions that come to mind addressed human rights and acknowledging that access to the Internet is a human right, which I will detail later in this article.

Free software for the revolution! Yes, we all agreed that the foundation of any people's movement for freedom must be built on a solid platform of freedom, not the privately owned platform. This means that we must build the future using free software, and free hardware must be a component also. How will we do this on the ground?

There must be free workshops for people in their own towns to learn about the options for privacy and security along with protecting their liberty. This brings to the forefront the Free Software Foundation in Boston, MA. The foundation is at the epicenter of our future freedoms and has many volunteers that help to raise awareness and introduce free software to the world through the GNU project.

The GNU project is a collection of free software available for downloading. Their tireless efforts working with other organizations that protect our freedom, like the Electronic Frontier Foundation will make the world a better place for each individual citizen, and the collective population also.

What are the highlights from the North American Solidarity Economy Forum (NASSE) in Detroit on April 8th through the 10th? The conference was well organized with plenaries, panels and enough smaller break-out workshops that allowed maximum interaction between participants. Diversity was present in all ways imaginable with people from around the globe in attendance. I met people from Greece, Canada and Mexico that are all involved in similar efforts to raise the cooperative levels in their community.

People listening to a presenter at the North American Solidarity Economy Forum.
People from Detroit to Athens and all across the world came to discuss solidarity economics.

The program of inter-related workshop and panel topics addressed by this event showed that a great amount of thinking went into the details and to covering the most vital issues that can propel a movement forward. Three topics emerged as the focal points of NASSE, and they are conversations and actions based on de-colonization of the Solidarity Economy, inclusion and getting to know each other better and the use of free software for the platforms we build and share.

The workshops consisted of many different tracks such as “Intro to the Solidarity Economy”, facilitated by Julie Matthaei and Jessica Gordon Nembhard of SEN. This open discussion covered the definition of the movement. It is really important to have an introduction to the framework of the Solidarity Economy at all events, for people new to the movement. There was one titled “Occupy, Resist, Produce. A talk with workers of the occupied Vio.Me factory in Greece”. Workers from Vio.Me Factory in Salonica, Greece detailed how they occupied their workplace and resumed production, while waging a legal battle to stop the corporation from selling the land. An amazing group discussion ensued.

All of the workshops were inter-connected in general theme as they relate to a community. What is good for the community in the way of connecting people to support creativity, privacy, autonomy and wealth - specifically communal wealth, without which a community does not truly exist. Wealth has been defined by a financial measure and the worth of a person is measured according to their assets. The Solidarity Economy Movement shows us that belonging to a community that treats members well and operates on the 7 Cooperative Principles can be the future.

At the conference, I facilitated a workshop titled: "Internet as a Human Right: the Role of Cooperatives and the Solidarity Economy" hosted by Juan Gerardo Dominguez Carrasco, MayFirst People Link. We talked about the Internet as an educational tool and foundation of our emerging new connected society. The need for rapid communication of information is not just a desired element, it is a necessity for being a relevant contributing member of a community and a citizen of the world. Without the Internet a person is relegated to a level of ignorance that will limit them to being low wage earners and unskilled workers.

Old, abandoned building in Detroit

There were workshops on a financial track that presented strategies for communities to practice alternative banking methods such as time banking and group loans for local initiatives. Ed Whitfield and Marnie Thompson both of the Fund for Democratic Communities in Greensboro, N.C., led a powerful workshop and discussion based on a cooperative they are helping to develop The Renaissance Community Co-op (RCC) in Greensboro, North Carolina. Their efforts will provide healthy food and a positive workplace for locals. They shared the methods they have been using to build a business that sustains the community. Local to Detroit, the West Grand Boulevard Collaborative, started in October, 2004, by Mildred Hunt Robbins and Tommie E. Robbins, Jr. is currently making good progress in revitalizing the community they live in. Plans have been made to renovate a gutted high rise building. They formed a group to have an alliance with neighbors and to have a bigger voice when raising concerns with the city.

De-colonization of the Solidarity Economy Movement was front and center in almost every aspect of the event. We are defining what it means to grow up colonized into an Extractive Economy (one that does not re-invest in the communities where the workers live) and the pathways to exit that state of mind, old traditions and ideologies. Some workshops that included a discussion on de-colonization found that listening to people add their voice to the solutions was inspiring. Inspiration alone does not a movement make. More is needed to give people the strength and fortitude to carry the movement forward. Workshops on healing and healthful living are a large part of the solidarity economy as we begin to treat the sources of trauma instead of just the symptoms. Creative problem solving along with collaborative games and exercises promotes good relationships. Action is another part of the solution and together, in solidarity, we can define powerful ways to act. One of many great examples of 'action', is Cooperation Jackson in Mississippi. They are taking some positive direct actions to change laws and city ordinance by working with the mayor and town officials to make changes on specific issues that affect their community. By having open and inclusive discussions and presenting solutions to problems, cooperators have found that some of their local representatives have ears.

A great way to get involved is to ask questions of your local activists and see what initiatives are already in progress. Detroit is not unique and this type of devastation can happen anywhere if we are not vigilant and constantly remaining alert to changes in laws and ordinances where we live. When Government services are removed from a city, neglect and decay prevail. The civil servants of Detroit have been remiss in their duties by implementing pernicious policies that have destroyed the city and led to bankruptcy, as this case study shows. I would love to hear about the efforts in your area to prevent Detroit policies that led to this destruction of lives and homes from landing on your doorstep.

Originally published by Grassroots Economic Organizing.

If you are interested in a private training tailored to your needs, give us an idea of what you are looking for and we will follow up with you soon thereafter.

  1. We do recommend moving directly to Drupal 9 (which was released on June 3rd of 2020), however:

  2. Moving to Drupal 8 or to Drupal 9 is much the same. Drupal 8 starts what i call the "modern Drupal" era. Whereas for going from Drupal 5 to 6 or 6 to 7 or 7 to 8 broke backward compatibility and might as well be a full rebuild (so we would often recommend hopping a version, say, stay on Drupal 6 and wait for Drupal 8 to be ready) going from Drupal 8 to 9 is closer to going from Drupal 8.8 to 8.9— an in-place upgrade from 8.9 to 9.0. Going from 9 to 10 will work the same, and that's the plan and promise for Drupal 8 on out.

  3. All that said, if anything significant needs fixing on your current Drupal 7 site, or you are looking to make any improvements, you'll want to do that on Drupal 8+ or Drupal 8/9 as we phrased it back when Drupal 9 was still a pretty recent release, but now we can just say Drupal 9— or, as i call it to emphasize the decreased importance of major version numbers, modern Drupal.

Agaric is always happy to discuss more! Mostly what i'm saying here is the useful things to talk about are the specific goals for the sites—when you want to accomplish what—because the official support cycles are a distraction in the current context of Drupal. So make sure your current site is maintained, but take your time to get clear on your objectives, and contact Agaric or the Drupal professionals of your choice when you think it might make sense to upgrade your site into the era of modern Drupal.