Placing Secondary Links in a Block

When designing a custom theme I sometime want to put the set of secondary, or sub-page links, inside of a block in the sidebar. The secondary links are the children of the primary links, which you designate when creating the links.

Category / Taxonomy term links list

If you, like me, thought that you could use the "views" module to create a list of all of the taxonomy terms in a certain category - you can't. Views only displays lists of nodes. So, here is the snippet of code that you need to create to that list of links (you could put it in a block):

TinyMCE - Excluding textboxes

These are the text boxes that I have excluded by default so far. It would be easier to just include the ones that you want - but that's not the way it's setup.

As I find more module specific text boxes that I want excluded, I will update the script here.

Maximum File Size

I always forget how to fix the maximum file size for uploading on drupal. Simply add this:

  php_value  upload_max_filesize  75M
  php_value  post_max_size  75M
  php_value  memory_limit  32M

Registered Globals

Getting a registered globals issue when trying to install a drupal site on the 1and1.com shared hosting environment. Simple fix - should have written it down earlier, but resolved simply by adding the following code to the .htaccess file that is preset with the drupal site:

AddType x-mapp-php5  .php

First and Last Classes

This little chunk of code should be handy:
http://drupal.org/node/138656

This will allow me to add first and last classes to menu items that are in blocks - which if I get this project that I am thinking of (where the designer is super anal) I can utilize this code:

 
 
Copyright 2008 Journey Multimedia, Inc. || 1947 13th Avenue Unit A, Greeley CO, 80631