| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 | 
Strongarm 2.x for Drupal 7.x----------------------------Strongarm gives site builders a way to override the default variable values thatDrupal core and contributed modules ship with. It is not an end user tool, but adeveloper and site builder tool which provides an API and a limited UI.An example of such a variable is `site_frontpage`. In Drupal this defaults to`node`, which ensures that the front page gets content as soon as some exists,but for many Drupal sites this setting is simply wrong. Strongarm gives the sitebuilder a place in the equation - an opportunity to set the default value of`site_frontpage` to something that makes sense for their site.Installation------------Strongarm can be installed like any other Drupal module -- place it inthe modules directory for your site and enable it (and its requirement,CTools) on the `admin/build/modules` page.Strongarm is an API module. It does absolutely nothing for the end user out ofthe box without other modules that take advantage of its API.How Strongarm works-------------------Strongarm uses the CTools export API to make entries in the system module's`variable` table exportables. Exportables are Drupal configuration objects thatlead a dual life -- they may be *defaults* set by code exports in modules, theymay be *overridden* if a user chooses to change the value in the database, orthey may be *normal* if the configuration object lives only in the database butnot in code. To learn more about exportables and the CTools export API, see theCTools advanced help on "Exportable objects tool."Exporting variables-------------------If you are a developer or site builder Strongarm gives you tools to export thesettings of variables in your site database and manage any overrides to defaultvalues.To export variable values, you will need to enable either the [Features][1]module or the [Bulk Export][2] module provided by CTools (as of June 29, 2010you must use a recent checkout CTools `DRUPAL-6--1` in order to use Bulk Exportwith Strongarm). Features provides a UI for adding variable exports to afeature. Bulk Export provides a UI for generating defaults hooks with exportedvariables that you can add to your own modules. You do not need to enable bothmodules.Maintainers------------ jmiccolis (Jeff Miccolis)- yhahn (Young Hahn)[1]: http://drupal.org/project/features[2]: http://drupal.org/project/ctools
 |