Hello,

I plan to show this in a block on taxonomy term views pages, and would like to autoexpand the current taxonomy term :) Just like amazon.com

Comments

giorgio79’s picture

Hmm, just tested it in a sidebar, as a block, but it was not showing hierarchies. I guess this has more to do with the theme though. Would be nice if it would be out of the box though, sg like http://drupal.org/project/taxonomyblocks

indytechcook’s picture

giorgio79. Version 3 doesn't actually create a menu yet :) The only working part is the UI. I'm getting closer to finishing V3. It will appear in blocks when complete.

giorgio79’s picture

Status: Active » Postponed

Thanks Indy, I did manage to show it in a block for version 2, it is just that hierarchies were not appearing, and it was shown all in one list. I guess this is a CSS issue though, if taxonomy menu outputs the proper ul lis.

Will set this to postponed. :)

indytechcook’s picture

giorgio, select the "auto-expand" option. This will set the expand option to TRUE on the menu links.

giorgio79’s picture

Thanks Indy, will be checking it out. Would be a sweet feature to specify to auto expand only the current term.

So for example if I have a hierarchy like

auto
-toyota
-suzuki

ship
-big
-small
-tiny

On the front page they should not auto expand like this, only on user action

auto
ship

But on the ship page for example, it could show this:
auto
ship
-big
-small
-tiny

As I understand this is already achievable in part with taxonomy context. Just giving some ideas as this module seems to be the future.

giorgio79’s picture

I have even come up with the possible option name

Auto expand (this already exists)
Auto expand if term matches argument

So instead of auto expanding by default, we do only a smart expansion for the current term if it has children.

giorgio79’s picture

Indy, one more thing, perhaps it helps if I give an example.

Check out the Amazon category pages:
There you can see the current term expanded with it's children, and the terms on the same level as the current one, but without expansion if I remember correctly :)

summit’s picture

Version: 6.x-3.x-dev » 6.x-1.x-dev

Hi,

I am in need of this feature also, only expanding current term :) Set it to 6.x-1.x-dev if thats ok.
greetings, Martijn

summit’s picture

Status: Postponed » Active

Set to active.
Need to have feature between:
- Not expanding
- Auto expanding.

I think the right name will be: "Autoexpand active term".

Thanks a lot in advance for looking into this!

EDIT: May be this is a duplicate of the "old" issue on: http://drupal.org/node/426304#comment-2068616

Neil, May be have a look into the taxonomy_context vocabulary block building. This has exactly the wanted behaviour: "Autoexpand active item".

greetings,
Martijn

summit’s picture

Hi, I think I found something....
When the url alias is not the same as the url which is the end_url shown for the term, the menu is NOT expaning.
When the url alias is exactly the same as the target url which is build from taxonomy_menu the menu is expaning correctly.
May be you guys can do something with this information?

Greetings,
Martijn

jphelan’s picture

Anybody got this to work or know the magic settings? I've been messing with this for hours and can't get to expand an active terms children.

dstol’s picture

Issue summary: View changes
Status: Active » Postponed
dstol’s picture

Status: Postponed » Closed (outdated)

The Drupal 6 version is no longer supported