Latest posts

Browse topics

Adding CAPTCHA to Drupal 7 Webform

CAPTCHA is an essential tool for preventing spam and malicious attacks on your website. Adding CAPTCHA to your Drupal 7 Webform is a straightforward process that can be completed in a few easy steps.

In this article, we will show you how to add CAPTCHA to your Drupal 7 Webform to protect your website and improve the user experience.

Step 1: Install the CAPTCHA module The first step is to install the CAPTCHA module on your Drupal 7 website. To do this, go to the Drupal website and download the module. Once the module is downloaded, log in to your Drupal 7 website, go to the Modules section, and click on the Install new module button. Choose the CAPTCHA module from the list and click on the Install button to install it.

Step 2: Configure the CAPTCHA module Once the CAPTCHA module is installed, you need to configure it. Go to the Configuration section of your Drupal 7 website and click on the CAPTCHA option. You will see a list of CAPTCHA modules that you can choose from. Select the one that you want to use and configure it according to your preferences.

Step 3: Add CAPTCHA to your Drupal 7 Webform After configuring the CAPTCHA module, you can add CAPTCHA to your Drupal 7 Webform. To do this, go to the Webform section of your website and open the form that you want to add CAPTCHA to. Click on the Form settings button and select the CAPTCHA option. Choose the CAPTCHA module that you want to use and save the changes.

Step 4: Test the CAPTCHA Once you have added CAPTCHA to your Drupal 7 Webform, it is important to test it to ensure that it is working properly. You can do this by submitting the form and verifying that the CAPTCHA is working as expected. If the CAPTCHA is not working, you may need to make some changes to the configuration to get it to work properly.

In conclusion, adding CAPTCHA to your Drupal 7 Webform is an essential step in protecting your website and improving the user experience. By following these simple steps, you can easily add CAPTCHA to your Webform and ensure that your website is safe from spam and malicious attacks. Remember to test the CAPTCHA to make sure it is working correctly and make any necessary adjustments.

Inject Block In Drupal 7 Node With Block Inject module

I was looking for options to inject Google Adsense ads into my Drupal blog. There are a few modules and tactics available. But today I found an excellent module - Block Inject.

The Block Inject module allows for regions to be created and injected in the middle of chosen node types.

You can create any number of regions to inject as well as select as many node types you would like these regions to be injected in. The blocks you assign to these regions will then appear in the middle of the body field of these node types if the number of paragraphs is bigger than 2.

Download it here: Block Inject

Here is an example of injected Google Adsense into the middle of content:

I tried to install the latest dev version, but that broke things up, so I stayed with the alpha version.

Update: You might try the latest version now (This module have been updated on May 23, 2015)

If you need help with Drupal modules or Drupal website development - hire me!

Some magic with Drupal, Flickr and Georgia

Update: Further developments of both tourgeorgia.eu and instagram wall have been stopped. I have created a new Travel Map section instead.

Since I bought my first Android phone so many new thoughts and ideas has run through my head - I mean in opportunities of development. One of them I already realized - I created my custom Instagram wall, where I'm syncing all my photos taken by phone, and putting them on map. I really like this approach. Update: I have stopped further development of Instagram wall

When I first landed to Georgia, back in 2011, I wanted to start fresh, not only my life abroad, but to make some fresh start up/project. And I created Tourgeorgia. The idea behind scenes, was to make it a geo tagged. To develop portal, by myself discovering Georgia.

For example - I landed at Tbilisi airport, lets add this venue to site and so on. To add just those places, where I have been. 

By now, using my Android phone, I regret I had not it 3 years ago. The things would be far better. But enough regrets.

So I took my phone, turned it in to geo tagging monster. Registered for Flickr Account. And idea is to add all those Places I have been in Georgia to map with photos. No lame Wikipedia articles about some churches or what so ever.

I stoled visual idea from Instagram:

Added some map page:

Photo view:

 

And its all done just by taking pictures with my phone, no need to login and upload photos.

Fur such behavior of course I have chosen Drupal, Drupal Feeds, Gmap. Flickr/Instagram accounts and of course the phone with camera and GPS.

So Tourgeorgia.eu will show you Georgia with eyes of me (Samsung Galaxy Core).

In coming days I will finalize site dosing and let's see how it works!

P.S. If you are considering a hosting for your Drupal website check out Bluehost, their shared hosting starts as low as $3.95/mo or read more about cheap Drupal hosting.

Import your Instagram photos to your blog using Flickr + Flickstagram

Recently I bought my first Android phone, and I found Instagram app really useful. What I like the most is it's mapping options, so you can add latitude/longitude auto, if your GPS is turned on.

Then I wanted to import my Instagram photos to my blog and found some problems with it. As I'm using Drupal as my blogs CMS, at first I headed to Drupal.org to search for some ready built modules, to import my Instagram photos, so I could later use views, for example, to tune things up. There are few solutions provided by Drupal community, but Instagram requires SSL, and at this stage, I'm not ready to enable some Open Source SSL. I just want a solution that works.

