How to reduce AI token usage by using thread resets, summaries, and handoffs.

· konordo

AI coding assistants such as ChatGPT, Claude, Gemini, and other agent-based systems are becoming essential tools for developers. However, one of the biggest challenges when working with AI systems is the token context limit. Long conversations accumulate large amounts of context, which increases costs, slows down responses, and can reduce reliability.

How to document an agents.md file to reduce AI token usage in coding agents.

· konordo

AI coding agents such as Claude, Codex, Gemini, and other autonomous developer tools are becoming a central part of modern software development workflows. However, one of the biggest limitations when using AI agents is the token context window. Every prompt, file, and instruction consumes tokens, which directly affects cost, performance, and reliability.

How to See Traffic from AI Tools in Google Search Analytics

· konordo

AI tools such as ChatGPT, Perplexity, Claude, Gemini, and Bing Copilot are beginning to send measurable traffic to websites. However, many site owners still do not know how to identify this traffic correctly in their analytics. If you want to understand whether AI platforms are helping users discover your content, you need to know where to look and how to interpret the data.

Why Drupal Commerce?

· konordo

Drupal Commerce is a collection of modules that lets you expand into the world of selling online. It uses the strength of other modules such as Views and Rules, and it provides a flexible framework which can be used to build complicated business solutions.

Drupal Commerce provides a truly flexible, solid foundation for building even very complex business applications. Some of the reasons it stands out as an excellent and secure solution are the following:

Shopify social media code snippet

· konordo
      {%- assign social_accounts = 'facebook, twitter, pinterest, instagram, snapchat, tumblr, youtube, vimeo, linkedin,' | split: ', ' -%}
      <div class="social-sharing d-flex align-items-center">
            {% include 'social-links' %}
           &nbs

Example of using this with a date field from a node in order to get it to format the date in the correct timezone

· konordo
use Drupal\Core\Datetime\DrupalDateTime;

$date = new DrupalDateTime($mynode->field_my_date_field->value, 'UTC');
$formatted_date = \Drupal::service('date.formatter')->format($date->getTimestamp(), 'custom', 'F j, Y h:ia');

Drupal Commerce

· konordo

Drupal Commerce provides a truly flexible, solid foundation for building even very complex business applications. Some of the reasons it stands out as an excellent and secure solution are the following:

Create a new administrator account in drupal with drush

· konordo

In otder to create a new user in your website using drush, you'll need to run the following commands:

$ drush user-create YourUsername --mail="your@mail.com" --password="YourPassword"

This will create a new user in the website.

In order to assign the role administrator to the user run:

$ drush user-add-role "administrator" YourUsername

Who uses Drupal?

· konordo

Why Drupal?

Drupal is the leading open source content management system for developing sophisticated, flexible and robust websites, social media networks and applications.

Drupal 8: How to include the node id and a class in body based on the , depending on the current path

· konordo
While working on a custom bootstrap subtheme in Drupal, I needed to include specific classes in the body tag. There are two different cases that I needed to take into consideration, one for nodes and one for custom paths generated by e.g. from Views or Taxonomy. In the first case, I needed the node id to be included as a class, and on the second I needed a class name that was based on the path. To achieve this, I needed to edit two different files under my subtheme category. You will need to replace themename with the actual name of your theme.