I think we can take foilage using all the code for drupal 6 and make it work for drupal 5 with template.php

The left/right can be converter to sidebar_left and sidebar_right like the theme "clean" does in template.php.

The $body_classes can be used like zen does for drupal5 by functions in template.php also.

I am trying it and wow it seems to be working...

I took the template.php from drupal5 zen and inserted the left/right conversion from clean and
had to remove a very few functions calls to other zen stuff from subs that caused php errors...

I attached the template.php file as foliage6-5_template-php_.txt,
rename to template.php and put in directory....

NOTE it is a hack, I think a lot of the zen functions can be removed also... BUT by golly the drupal 6 theme is running on drupal 5 so far...

CommentFileSizeAuthor
foliage6-5_template-php_.txt17.83 KBwebengr

Comments

webengr’s picture

BTW, had a customer using foliage variation on drupal6 but has to downgrade to drupal5 for e-commerce :(
thus the desire to make a simple way to save theme effort in 6 but use in 5...

margae’s picture

I appreciate your effort to make the Drupal 6 version run for Drupal 5. This is surely helpful for many users.

However I can't see a "feature request" in your post? Maybe you want to close this issue and post your solution into the forum.

webengr’s picture

Status: Active » Closed (fixed)

my bad, yes this was more of a fyi forum thing, let's close this.