Looks great, but...

I can't use 5.x due to reliance on some modules not updated yet.

This is killing me because some modules, like this one, have no 4.7 versions.

Any chance of getting one?

Comments

dwees’s picture

One of the reasons this happens is because the background Javascript that a module like Taxonomy Super Select uses was largely introduced at the 5.0 level (specifically, jQuery) and that porting this Javascript can sometimes be a larger task than porting the module itself. If a module is mostly PHP based, then porting it can be a fairly straight forward task.

My impression is that you would have to use the jQuery47 module, and check for renaming of functions in the Javascript of the module, and also check the porting of the PHP code for the module separately, which is a large task.

Many of these modules are written for use in a website, and if they are using the 4.7 version first, they will see a direct benefit in moving the module forward to 5.0, but they are less likely to see a personal benefit by moving it back.

codexmas’s picture

Assigned: Unassigned » codexmas

Actually there is no Javascript in TSS yet. The port to 4.7 will be quite painless as I am doing pretty much everything in PHP using a form alter.

I will post a 4-7-dev version soon, I had been planning on doing so, but now that there is a call for it.
The module may actually work in 4.7 as is, the only major change I can think of is getting the list of
content types is slightly different in 5.

ardee-1’s picture

codexmas: Cool, thanks!!

dwees: Thanks for the explanation. It makes sense.

dwees’s picture

Actually I just realized that I have two modules mixed up. I was mixing this up with Active Select, which uses some Ajax.

Anyway the point about the backward port is probably a good one, and the thing about the javascript is true for a lot of other modules.

Dave

ardee-1’s picture

dwees: My thanks were for the general insight you gave me into why people post modules and why some modules are very difficult (or impossible) to port from 5.x to 4.7.x. I understood that this module is special in that it doesn't need jQuery (etc.), plus it has an author who is kind enough to port it from 5.x to 4.7.x.

My thanks stand as posted. :-)

codexmas’s picture

Status: Active » Fixed

The 4.7.x version is available now, it was really only two lines of code that needed to be updated.

Enjoy!
Gord.

ardee-1’s picture

Thank you, it works great! (You da man!)

Anonymous’s picture

Status: Fixed » Closed (fixed)