cmsInfo

Login/register
  • All
  • News
  • How To

Navigation

  • Blogs
  • Contact
  • Search
  • Tags
  • Recent posts
Feed Icon
Google
Delicious

Categories

  • All  
  • News  
  • How To  

Popular Tags

Aegir CMS Asbru CMS Community CMS Resources Drupal eZ publish Joomla Krysalis Mambo Managee Midgard Nuxeo OpenCMS PHPNuke Plone Typo3 WebGUI Xaraya Xoops Zope
more tags
0

Boombatower Development: Upgrading theme() calls with Coder Upgrade

http://boombatower.com –

A lot of effort has been poured into the upgrade routines for Coder Upgrade as evidenced by the green check marks on this page. (A side note: so far, duellj is the only person to show up for the upgrade barn raising and much thanks to Jon is due. If you are up for a challenge, help is still welcomed and needed to write and/or test routines.)

An interesting example of an upgrade routine is the theme() function call change. This upgrade involves "array-itizing" the variable parameters. For example, this:

<?php
theme('user_list', $users, $title);
?>

becomes in D7:

<?php
theme('user_list', array('users' => $users, 'title' => $title));
?>

The twist involves finding the keys for the associative array of variables.

Sparing the details, Coder Upgrade will insert the proper keys for any theme defined in D7 core files (includes and modules directories) as well as themes defined by the module being upgraded.

read more

Read »
Created by Drupal 26 weeks 15 hours ago
Category: News   Tags:
  • Drupal
  • News
  • Login or register to post comments
  • 0

Similar stories

Lullabot: Drupal Voices 121: Jim Berry on the Grammar Parser and Coder modules 11 weeks 6 days ago
Boombatower Feed: Update on automated module conversion 1 year 23 weeks ago
Boombatower Development: Drupal 7 upgrade sprint (or barn raising) 29 weeks 17 hours ago
Be Circle: How to Upgrade from Drupal 5 to Drupal 6 - Steps 3 and 4: Actual Upgrade and Testing 1 year 33 weeks ago
  • Comments
  • Who voted
  • Related links
Lullabot: Drupal Voices 121: Jim Berry on the Grammar Parser and Coder modules 11 weeks 6 days ago

Jim Berry (aka solotandem) is the father of Jimmy "Boombatower" Berry and talks about the Grammar Parser module, which is used in the API module and Coder U

Boombatower Feed: Update on automated module conversion 1 year 23 weeks ago

Automated module conversion seems to be a hit!

In December 2008, the Deadwood module was made available for use without download on the Boombatower web site. In the three months since, nearly 600 modules have been uploaded to the site and run through its conversion routines.

Boombatower Development: Drupal 7 upgrade sprint (or barn raising) 29 weeks 17 hours ago

Over the span of history, inventions have come about that changed the world as we know it. Think of GPS technology, bar codes, credit cards, and the Sony Walkman. But while these inventions in themselves were amazing, their success and popularity would not have been possible without the consumers who bought them, used them, and supported them.

Be Circle: How to Upgrade from Drupal 5 to Drupal 6 - Steps 3 and 4: Actual Upgrade and Testing 1 year 33 weeks ago

Today I finish up the series of articles about upgrading from Drupal 5 to Drupal 6.

Boombatower Development: Making Drupal 7 a Reality for Your Production Sites 40 weeks 1 day ago

In this post, I:

  • Announce a cool, new tool to help make Drupal 7 a current reality for your existing sites.

  • Make a call to the Drupal community for assistance to utilize this tool.

Be Circle: How to Upgrade from Drupal 5 to Drupal 6 - Step 2: Getting Drupal 5 Upgrade Ready 1 year 34 weeks ago

Last week I started a series of posts about upgrading to Drupal 6.

Be Circle: How to Upgrade from Drupal 5 to Drupal 6 - Step 1: Planning 1 year 34 weeks ago

Yesterday I posted an article about why you should upgrade to Drupal 6. Today I'm writing the first of a series of posts on how to upgrade, in an effort to make sure you have no excuses not to.

Fusion Drupal Themes: New Fusion Drupal 7 theme release 22 weeks 6 days ago

Progress towards Drupal 7 has been impressive, and with the latest (7.0-alpha3) release, it was time to create a new version of Fusion designed to take advantage of all that awesomeness.

First things first.

Gábor Hojtsy: Second day report from the drupal.org upgrade sprint 1 year 32 weeks ago

A couple weeks ago, Dries posted a call for sponsors for efforts to upgrade the Drupal.org site with its existing functionality and design to Drupal 6 and then start work on the redesign, new features and theme implementation.

Tags for Boombatower Development: Upgrading theme() calls with Coder Upgrade

Tags

  • Drupal

Google
 
Web www.cmsinfo.org
RoopleTheme