Would you like to be notified for every new articles? Please click HERE to subscribe for newsletter.

Blog

Extracting Road Networks From OpenStreetMap

  • Posted on: 2 January 2018
  • By: admin

OpenStreetMap is a very good crowdsourcing map application. It has a cool feature which tag the road in the map by its type. That feature enable us to identify the type of road such as main road, pedestrian road, living street, etc. Besides that, we can also use that feature to extract only the road part from the map. This can be useful when we want to build a routing system which need the road part only.

Protecting IIS 6 Behind Nginx

  • Posted on: 4 November 2017
  • By: admin

In March 2017, a fatal security hole in IIS 6 was found. Based on the news from https://www.theregister.co.uk/2017/03/31/microsoft_wont_patch_server_2003/, Microsoft has officially announced that they won't patch the security hole and recommended us to upgrate to new Windows Server immediately which has the new IIS version. But the problem is, not all people can upgrade their machines in instance.

Modify Entity Reference Autocomplete Result In Drupal 8

  • Posted on: 2 July 2017
  • By: admin

In some cases we might need to modify the autocomplete result in Drupal 8. For example, when editing a node, in content authoring section, there is an autocomplete textfield for entering the author for the content. By default, all users will be available in the autocomplete list, but there might be a case when we need to exclude the blocked user from the list. Fortunately, we are able to do that by using one hook function called hook_query_alter.

Tags: 

Installing Salix Package In Slackware Using slapt-get

  • Posted on: 29 January 2017
  • By: admin

Salix is a Linux distribution derived from Slackware. In its official website, it is said that "...Salix is also fully backwards compatible with Slackware, so Slackware users can benefit from Salix repositories, which they can use as an "extra" quality source of software for their favorite distribution...". Because of that statement, I'm interested to install some Salix packages into my Slackware 14.1 64 bit system.

Add Link To Node In Simplenews Newsletter

  • Posted on: 12 December 2016
  • By: admin

When we want to add newsletter feature to our Drupal website, we might end up finding the simplenews module as the solution. But, there is one problem that so many people asked about in the internet. By default, simplenews will send the whole node content in the body of the newsletter e-mail, not the teaser. Ideally, the newsletter e-mail will contain the teaser or trimmed version of the full content with the link to read it online to our website.

Tags: 

Pages