Drupal

Posted by David Shaw

First enable user profile pictures built into the drupal core.

triberising.com/admin/user/settings
  • Under pictures select "Enabled"
  • Hit 'Save Configuration'

Now set drupal's theme to display profile pictures on your nodes: Administer > Themes > Configure tab > Global Settings

Read the rest of this entry »

Posted by David Shaw

So you want to create a longtext field in your custom schema.
You've noticed node revisions use this to store the long text in descriptions.
So, you've changed the type in the schema to read 'type' => 'longtext' but no luck. The table doesn't install and you have an error in your face.
 
You could try 'type' => 'blob' which works but this isn't what you want either. Blobs aren't the same as text in mysql. Blobs are binary so they are case sensative. Searching for 'drupal' will not return 'Drupal'.
 

Read the rest of this entry »