Login

Blogs

Hide and Show the Login Block Update

Since writing the post on hiding and showing the login block, I've done some work on the site's theme and the on the jQuery code.  The basic info applies, but I found that this jQuery code seems to work more consistently across browsers, particularly IE.  Here it is:

Hide and Show the Login Block

A member of the Western Massachusetts Drupal Users Group posed the question, 'what techniques do you use to hide or display a login block?'  As this is a feature that gets request with some regularity, I started playing around with a jQuery solution.  You can see it in action by pressing the login link in the upper right corner of this site, just under the primary links.

Here's how I did it.

First, I created a file called login.js that contained this code:

Getting Google Site Verification Working

While the Nodewords module contains a Google Site Verification field to enter the verification id, the version I was using was not adding a metatag that was recognized by Google.  The problem seemed to lie in the tag name.  Nodewords uses name=verify-v1.  And so do some other Google verification tags.  But, according to the Webmaster Tools for my particular site, it should be name=google-site-verification

A Drupal Toolkit for Windows

Hera are a few tools that might come in handy for you.

The first is Extract Now.  It's a compressed file extraction tool.  In that there are certain compressed file types that Windows does not natively work with, it is handy.  It's free, too.

UberPOS: A Point of Sale System for Drupal

At the last western Mass Drupal Users Group meeting, we were given a demo of UberPOS.  It hooks into UberCart, which is an eCommerce element of Drupal,  UberPOS provides a POS system which includes connectivity with hardware such as a barcode reader and cashdrawer. 

Multisite Development Environment in Windows using XAMPP

This is the checklist presented at the May, Western Mass Drupal Users Group.

Assumptions: XAMPP and Drupal Core have been installed. Main site resides under xampp/htdocs/

1. Create a new folder under /sites (ex. sites/audio)

2. Add folders /files, /modules, and /themes under new site

3. Add a settings.php file under new site

4. Modify the Virtual Hosts file (httpd-vhosts.conf) in Apache

a. Path: xampp/apache/conf/extra/httpd-vhosts.conf

Views Attachment - A View With a View

There are times when you want the first item in a list to stand out.  One way to accomplish this is to, first, create the list using Views.  It can be either a page, a block, or both.  Once you have defined your View, you add an Attachment just as you did with the Page or Block by using Add Display.  The 'gotcha' is that you will need to override some of the the default field settings.