stuff in Drupal:
How To Load Another Users Profile Data In Drupal
Drupals built in function for loading profile, profile_load_profile(), loads profile information but designed for the currently logged in user. If you want to grab the profile data for another user, well, if there's a Drupal function for it, I haven't found it yet.
So what to do in a case whe...
Get All 'Terms' By Using Category Name In Drupal
Using Drupal's taxonomy, I found an instance where I wanted to get all the terms that were populated in a particular category. Using Drupal's taxonomy feature, I create a vocabulary and then create terms I then assign to the vocabulary. In my case, I want to treat the vocabulary as a master category...
FIX: TinyMCE Does Not Save Image Properties In Drupal
If you're using TinyMCE with Drupal, you may be experincing a problem where the image properties are not saving. Things like setting the alignment, spacing (vspace, hspace), or rolling your own css like the float, margin, padding, borders, etc. It looks fine when you edit the properties on the page,...
How To Get A Node Object By The Page Title In Drupal
Sometimes you may have the desire, or requirement, to get a node object and all you know is the page title. Currently, Drupal does not have a function (that I know of ) for getting access to a node object this way. And why would they --the Drupal architecture allows you to have two or more posts wit...
How To Get The URL Alias In Drupal
Drupal has a core module called "Path" that allows you to set your own url name, instead of the node/40039 or other number Drupal will assign to new content posts and pages. Now, perhaps I overlooked something in my configuration, but I noticed when I put Drupal in charge of printing out the url pat...
How To Get Access To The Current $node Object In A Drupal Block Or Elsewhere
One thing I noticed about Drupal's architecture is that it doesn't pass the current $node object everywhere you may want to use it. This has been a pain in the butt for me, and probably others who extend Drupal as much as possible with all sorts of digital duct tape.
Therefore, I spent some time ...
How To Get The Absolute URL Path, Absolutely, In Drupal
Managing web systems, providing developer support and developing web applications myself, I have come across a lot of programmers that like to use relative paths in their web sites.
This was ok back in the day of the static site, where all your edits were done directly on your production server. ...
