Drupal


Display Content for a Specific Role - Drupal

Keywords:
23 Feb 2008

Sometimes, is can be a requirement to only allowed a specific group of users to view some content on a page. I'm not talking about showing or hiding the entire page to a specific role.

What I am talking about is that an authenticated user sees some different or additional content than an anonymous user will see on the same page.

I recently had a requirement to do just this on a community website that I am building. I needed to show a discount Coupon Code to registered users but not to anonymous users.

Drupal Text-Link-Ads & RSS Feeds

Keywords:
31 Dec 2007

Regardless of whether the big "G" approves or not text-link-ads are still a very popular form of revenue for a lot of webmasters. From personal experience I have managed websites with text-link-ads that outperform Adsense with over ten times the revenue per month (this is even after the page rank penalties imposed in the last round of updates).

If you have a Drupal powered website and are still using text-link-ads you my want to consider modifying the code in the module. You may have noticed that at the end of each article in the feed the word Advertisement: is inserted. But, the Drupal module does not currently support text-link advertising in the RSS feed.

Drupal Already Installed

Keywords:
29 Sep 2007

While recently upgrading a site to from Drupal 5.1 to 5.2 I kept on getting a "Site Already Installed" message and a redirection to install.php.

As this was a fairly active site I had little time to troubleshoot. So, I decided to do a database and file restore. After the restore I still had the same problems. How could this be? It should have been back to the same state it was before I started.

A Drupal Photoblog Recipe

Keywords:
22 Jul 2007

Caution this is a long detailed post!

I had a recent requirement to build a photoblog website for my daughter who has just started to learn about photography. The end result can be seen at - Lucy's Photoblog. There are only a couple of pictures there at the moment but more will be added over time.

After evaluating a number of different product including: gallery 2, cheesecake, pixelpost and photostand to name a few I decided that none of these would match with my requirements. With a few years experience and having built several Drupal powered sites I decided to investigate the possibilities.

When you think of a photoblog Drupal is probably not the first application that comes to mind. But, it is relatively simple to create a stylish, scalable and very functional photoblog with Drupal.

Google Analytics and Drupal

Keywords:
01 Jul 2007

You've just downloaded and installed and activated the google_analytics Drupal module, added your Google Analytics User ID but it's not working. You check the page source, but the script does not appear.

You are aware that the script does not show up when you are on admin pages (and of course you wouldn't want it to) and you have checked from your home page.

If you are using a custom theme, the answer may be simple. Check you page.tpl file to make sure that you have the following line just before the closing <body> tag:

Syndicate content

About Us

NZ Web Hosting Internet Technolgies Blog.

Website design, website development, promotion and search engine optimisation.