Closed (fixed)
Project:
Views Tagadelic
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2007 at 03:21 UTC
Updated:
27 Jan 2011 at 12:54 UTC
is it possible for the landing page for the terms in the could to be a view itself? so when a term is clicked out you could be taken to a sortable list?
Comments
Comment #1
douggreen commentedYou have two options:
Comment #2
patchak commentedI'd also like to redirect terms to a custom destination of my choice. With the same term argument added at the end. Would you mind please give a little more details on how I could redirect the terms? You mentionned something about theme_tagadelic_weighted, would you mind explaining a little but how to implement this?
Thanks
Comment #3
douggreen commentedSee Drupal Issue Question and Answer #138699
Comment #4
patchak commentedHey there,
Thanks for the link, I read the 3 scenarios, and I'm afraid that not any of them really suits what I need to do.
I want to override the link destination of one view only. Not for a whole vocab, but only for a specific view. I created a view that pulls out allthe tags used by user/X (as the arg for the view) and I then display those tags as a tagcloud using your module. The thing is I want to use that tag cloud to actually point the link to a special view I would use which is a view where the first argument is the userID and the second is the TID.
So when clicking on any term outputted by the view, the visitor would see a display of all nodes that have the tag and that were added by the user who's profile page the visitor is looking at.
So for example, I use a country vocab, and when going to a user's page, I click on Bolivia, I would see all content added by that user under the country Bolivia.
For this it seems to me I need to override only that specific view, and not the whole vocab, since when you browse on the site, and click Bolivia, you obvioulsy want to see all content tagged Bolivia.
So I guess my question is: how can I override a single view so that I can hiack the term links and make them point where I want, but without having to redirect the whole vocab??
Thanks
Comment #5
owen barton commentedYes - you can do what you need using Option 3 - theming _just_ the links in the tag cloud to point to your alternate views listing URL.
Comment #6
patchak commentedHi again,
Sorry for being dense about this issue but :
I don't see how adding this code could override only for one view?? Wehre do I actually tell this code what view it needs to change??
Thanks for your help!
Patchak
Comment #7
douggreen commentedI've added a second level of theming to allow you to catch the view. Checkout the latest module (1.1.2.1) and override theme_tagadelic_views($tags, $view).
Comment #8
druvision commentedAnother strategy which I've found useful is to use pathauto to bulk modify the URLs of existing category pages.
Advantages: No need for coding - relies on the standard taxonomy mechanism - and great for SEO.
Amnon
-
Professional: Drupal Israel | Drupal Development & Consulting | בניית אתרים
Personal: Hitech Dolphin: Regain Simple Joy :)
Comment #9
marcoBauli commentedhi queue,
i'm actually looking to override different Tagadelic views differently too.
@patchak: can i ask if you did get there in the end, and eventually how?
@douggreen: would you mind elaborate #7 if you find the time?
thanks for any light you might shred
EDIT: just in case someone else might be interested, the use case is the following:
SETUP:
. 3 content types (resources, articles, tips) and 3 corresponding site sections
. 1 freetagging vocabulary applied to all 3 types
USE CASE:
. display a tag cloud on each section showing *only* terms for that relative content type
. each term links to a view that shows *only* content of that specific type, tagged with that specific term
Comment #10
douggreen commentedi'm closing the issue, others are free to add comments, but I won't be able to "find the time" to elaborate any more, sorry :(
Comment #11
marcoBauli commentedhere's the right way to obtain what i was looking for above in case someone else is interested:
Comment #12
olafke commentedHi,
I had the same problem, used the theme hoook theme_tagadelic_weighted from the tagadelic.module and the theme_tagadelic_views from the tagadelic_views.module and it worked perfectly fine for me.
The code goes into the template.php . For details view the comments in the code
Comment #13
momper commentedsubscribe