Hi,
I am using panels2 with great pleasure, and just found out how to add the term description to a taxonomy/term panel through term context. It is working fine and now the term description is shown on my altered term panel.
Would it be possible to also show the term image this way please?
Now I can only show the taxonomy image on the standard taxonomy/term pages and full node pages. I would love to be able to have the term image like the term description be available through the panels2 term context. This way a whole new layer of flexibility will be implemented!
Thanks a lot in advance for considering this request!
Greetings,
Martijn
www.wintersport-accommodaties.nl
Comment | File | Size | Author |
---|---|---|---|
#20 | taxonomy-image-panels-368541-20.patch | 7.02 KB | rho_ |
#19 | taxonomy_image.txt | 1.21 KB | restyler |
Comments
Comment #1
NancyDruMartijn, I do not have Panels, so I have no way implementing this. Nor do I have the time to learn Panels.
Comment #2
Summit CreditAttribution: Summit commentedHi Nancy,
I understand. I have a panel with the name gebied-info (area info in english). See http://www.wintersport-accommodaties.nl/gebied-info/Zillertal+Arena
The term is Zillertal+Arena.
The term description is: Zillertal Arena skigebied in Oostenrijk
It would already be great to be able to have taxonomy_image to show as field in a view. Would that may be be possible?
Than I can plot the view-block on the panel, and I am ok then!
thanks a lot in advance for considering this Nancy!
Greetings,
Martijn
Comment #3
NancyDruViews support is already there.
Comment #4
NancyDruI may work on Panels support in 6.x, but, I am sorry, I'm not going to invest that effort for 5.x. If someone wishes to submit a patch, I will consider it.
Comment #5
Summit CreditAttribution: Summit commentedHi Nancy,
I need to get www.wintersport-accommodaties.nl this year to D6, so D6 support would be sufficient.
Setting this to D6 then. Panels 6 will work completely different because of Chaos tools integration though, but to get taxonomy image as taxonomy description in panels 6 will be great!
Greetings,
Martijn
Comment #6
NancyDruWell, I've been asked to work on a new site where Panels may help, so I may have to learn it.
Comment #7
Summit CreditAttribution: Summit commentedHi Nancy,
Would be great for panels 3 (ctools/delegator) supporting taxonomy_image in taxonomytermid/termname context!
Greetings,
Martijn
Comment #8
NancyDruThe site I am working on is Panels 2 - I do not have any test sites with Panels 3. Why is it not working? Are there error messages?
Comment #9
Summit CreditAttribution: Summit commentedNo error messages, but I seem not be able to get the taxonomy_image related to taxonomy context on a panel-pane. True?
I urge you NOT to proceed panels 2, because Earl has said that panels 2 will not be further developed. Panels 3 is the way to go!
It has a better user-interface already for adding panels-panes, and is more generic than panels2. And I had bugs with panels 2, which will not be easily resolved.
So its just an advice, but panels 2 development seems stopped!
Greetings,
Martijn
Comment #10
Summit CreditAttribution: Summit commentedHI Nancy, read here instruction of Earl himself about this: http://drupal.org/node/444728#comment-1518892
greetings,
Martijn
Comment #11
NancyDruFrankly, I think that's hogwash, but I will look into it.
As for going to Panels 3 on that site: Given that it is a 5.x site and very heavily used, it is unlikely that such an update will be considered soon.
Comment #12
NancyDruThe instructions are fine - as an overview. But I haven't the foggiest idea how to actually do something with them given that I do not use Panels as a developer. And I fail to see why Panels has a need to make a core feature so difficult. If a term is displayed, it should get overridden by TI period. Why on earth should a taxonomy term all of a sudden become a "content type?"
Comment #13
dafederHe's not talking about CCK content types. In the panels interface, "content" is the tab where you add content areas to your panel. Modules need to provide content to panels to show up in the list of types of panels content.
This is very easy to do with things as they are, though, by creating a simple view with a panels pane display, that takes its argument from the panel.
Comment #14
baff CreditAttribution: baff commentedsubscribe
Comment #15
NancyDruI still do not use Panels, and don't see that changing any time soon.
Comment #16
baff CreditAttribution: baff commentedOK - thanks!
Comment #17
baff CreditAttribution: baff commentedComment #18
NancyDruLet's leave this open in case someone has a patch. Just because I don't use it doesn't there aren't others who do.
Comment #19
restyler CreditAttribution: restyler commentedHere is the php code of the taxonomy image Panels 3 plugin, my module name which registers this plugin was 'site_helper',
so in 'site_helper.module' I have:
and in /plugins/content_types folder (inside 'site_helper' module folder) put 'taxonomy_image.inc' - attached (don't forget to rename .txt to .inc).
taxonomy image module maintainer should replace all 'site_helper' entries to 'taxonomy_image', obviously.
Comment #20
rho_ CreditAttribution: rho_ commentedThanks restyler, it works great!
Went ahead and made the necessary changes and rolled this into a patch for the 6.x-1.x-dev version of Taxonomy Image module.
Comment #21
NancyDruThanks to both of you. I'm still not a big fan of Panels, but, thanks to my last gig, at least I know how to use it now.
Comment #22
patrickroma CreditAttribution: patrickroma commentedSo, what I made was:
Took taxonomy_image.txt and renamed it to taxonomy_image.inc. This file I put into ctools/plugins/content_types/taxonomy_image. I opened the file and changed all site_helper into taxonomy_image. I added the patch to Taxonomy Image 6.x-1.x-dev...
Now the taxonomy image is shown in the panels backend... but doesn't load in the taxonomy-term-page where it is enabled?
Any clues? Did I something wrong?
EDIT: What I am trying to do is to insert the taxonomy image pane into a taxonomy/term/%term panel override... so that dynamically the taxonomy image for the actual term listing is shown...