Convert Xtemplate to PHPTemplate

Caleb's picture

So you've got an Xtemplate that you need to convert to the PHPTemplate format because you've found out that the Xtemplate has become a third rate citizen at Drupal.org? (many modules don't support Xtemplate themes anymore, Drupal.org doesn't consider it a "supported" format, and "theming" Xtemplates is much harder than with PHPTemplates)

Well, no problem.

With a little work it is relatively easy to convert your Xtemplate into a much more compatible, supported, and extensible PHPTemplate. In fact, there's a very good handbook page at Drupal.org about this issue which I came across and have used to convert several of my own Xtemplates.

New comments are reviewed before being published.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Allowed HTML tags: <code> <p> <b> <i> <a> <em> <br> <tt> <hr> <li> <ol> <ul> <pre> <blockquote> <strike> <tt> <strong> <font> <h1> <h2> <h3> <h4> <h5> <h6> <del> <q> <sub> <dl> <dt> <dd> <a> <b> <u> <i> <sup>

More information about formatting options