Article
Posted on 6th July 2009
Takes about 1 min to read

We're not sure what to do with these: we've written two simple Drush scripts for exporting content types and views. Saving us from having to navigate a few pages and precious seconds. Download them and pop them somewhere Drush can find them, a good candidate would be in ~/.drush Then you can run them by typing: drush export view <view_name> or drush export content type <type_name> You should now either have an error message or...

Article
Posted on 27th January 2009
Takes about 1 min to read

Super quick one this: say you have a CCK field on a particular node whose values you want to ensure are unique across all nodes on your site, you could write yourself a nice little helper module, or some PHP directly into the CCK field validation section of the admin form, but, a helper module already exists! Unique field is a lovely little module that allows you to say that a particular text, number or...

Published in: #CCK #Drupal Planet #fields #node types