Archive for the month of August 2009

Drupal: add revision data to node

Drupal

Drupal can display the author of a node and the time it was created. Sometimes, it is handy to be able to display the author and time stamp of the last change (for auditing purposes).

Here is how you can add a node template variable that shows precisely that:

Submitted: June 6, 2009 - 10:26 — jack
Revised: August 26, 2009 - 09:13 — jill

Customize Drupal's "recent posts" block?

Drupal

I ran into a problem when I wanted to reduce the number of posts in the default "recent posts" block. This block is created by the blog module and the number of 10 posts is, unfortunately, hard-coded. You could add your blog feed to the aggregator and using its block. You can then specify the number of posts in either the aggregator properties or in the block created by it.

That works for a single blog but for multiple blogs you would need multiple blocks and that's not what I wanted.

I saw a nice snippet on the Drupal site dealing with this.

Two Bosnian Serbs arrested for 1992 Koricanske Stijene massacre

Two Bosnian Serbs, who allegedly helped line 200 Muslims and Croats along the edge of a ravine near Koricanske Stijene in 1992 before shooting them, have been arrested.

Branko Topola was arrested in a police station in the northwestern Bosnian town of Prijedor, where he is a police officer.

Petar Civic was caught in the southwestern town of Gornje.

EULEX vehicles demolished

A group of ethnic Albanian youths opposing EULEX damaged 28 EULEX vehicles in a Pristina parking lot. Vehicles were overturned or had windows smashed. Police said 21 youths were arrested. The Kosovo government condemned the violence.

EULEX received files from UNMIK

EULEX said it received 200 files from UNMIK. The files involve war crimes, organized crime, terrorism and other cases involving serious crimes. EULEX prosecutors are reviewing them on a case by case basis to determine which are ready for court.

Karadzic does not regret his role

Radovan Karadzic, on trial in The Hague for war crimes, says he has a clear conscience and does not regret his role in the Bosnian war as president of the Bosnian Serbs. He said this in a written interview with Reuters.

Source: Reuters

Former Republic of Srpska soldiers convicted of war crimes

The Banja Luka District Court convicted Miladin Trivic, Slobodan Bajic and Sinisa Milojcic of war crimes. The latter is not in custody.

As former soldiers of the Republic of Srpska the three entered a home in Banja Luka in 1993 and physically abused and tortured the family inside.

Drupal: use user profile field in comment

Drupal

By default, anonymous users can enter their homepage field when commenting on a post so that their name links to it when viewing the comment. Registered users can't and their user name links by default to their user account info.

We can change this behavior by using Drupal's built-in profile module and tweaking the submitted info in your theme's template.

NATO SG softens KFOR withdrawal statement

NATO Secretary-General Anders Fogh Rasmussen said that the decision to withdraw KFOR would be conditionally based, only when the security situation in Kosovo would allow it. He said KFOR will continue to assist local authorities in developing the Kosovo Security Force and that NATO "will definitely not take decisions that have a negative impact on the security in Kosovo."

Council of Europe hindered in organ harvesting probe

The Council of Europe wanted to question an Albanian family regarding the Serbian accusation that organs were removed from kidnapped Serbs in 1999. The Katuci family refused to meet with the team and Albanian officials. Villagers from Rripe blocked the delegation in a two-hour standoff.

In 2004, UN investigators found some evidence but were refused to dig up graves in a nearby cemetery. The case was later dropped for a lack of evidence.

Source: Reuters

Pages