At killes request, I've started working on updating XTemplate to 4.7. The first step is to grab a copy of the updated version and then start glue-ing it all together.

Comments

drewish’s picture

StatusFileSize
new60.42 KB

Here's a first pass at getting XTemplate working with 4.7.

  • Updated XTemplate to the lastest version. Made one modification to keep the old assign() parameter format.
  • Replaced a bunch of double quotes with single quotes.
  • format_name() -> theme('username')
  • theme_onload_attribute() -> theme('onload_attribute')
  • theme_onload_attribute() -> theme('onload_attribute')
  • Added in a call to base_path() to account for the lack of a base element.

Feedback/testing would be much appreciated.

drewish’s picture

StatusFileSize
new62.14 KB
  • unconed let me know that there is no theme_onload_attribute() any more.
  • got the primary links working again
  • added a hook_regions() implementation
  • copied phptemplate's method of constructing html header titles
  • added a 'search' variable so that templates can use the pre-rendered form
  • realized that it's hard to find xtempate themes to do testing with...
drewish’s picture

Status: Active » Fixed

I'm going to commit these even though it's probably incomplete. At this point I suppose any bugs can get their own issues.

Anonymous’s picture

Status: Fixed » Closed (fixed)