Placing Secondary Links in a Block
Posted August 28th, 2008 by DrupalWhen 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
Posted August 20th, 2008 by DrupalIf 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
Posted August 19th, 2008 by DrupalThese 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
Posted August 14th, 2008 by DrupalI always forget how to fix the maximum file size for uploading on drupal. Simply add this:
php_value post_max_size 75M
php_value memory_limit 32M
Registered Globals
Posted August 14th, 2008 by DrupalGetting 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:
First and Last Classes
Posted August 12th, 2008 by DrupalThis 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: