A "/9" added to URLs.

taite11 - December 11, 2008 - 19:15
Project:Taxonomy dhtml
Version:6.x-1.0-rc2
Component:Code
Category:feature request
Priority:normal
Assigned:darthclue
Status:closed
Description

All the URLs on the block that lists terms have a "/9" appended to them.

In taxonomy_dhtml.module search for the "/9" and delete just that.

There you have it... my first bug fix ever.

#1

darthclue - December 12, 2008 - 13:41
Category:bug report» feature request
Assigned to:Anonymous» darthclue

Not a bug. It's a feature. :)

The /9 relates to the depth of the terms when you are using a hierarchical vocab.

Pulled from http://lists.drupal.org/pipermail/support/2007-May/004587.html

You can also specify the depth when you have hierarchical vocabs:

/taxonomy/term/termids/depth

eg

/taxonomy/term/termids/0 (same as /taxonomy/term/termids )
/taxonomy/term/termids/2 (include terms up to two levels below)
/taxonomy/term/termids/all (include all subterms)

I'll put in a fix that makes this configurable with options of 'none','all', and 1-9.

#2

darthclue - December 12, 2008 - 21:57
Status:active» fixed

http://drupal.org/node/346403 - RC3 makes this configurable. Give it a try and let me know what you think.

#3

taite11 - December 12, 2008 - 23:19

I don't think that will work on my install because I'm also using the Taxonomy Force-All module because I always want all levels shown.

With the "/9" gone, mine works just as I want it to. I can see how that would be a useful feature for other sites though. :)

#4

darthclue - December 13, 2008 - 04:56

I don't see a D6 version of the module you mentioned. However, setting the Depth to None with that module installed should accomplish the same thing with one exception; The counts will be wrong.

The /9 was added back in D4 because of depth issues. Making this configurable is the best compromise that I can make.

#5

System Message - December 27, 2008 - 05:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.