Port to 5.x

vishun - September 3, 2009 - 03:58
Project:404 Blocks
Version:5.x-1.x-dev
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hey there,

I know I know, 7x is about to come out and 5x is about to be deemed old school, but I was curious if there is anyway this module might be able to be ported back to 5x. We have a client project that could benefit greatly from this module. If there is no possibility or interest in this being checked out, we may go about trying to port it back (granted its technically possible) if that is OK.

Thanks,
Kevin

#1

JohnAlbin - September 7, 2009 - 15:52
Title:Port to 5x?» Port to 5.x
Version:6.x-1.x-dev» 5.x-1.x-dev
Category:feature request» task
Status:active» needs review

Unfortunately, 404 Blocks uses D6's preprocess functions which allow modules to alter the variables in template files. D5 did not have any mechanism for allowing modules to alter template variables. :-(

So, you would be required to modify your theme in order to get the proper modifications. Page Title 5.x and Advanced Forum are examples of modules that require you to modify your theme for functionality. I've made some rough installation instructions in the README file.

I've spent about 45 minutes doing a quick backport. But its completely untested. So please test it. http://drupal.org/node/570706

#2

vishun - September 16, 2009 - 02:27

JohnAlbin, ah yeah i had a feeling there was a decent reason that it wasnt available. theme modification for 5x is totally fine, i understand that for some it may be unacceptable but if thats the case for those handful of people, then they dont really need it that bad to begin with ;)

thank you -so- much. It is much appreciated, and we will make sure to test it and give any feedback or modification suggestions based on our findings.

 
 

Drupal is a registered trademark of Dries Buytaert.