I made it so that they will always display the final target... I can make it optional if you think that would be a better way to have it.
I have completed what should be the version to include in the next release. I have attached it to this post and would love for any feedback. I will also get it commited for inclusin in the the install routine.
This will only work if you have a modx version that includes Susan link attributes addition.
I added the following:
- Added category support, with additional template
- Added active parent template
- Added docid placeholder for output of docid
- Added wf.classnames placeholder for output of just the class names
Quote from: kylej at Sep 06, 2006, 03:34 PM
This will only work if you have a modx version that includes Susan link attributes addition.
Is this true even if I’m not using link attributes in my template? If so, this pretty much makes it 0.9.5+ only, yes?
Now that this has been made public in the 0.9.5 beta, where should feedback go? Can it be released into the Repo?
Yes this does make it only compatible with version 0.9.5+.
I guess I could make it check which version the user is running and remove that column from the select statement.
Does anyone know if there Is a way to test which version a user is running???
I think we should probably wait until 0.9.5 is fully released before adding it to the repository, or the above fix is added for versions pre 0.9.5
-
MODX Staff
- 12,272 Posts
I’d say go ahead and add it, but mark it compatible only with 0.9.5 (and make that really clear/bold in the first line of the description).
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
Quote from: kylej at Sep 12, 2006, 09:47 AM
I guess I could make it check which version the user is running and remove that column from the select statement.
Does anyone know if there Is a way to test which version a user is running???
I don’t know about any official way, but I think it may be quicker and more flexible to set a variable in the Wayfinder snippet - "$Pre095CompatabilityMode" or somesuch near the top of the file. Then you could either bundle two versions of the snippet or tell older users that they need to change the line to make it work. This is then also flexible for any 0.9.x user that has added Susan’s column in another way.
The danger of not doing this is that you would end up needing to provide support for Wayfinder Beta2 AND the latest Wayfinder.