Ivan ZugecContactContact me

Posts

Notes on Drupal, web development, AI tools and content creation.

Use TurnKey Linux with VirtualBox 4 on mac

11 April 2011

I remember reading on some post online about developers using virtual environments as a development server. On my mac I use MAMP for development. But using a virtual environment allows you to create…

  • MacOS

How to use the Syntax Highlighter module in Drupal 7

21 March 2011

When I upgraded zugec.com to Drupal 7 I had to find another syntax highlighter because the previous one that I used in Drupal 6 was GeSHi but this module hadn't been upgraded to Drupal 7 at the time…

  • Drupal

Create administration pages with Views 2

18 August 2010

When you get an editor asking how they can manage content on a Drupal site, sometimes you just can't send them to admin/content/node page to manage the site. Maybe you only want certain editors to…

  • Drupal

Redirect taxonomy term links to a views page

10 July 2010

On some Drupal sites having the taxonomy links point to the "taxonomy/term/tid" can really break the design of a site. Sometimes you want to redirect the user to a custom views page instead of the…

  • Drupal

Apache Solr on Ubuntu 10.04 running on Jetty

25 June 2010

Here are my notes on how to setup Apache Solr for a Drupal site on Linode hosting. Make sure you are up to date. Set your host name. You must install Java. Go to src director. Download Solr. Untar…

Remove content types from search result

11 May 2010

If you are looking for a way to hide specific content types from the core Drupal search result then checkout the Search config module. It's a good idea to use this module if you are using the Content…

Using Views Slideshow module

4 May 2010

Views slideshow module is a great module which allows you to create slideshows from a views results. It makes it very easy to create a block that rotates the latest blog posts for example. To install…

Creating custom filters in views 2

31 March 2010

A project that I’m currently working on requires a classifieds system which is fairly straight forward to setup. I’m using the location module for users to specify a location of the classified. To…

Set taxonomy option by code

14 February 2010

You'll need to create a custom module and use the hook_form_alter() function. Please note that the $form['taxonomy'][2]['#default_value'] is the vocabulary id.

Change select options within a nodereference

14 February 2010

First you'll have to make use of hook_form_alter() function. Now the node reference will look for a example_change_node_reference() function which will return an array of options. Make sure you pass…

Add alternative search with the Lucene API module

11 February 2010

The Search Lucene API module is an alternative search module which can be used on your Drupal site. It's powered by a stripped down version of the Zend Lucene Search which is a PHP port of Apache…

Hiring, or have a project in mind?

Get in touch and tell me about the role or what you're building.

Contact me