So then I remembered, some years ago, I had built an application with Drupal feeds module, aggregating Flickr RSS feed with location tags (latitude/longitude) - I remember there were involved some Yahoo pipes, to build that stuff. But that time, I was building a much more complicated system. Like parsing feeds for specific locations. This time I want to parse just my feeds and show my photos, both with location enabled and without it.

Luckily Instagram app allows to publish to Flickr, what's great, unfortunately, I didn't find that it's exporting to location fields as well. And then I found Flickstagram. Superb service, that allows import your photos from Instagram directly to Your Flickr account.

And then I can use Drupal Feeds, to parse my Flickr account, to import pictures from Flickr to my blog.  

In the coming days, I will write a tutorial, how to import your Instagram photos to your blog using Flickr.

Gremi monastery complex in Georgia

Another very interesting tourist attraction in Kakheti close to Kvareli - Meet the Gremi Monastery complex. Features rich history and very spectacular views. 

For the first time I visited Gremi monastery complex back in 2014, when we booked a private tour from Hotel Royal Batoni. Next time I was here was during another short one day trip around region Kakheti together with my mom. This definitely means there are places in Georgia where it is worth to return.

Impressive fortification walls at Gremi

Impressive fortification walls at Gremi

The monastery complex is located just right next to the highway making it impossible to miss this place. It is worth to mention that since 2007  the monuments of Gremi have been proposed for inclusion into the UNESCO World Heritage Sites.

Gremi monastery complex

Gremi monastery complex

Gremi was the capital of the Kingdom of Kakheti in the 16th and 17th centuries. Founded by Levan of Kakheti, it functioned as a lively trading town on the Silk Road and royal residence until being razed to the ground by the armies of Shah Abbas I of Persiain 1615.

The church has been built in 1565 by King Levan - The King of Kakheti

Local merchandise near Greami monastery coplex

Local merchandise near Greami monastery complex

Here you can buy some typical Georgian souvenirs: churchelas, nuts and evens socks.

Georgian script at Gremi monastery complex

Georgian script at Gremi monastery complex

After almost 5 years of Living in this amazing country Georgia, I still haven't mastered Georgian script. On the other hand if you are desperate to translate or transcript Georgian script - you can choose this translation company.

Church souvenirs for sale at Gremi monastery complex

Church souvenirs for sale at Gremi monastery complex

Inside Gremi Church

Inside Gremi Church

Gremi monastery complex from distance

Gremi monastery complex from distance

About Gremi monastery complex:

​Gremi  is a 16th-century architectural monument – the royal citadel and the Church of the Archangels – in Kakheti, Georgia. The complex is what has survived from the once flourishing town of Gremi and is located east of the present-day village of the same name in the Kvareli district, 

History

Gremi was the capital of the Kingdom of Kakheti in the 16th and 17th centuries. Founded by Levan of Kakheti, it functioned as a lively trading town on the Silk Road and royal residence until being razed to the ground by the armies of Shah Abbas I of Persiain 1615. The town never regained its past prosperity and the kings of Kakheti transferred their capital to Telavi in the mid-17th century. There was big Armenian population. The Russian diplomat Fedor Volkonsky, who was here in the 17th century, said: "Armenians have own church and market behind one was other church". He also said about 10 Armenian churches near the palace of king.

The town appears to have occupied the area of approximately 40 hectares and to have been composed of three principal parts – the Archangels’ Church complex, the royal residence and the commercial neighborhood. Systematic archaeological studies of the area guided by A. Mamulashvili and P. Zak’araia were carried out in 1939-1949 and 1963-1967, respectively. Since 2007, the monuments of Gremi have been proposed for inclusion into the UNESCO World Heritage Sites.

Architecture

The Archangels’ Church complex is located on a hill and composed of the Church of the Archangels Michael and Gabriel itself, a three-story castle, a bell tower and a wine cellar (marani). It is encircled by a wall secured by embrasures, turrets and towers. Remains of the secret tunnel leading to the Ints’obi River have also survived.

The Church of the Archangels was constructed at the behest of King Levan of Kakheti (r. 1520–1574) in 1565 and frescoed by 1577. It is a cruciform domed church built chiefly of stone. Its design marries traditional Georgian masonry with a local interpretation of the contemporary Iranian architectural taste. The building has three entrances, one facing west, one facing to the south, and the third facing to the north. The interior is crowned with a dome supported by the corners of the sanctuary and two basic piers. The façade is divided into three arched sections. The dome sits on an arcaded drum which is punctured by eight windows.

The bell-tower also houses a museum where several archaeological artifacts and the 16th-century cannon are displayed. The walls are adorned with a series of portraits of the kings of Kakheti by the modern Georgian painter Levan Chogoshvili (1985).