links only for Last term

fasdalf@fasdalf.ru - January 24, 2009 - 14:26
Project:Taxonomy Filter
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:solotandem
Status:closed
Description

previosly selected terms are lost, so i got terms/1 or term/3 but can't make it to link to term/1,3

#1

solotandem - February 9, 2009 - 18:19

Please provide more detail. Do you have nodes with references to tid = 1 and 3?

#2

artem_sokolov - February 10, 2009 - 15:34

I have the same trouble.

For example, base type of menu shows on page /taxonomy/term/4 (term name: "Photo") the following menu:

Genre
    * +Figurative(1)
    * +Landscape(1)
Style
    * +Realism(1)
Technique
    * +Digital print(1)

However, the menu items link to urls of this style /taxonomy/term/tid, instead of /taxonomy/term/4,tid.

Nodes termed with several terms do exist and are correctly counted in brackets.

#3

artem_sokolov - February 10, 2009 - 16:21

I found that the actual code to output a menu item is <a href="/en/taxonomy/term/4,12">+</a><a href="/en/taxonomy/term/12">Figurative</a>(1)
Note the correct (multiple) active link on the plus sign.

Is it an intended behavior?

#4

styro - February 10, 2009 - 21:02
Status:active» by design

That is the intended behaviour when the tf_multi submodule is enabled.

tf_multi adds +/- links for adding or subtracting terms, and the term name changes to a link to just that term. The UI was based a previous UI that del.icio.us used (they have since moved to a newer dynamic one).

I considered making the term links either add or subtract, but it seemed less obvious what each link would do and there were existing sites that made use of the +/- so I went that way.

Note: from the known issues in the README.txt - tf_multi and tf_count don't work that well together. Although - moving to a single link for each term would probably make that issue easier to solve.

#5

solotandem - April 29, 2009 - 01:28
Assigned to:Anonymous» solotandem
Status:by design» needs review

Download tonight's dev release (see #447896: Change base menu template to display a refine search block and show the current search criteria) and post back whether this works as you expect. Use the base menu template, enable the tf_multi module, and also enable the tf_count module to display the counts. You will get a new display at the top of the page that shows the current search criteria. Let me know if this is useful for you or if it you would prefer it be optional.

Also, the '+' link and the criteria name link now do the same thing (I intend to make this into one link with the '+' sign text set in the admin settings page.)

Let me know if this change works for you or how we need to modify it.

#6

solotandem - May 12, 2009 - 05:35
Status:needs review» fixed

In tonight's dev release, the terms associated with the '+' and the term name are configurable in the settings. Now you can have a single link like '+My term' which is a cumulative term link (e.g. taxonomy/term/1,2,3,4). You can also use two links (as it was before) where the '+' link is cumulative and the term name link is not. The latter was the only behavior previously.

#7

System Message - May 26, 2009 - 05:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.