Last week we explored ideas for building a $100Â library makerspace. This week we're
increasing our budget 10 fold and exploring how to build a $1000 library makerspace. While
our budget has gone up significantly, we'll still have to be strategic about how we spend
our money. Should I buy a 3D printer? We get asked this…
Link Archive
HTML versions of the OS X, OS X Server, Xcode Tools, and CHUD man pages.
You can adjust the DNS settings for your Bluetooth Internet connections.
php_lib - A collection of interfaces classes and functions that can be used in a
variety of environments.
When setting up content types on a more involved site, a developer could easily end up
with having an enormous list of fields in one single content type. When this happens, I tend
to pause for a second, and think through whether there is any way to consolidate that list.
Chances are, I find a field or two whose values either depend on other fields or can be
generated without user input. These are the exact scenarios where the Computed Field module
can be a great choice.
This is a collection of sample code snippets that can be used in CCK fields enabled by
the Computed Field module. If you have a snippet that performs some new function, please add
a new page to this section. If you have a variation on an already documented function (e.g.
a different method to achieve broadly the same effect) please add a comment to the relevant
page.
The Entity API provides wrapper classes you may use to make dealing with the values of
an entity's properties and fields easier. Wrappers make it easier to get and set the values
of fields and properties as well as to programmatically retrieve additional information
about these elements and iterate over lists of values in a consistent manner. For example
consider the following method of accessing the value of a field attached to a node. This is
a pattern that we see used often when working with entities in Drupal. However there are a
couple of things that make this less than ideal. For example what if the user had requested
the page in a different language? Or what about the case where the ['value'] key just
doesn't exist like with image and file fields? Using metadata wrappers from the entity
module we can access this information like so:
This module provides an advanced Entity Reference widget that uses a view embedded in a
modal dialog for selecting items. The view can be paginated and have exposed filters. Usage:
1) Add the display "Entityreference View Widget" to your view. 2) In the Field UI for the
Entity Reference field select "View" as the widget and on the next page select your View
from the dropdown.
This module provides an advanced Entity Reference widget that uses a view embedded in a
modal dialog for selecting items. The view can be paginated and have exposed filters. Usage:
1) Add the display "Entityreference View Widget" to your view. 2) In the Field UI for the
Entity Reference field select "View" as the widget and on the next page select your View
from the dropdown.