Grayside.Org

Home

Renaming a Project

grayside — Sat, 05/22/2010 - 19:07

Often enough you create a project, get halfway through, and don’t like the namespace you’ve scattered throughout every file and function name. There are plenty of ways to use IDE’s and other tools to change that name, but I prefer the command line.

If it’s a Features project you want to rename, perhaps to make sure you have a more distinctive namespace, you can use the drush command Features Clone. Look for your duplicate (and renamed) feature in sites/default/modules/custom_features.

I’m hoping to find or create a more general solution, not everything you might want to rename is a Feature, after all. If you know of an existing solution please drop off a comment.

  • drupal
  • project
  • refactor
  • Add new comment

Similar Posts

  • CCK Fields and the Open Atrium Node Form
  • cat kit | summarize namespacing
  • Reset Drupal Password, the SQL Way
  • OpenAtrium Group Manager as Content Administrator
  • Drush and Features Servers

Monthly archive

  • May 2010 (8)
  • April 2010 (5)
  • March 2010 (6)
  • February 2010 (2)
  • November 2009 (7)
  • October 2009 (1)
  • September 2009 (5)
  • August 2009 (1)
  • July 2009 (1)

Feeds

  • Syndicate contentHeadlines
  • Syndicate contentDrupal Planet
  • Syndicate contentAtrium Headlines

casetracker cck drupal FL3 freelinking module node-form og openatrium permissions plugin spaces
<all>

© 2009 grayside.org ♠ Glossary ♠ Powered by Drupal ♠ Floating on Archlinux