Comments

zarudnyi’s picture

It would be wonderful.

Oleksandr.Masovets’s picture

StatusFileSize
new15.87 KB

I've ported the TVI module to Drupal 7.

The archive in attachment.

simg’s picture

Hey thanks Krasnyj.
I need this module to work on Drupal 7 (like yesterday :) ), so I'm working your code. There seem to be a lot of bugs (at least in my installation) which I'm working through and fixing. Hope to be able to post some updated (and fixed) code later today.

simg’s picture

just an update, haven't made as much progress as I would have liked. essentially krasnyj's version doesn't work at all for me. I've done quite a bit of bug fixing but there is still more to do. I'm under quite a bit of pressure on my current project(s) so I've taken a break from this module for a while. I also have ideas to achieve the same goal (ie different views per taxonomy term) via different and simpler method.

happy to share my code so far if anyone wants it - but it still has my debug code in it.

simg’s picture

Incidently, I have now solved this problem (the ability to have different views for different taxonomy terms) in a much simpler and (to me) more intuitive way. I'm just waiting on getting my cvs access approved and i'll be publishing my module.

in the meantime, if anyone is interested in this issue, either contact me through my drupal.org profile or leave a comment on this thread and I'll share my code.

Tim Jones Toronto’s picture

Hello Simon - I am testing Views 3 on D7 with a variety of taxonomy concepts/ideas (to see what can be achieved).

I would be interested at looking at what you have done (if it is not too much trouble?).

Thanks for your support!

Tim

simg’s picture

StatusFileSize
new9.26 KB

Hi Tim. Module attached ...
The docs are a bit rough and ready, but hopefully you can work it out.

kruser’s picture

Subscribe, I'm hoping for a D7 port of the TVI module since I use it a lot.

iztok’s picture

Sub.

Tim Jones Toronto’s picture

Thanks a lot Simon - will give it a spin :)

electblake’s picture

The attached D7 port doesn't seem to be working for me, the hook_menu_alter doesn't get tvi_render_view in there properly (at least as far as I can tell)

Update: I've got a basic working copy going (started from attached above) - hopefully we can get it added here properly (although, the last commit was 37 weeks ago)...

I've messaged orange about this and hopefully (s)he will get back to us soon'ish - let me tidy this up a bit more and then I'll attach for some testing.

electblake’s picture

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

I've uploaded the start of my port - I'll be cleaning it out but it should show up as a -dev release soon.

UPDATE: 7.x is released, please try it out and file bugs against it specifically (and I expect there will be plenty) use it at own risk and please realize it's not ready for production "unless you're comfortable submitting bugs/patches for it" :D

ConradFlashback’s picture

Subscribe.
Thanks

basicmagic.net’s picture

subscribe

basicmagic.net’s picture

this http://drupal.org/node/1028138#comment-4131080

worked perfectly for me, except for one detail-
page titles for the views for the override terms displays are missing...

they are also missing on the default taxonomy view, switch/taxonomy/term/%

please advise if you can-
i love this lightweight but powerful way to reroute taxonomy to different views-

its clean and easy to setup, simple and clear...
i followed the readme and it worked fine, for all kinds of terms and views, easy

just need to get the page titles going somehow and this will be awesome...

thanks-

vincent, in buffalo
http://basicmagic.net

ps- using the latest dev versions of ctools and views
Chaos tool suite 7.x-1.x-dev (2011-Mar-23)
Date 7.x-2.x-dev (2011-Mar-23)

simg’s picture

StatusFileSize
new8.4 KB

Hi Vincent,

Maybe it's true what they say about flattery getting you everywhere ...

Attached is my latest version of taxonomy_views_switcher that fixes the missing title issue and also allows the ability to understand a path like "switch/vid/3" to match the entirety of vocabulary 3.

I've also removed the need for the path to end in % (as it isn't actually necessary).

Apologies to the tvi developers for hi-jacking this post, when I get a few minutes I'll set up a taxonomy_view_switcher experimental project in git.

Enjoy :)

basicmagic.net’s picture

ok great, thanks much

trying to test the new version-
but can't seem to get it to be recognized on the /modules page to install it

i have done a totally clean, bare metal uninstall of the prior version- twice-
and also checked the db, no signs of it

i compared the .info file from the original version you provided to the new one-
it seems identical

obviously i see there are some diffs in the new .module file...
please scope this out and see what you think might be the issue?

thanks again- really psyched about this approach / module and the recent improvements you made-
looking fwd to seeing in action.

vincent, in buffalo
http://basicmagic.net

basicmagic.net’s picture

Title: Drupal 7 port? » trying to test the new version- but can't seem to install/enable it... it was in modules / other before... now its not there

ok great, thanks much

trying to test the new version-
but can't seem to get it to be recognized on the /modules page to install it

i have done a totally clean, bare metal uninstall of the prior version- twice-
and also checked the db, no signs of it

i compared the .info file from the original version you provided to the new one-
it seems identical

obviously i see there are some diffs in the new .module file...
please scope this out and see what you think might be the issue?

thanks again- really psyched about this approach / module and the recent improvements you made-
looking fwd to seeing in action.

vincent, in buffalo
http://basicmagic.net

simg’s picture

Title: trying to test the new version- but can't seem to install/enable it... it was in modules / other before... now its not there » Drupal 7 port

Apologies to tvi devs. Have created a project and issue to discuss taxonomy_views_switcher here:

http://drupal.org/node/1106948

TripX’s picture

TVI for d7 is not finished, yah? Unfortunately it doesn't overtake the display view at terms and vocabularies.

But seemly/hopefully the switcher module is the follower. I'm testing the version from Feb-25 at the moment.

electblake’s picture

D7-dev does work but no - it is not finished. If you want to try it out and see how stable it is for your own project then please see the issue created here for the primary bug holding D7 back (and the work-around to get it working in the interim)

http://drupal.org/node/1107972

p.s. likely due to the lack of D7 TVI support, but - there are a bunch of other modules that have popped up to fill this gap. I'll be looking at these and either abandoning TVI work in favour of theirs, or approaching them for inclusion here.

simg’s picture

one problem I had with tvi (which is one of the reasons I developed an alternative) is that it changes the taxonomy user interface to handle the mapping from terms to views.

taxonomy management is a content authoring function and mapping terms to views is a site building function (ie two different job roles).

I had a go at converting tvi to D7 but gave up, but during my attempt added a "can set tvi mappings" permission, mainly so that I could hide this (more complex) functionality from content authors.

TripX’s picture

simg, actually I'm using your module (taxonomy view switcher) and it fulfills the needs and usecase of this module and works fine too.

TimelessDomain’s picture

Switched to Taxonomy Display https://drupal.org/project/taxonomy_display instead. It provides all the features of TVI & more! Including integration with Display Suite

goofrider’s picture

sub

sun.core’s picture

Issue tags: +Needs tests
Taxoman’s picture

Category: support » task
Status: Active » Fixed

Status: Fixed » Closed (fixed)
Issue tags: -Needs tests

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